Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

/orxonox/trunk: it's smothen now. thanks for the tip bensch. if you have to high frame-rates, the square will move very fast.

File size: 956 bytes
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
21class 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 public:
36
37  static Orxonox* getInstance (void);
38
39  int globalInit (int argc, char** argv);
40  int menuInit (void);
41  int gameInit (void);
42  void testTheShit(void);
43  static void display (void);
44  static void continousRedraw(void);
45  static void reshape (int w, int h);
46  static void keyboard(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.