summaryrefslogtreecommitdiff
path: root/games/glasteroids/files/patch-ac
diff options
context:
space:
mode:
authorChris D. Faulhaber <jedgar@FreeBSD.org>1999-12-23 21:39:31 +0000
committerChris D. Faulhaber <jedgar@FreeBSD.org>1999-12-23 21:39:31 +0000
commite94fcf41dc2290be374eb5734ff7e2a0b64624b6 (patch)
tree29ef29707aa13c9190ce729326b784a20aa48236 /games/glasteroids/files/patch-ac
parentTurn some spaces into tabs. (diff)
This is a port of glasteroids-1.0, 3D Asteroids game clone for
X Window System. The goal is simple: Don't get killed. PR: 13267 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
Notes
Notes: svn path=/head/; revision=23939
Diffstat (limited to 'games/glasteroids/files/patch-ac')
-rw-r--r--games/glasteroids/files/patch-ac21
1 files changed, 21 insertions, 0 deletions
diff --git a/games/glasteroids/files/patch-ac b/games/glasteroids/files/patch-ac
new file mode 100644
index 000000000000..7585e82d0362
--- /dev/null
+++ b/games/glasteroids/files/patch-ac
@@ -0,0 +1,21 @@
+--- Glasteroids.cxx Thu Aug 12 04:48:58 1999
++++ /home/andy/tmp/wrk/Glasteroids.cxx Tue Aug 17 15:11:12 1999
+@@ -1,5 +1,8 @@
+ #include <stdlib.h>
+ #include <time.h>
++#ifdef __FreeBSD__
++#include <floatingpoint.h>
++#endif
+ #include "Bobcat.h"
+
+ /*
+@@ -75,6 +78,9 @@
+ {
+ BCworld *world;
+
++#ifdef __FreeBSD__
++ fpsetmask(0);
++#endif
+ world = BCgetWorld ( );
+
+ world->InitWorld ( argc, argv,"Glasteroids", 640, 480, 100 );