Last change
on this file since 2064 was
2058,
checked in by chris, 20 years ago
|
orxonox/branches/chris: Trunk remerged into my branch started on SDL reconfiguration
|
File size:
1.2 KB
|
Line | |
---|
1 | |
---|
2 | #ifndef ORXONOX_H |
---|
3 | #define ORXONOX_H |
---|
4 | |
---|
5 | #include <SDL/SDL.h> |
---|
6 | |
---|
7 | class World; |
---|
8 | class InputOutput; |
---|
9 | class Player; |
---|
10 | |
---|
11 | |
---|
12 | class Orxonox { |
---|
13 | |
---|
14 | private: |
---|
15 | static Orxonox* singleton_ref; |
---|
16 | Orxonox (); |
---|
17 | ~Orxonox (); |
---|
18 | static World* world; |
---|
19 | static InputOutput* io; |
---|
20 | static Player* localPlayer; |
---|
21 | static bool bQuitOrxonox; |
---|
22 | static bool pause; |
---|
23 | static bool inputEnabled; |
---|
24 | static bool upWeGo; |
---|
25 | static bool downWeGo; |
---|
26 | static bool rightWeGo; |
---|
27 | static bool leftWeGo; |
---|
28 | static bool shoot1; |
---|
29 | static int fps; |
---|
30 | |
---|
31 | static int alpha; |
---|
32 | static int beta; |
---|
33 | static int offsetX; |
---|
34 | static int offsetY; |
---|
35 | |
---|
36 | static void timeSlice(int value); |
---|
37 | |
---|
38 | static SDL_Surface* screen; |
---|
39 | |
---|
40 | public: |
---|
41 | static Orxonox* getInstance (void); |
---|
42 | |
---|
43 | int globalInit (int argc, char** argv); |
---|
44 | int menuInit (void); |
---|
45 | int gameInit (void); |
---|
46 | |
---|
47 | void mainLoop(); |
---|
48 | |
---|
49 | void testTheShit(void); |
---|
50 | static void display (void); |
---|
51 | static void continousRedraw(void); |
---|
52 | static void reshape (int w, int h); |
---|
53 | static void keyboard(unsigned char key, int x, int y); |
---|
54 | static void upKeyboard(unsigned char key, int x, int y); |
---|
55 | static void releaseKey(int key, int x, int y); |
---|
56 | static void specFunc(int key, int x, int y); |
---|
57 | static void quitGame(void); |
---|
58 | }; |
---|
59 | |
---|
60 | #endif |
---|
61 | |
---|
Note: See
TracBrowser
for help on using the repository browser.