1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/games/glasteroids/files/patch-ac
Chris D. Faulhaber e94fcf41dc 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>
1999-12-23 21:39:31 +00:00

22 lines
441 B
Plaintext

--- 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 );