summaryrefslogtreecommitdiffstats
path: root/sdl/platform.h
blob: 3428a90cc7f2999348cd26d8220c615c7dc13bee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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