PyroTechnics is a simple OpenGL-based firework simulator. Features -------- o a bunch of nifty kinds of fireworks o the ability to choreograph firework displays o a texture-mapped water surface o reflections in the water o fogging o a moving camera o the ability to save screenshots WWW: http://nostatic.org/pyro/pyro.html PR: ports/85842 Submitted by: Igor Pokrovsky <ip@doom.homeunix.org>
32 lines
516 B
C
32 lines
516 B
C
--- pyro.c.orig
|
|
+++ pyro.c
|
|
@@ -7,15 +7,18 @@
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
+#include <string.h>
|
|
#include <math.h>
|
|
#ifdef __EMX__ /*os2*/
|
|
#include "float.h"
|
|
#endif
|
|
#include <time.h>
|
|
|
|
+/*
|
|
#ifdef XMESA
|
|
#include <GL/xmesa.h>
|
|
#endif
|
|
+*/
|
|
|
|
#include <GL/glut.h>
|
|
#include "pyro.h"
|
|
@@ -704,8 +707,9 @@
|
|
if(fxwin)
|
|
glutReshapeWindow(ScreenWidth,ScreenHeight);
|
|
else glutFullScreen();
|
|
-
|
|
+/*
|
|
XMesaSetFXmode(fxwin ? XMESA_FX_WINDOW:XMESA_FX_FULLSCREEN);
|
|
+*/
|
|
}
|
|
break;
|
|
#endif
|