Last change
on this file since 1895 was
1879,
checked in by patrick, 21 years ago
|
orxonox/trunk: perspective view, key-repeat bug fixed
|
File size:
1.0 KB
|
Line | |
---|
1 | |
---|
2 | |
---|
3 | |
---|
4 | #ifndef ORXONOX_H |
---|
5 | #define ORXONOX_H |
---|
6 | |
---|
7 | /* standard headers */ |
---|
8 | #include <iostream> |
---|
9 | #include <cstdio> |
---|
10 | |
---|
11 | /* openGL Headers */ |
---|
12 | #include <GL/glut.h> |
---|
13 | |
---|
14 | #include "world.h" |
---|
15 | #include "input_output.h" |
---|
16 | #include "data_tank.h" |
---|
17 | #include "stdincl.h" |
---|
18 | |
---|
19 | |
---|
20 | |
---|
21 | class Orxonox { |
---|
22 | |
---|
23 | private: |
---|
24 | static Orxonox* singleton_ref; |
---|
25 | Orxonox (); |
---|
26 | ~Orxonox (); |
---|
27 | static World* world; |
---|
28 | static InputOutput* io; |
---|
29 | static bool pause; |
---|
30 | static bool upWeGo; |
---|
31 | static bool downWeGo; |
---|
32 | static bool rightWeGo; |
---|
33 | static bool leftWeGo; |
---|
34 | |
---|
35 | static int alpha; |
---|
36 | static int beta; |
---|
37 | static int offsetX; |
---|
38 | static int offsetY; |
---|
39 | |
---|
40 | public: |
---|
41 | |
---|
42 | static Orxonox* getInstance (void); |
---|
43 | |
---|
44 | int globalInit (int argc, char** argv); |
---|
45 | int menuInit (void); |
---|
46 | int gameInit (void); |
---|
47 | void testTheShit(void); |
---|
48 | static void display (void); |
---|
49 | static void continousRedraw(void); |
---|
50 | static void reshape (int w, int h); |
---|
51 | static void keyboard(unsigned char key, int x, int y); |
---|
52 | static void releaseKey(int key, int x, int y); |
---|
53 | static void specFunc(int key, int x, int y); |
---|
54 | static void quitGame(void); |
---|
55 | }; |
---|
56 | |
---|
57 | #endif |
---|
58 | |
---|
Note: See
TracBrowser
for help on using the repository browser.