diff options
Diffstat (limited to 'sdl/platform.h')
-rw-r--r-- | sdl/platform.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sdl/platform.h b/sdl/platform.h new file mode 100644 index 0000000..3428a90 --- /dev/null +++ b/sdl/platform.h @@ -0,0 +1,21 @@ +#ifndef _PLATFORM_H_ +#define _PLATFORM_H_ + +#define FRAMES_PER_SECOND 60 + +extern GLfloat fNoLight[]; +extern GLfloat fLowLight[]; +extern GLfloat fBrightLight[]; + +extern GLfloat whiteLight[]; +extern GLfloat sourceLight[]; +extern GLfloat lightPos[]; + +/* function prototypes */ +void setup_opengl(void); +void setup_sdl(void); +void setup_glew(void); +extern void fps_control(unsigned int); + +#endif + |