Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/orxonox.h @ 2080

Last change on this file since 2080 was 2036, checked in by patrick, 21 years ago

orxonxo/trunk/src: extended framework: class inheritance, right including (had som bugs), framework not finished yet

File size: 1.1 KB
Line 
1
2#ifndef ORXONOX_H
3#define ORXONOX_H
4
5class World;
6class InputOutput;
7class Player;
8
9
10class Orxonox {
11
12 private:
13  static Orxonox* singleton_ref;
14  Orxonox ();
15  ~Orxonox ();
16  static World* world;
17  static InputOutput* io;
18  static Player* localPlayer;
19  static bool pause;
20  static bool inputEnabled;
21  static bool upWeGo;
22  static bool downWeGo;
23  static bool rightWeGo;
24  static bool leftWeGo;
25  static bool shoot1;
26  static int fps;
27
28  static int alpha;
29  static int beta;
30  static int offsetX;
31  static int offsetY;
32
33  static void timeSlice(int value);
34
35 public:
36  static Orxonox* getInstance (void);
37
38  int globalInit (int argc, char** argv);
39  int menuInit (void);
40  int gameInit (void);
41  void testTheShit(void);
42  static void display (void);
43  static void continousRedraw(void);
44  static void reshape (int w, int h);
45  static void keyboard(unsigned char key, int x, int y);
46  static void upKeyboard(unsigned char key, int x, int y);
47  static void releaseKey(int key, int x, int y);
48  static void specFunc(int key, int x, int y);
49  static void quitGame(void); 
50};
51
52#endif
53
Note: See TracBrowser for help on using the repository browser.