Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 1896 was 1896, checked in by patrick, 20 years ago

orxonox/trunk: added ability to shoot. so check out the new release and shoot the fuck up

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 upWeGo;
34  static bool downWeGo;
35  static bool rightWeGo;
36  static bool leftWeGo;
37  static bool shoot1;
38
39  static int alpha;
40  static int beta;
41  static int offsetX;
42  static int offsetY;
43
44 public:
45
46  static Orxonox* getInstance (void);
47
48  int globalInit (int argc, char** argv);
49  int menuInit (void);
50  int gameInit (void);
51  void testTheShit(void);
52  static void display (void);
53  static void continousRedraw(void);
54  static void reshape (int w, int h);
55  static void keyboard(unsigned char key, int x, int y);
56  static void upKeyboard(unsigned char key, int x, int y);
57  static void releaseKey(int key, int x, int y);
58  static void specFunc(int key, int x, int y);
59  static void quitGame(void); 
60};
61
62#endif
63
Note: See TracBrowser for help on using the repository browser.