Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/core/orxonox.h @ 1914

Last change on this file since 1914 was 1900, checked in by patrick, 21 years ago

orxonox/trunk: hardware independant game speed, more shoots, more speed - see mail

File size: 1.2 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
15#include "environment.h"
16#include "world.h"
17#include "input_output.h"
18#include "data_tank.h"
19#include "stdincl.h"
20#include "player.h"
21
22
23class Orxonox {
24
25 private:
26  static Orxonox* singleton_ref;
27  Orxonox ();
28  ~Orxonox ();
29  static World* world;
30  static InputOutput* io;
31  static Player* localPlayer;
32  static bool pause;
33  static bool inputEnabled;
34  static bool upWeGo;
35  static bool downWeGo;
36  static bool rightWeGo;
37  static bool leftWeGo;
38  static bool shoot1;
39  static int fps;
40
41  static int alpha;
42  static int beta;
43  static int offsetX;
44  static int offsetY;
45
46  static void timeSlice(int value);
47
48 public:
49
50  static Orxonox* getInstance (void);
51
52  int globalInit (int argc, char** argv);
53  int menuInit (void);
54  int gameInit (void);
55  void testTheShit(void);
56  static void display (void);
57  static void continousRedraw(void);
58  static void reshape (int w, int h);
59  static void keyboard(unsigned char key, int x, int y);
60  static void upKeyboard(unsigned char key, int x, int y);
61  static void releaseKey(int key, int x, int y);
62  static void specFunc(int key, int x, int y);
63  static void quitGame(void); 
64};
65
66#endif
67
Note: See TracBrowser for help on using the repository browser.