Changeset 2068 in orxonox.OLD for orxonox/branches/chris/src/orxonox.h
- Timestamp:
- Jul 5, 2004, 10:43:49 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/chris/src/orxonox.h
r2058 r2068 6 6 7 7 class World; 8 class InputOutput;9 class Player;10 11 8 12 9 class Orxonox { … … 16 13 Orxonox (); 17 14 ~Orxonox (); 15 16 static char configfilename[256]; 18 17 static World* world; 19 static InputOutput* io; 20 static Player* localPlayer; 18 static DataTank* resources; 19 static CommandNode* localinput; 20 static Camera* localcamera; 21 static SDL_Surface* screen; 22 21 23 static bool bQuitOrxonox; 22 24 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; 25 static Uint32 lastframe; 30 26 31 static int alpha; 32 static int beta; 33 static int offsetX; 34 static int offsetY; 27 static void get_config_file (int argc, char** argv); 28 29 // main loop functions 30 static void synchronize (); 31 static void handle_input (); 32 static void time_slice (); 33 static void collision (); 34 static void display (); 35 36 // subsystem initialization 37 int init_video (); 38 int init_sound (); 39 int init_input (); 40 int init_networking (); 41 int init_resources (); 42 int init_world (); 35 43 36 static void timeSlice(int value); 37 38 static SDL_Surface* screen; 44 static void event_handler (SDL_Event* event); 39 45 40 46 public: 41 static Orxonox* getInstance (void); 47 static Orxonox* getInstance (); 48 static void quitGame(); 42 49 43 int globalInit (int argc, char** argv); 44 int menuInit (void); 45 int gameInit (void); 46 50 int init (int argc, char** argv); 51 52 Camera* get_camera(); 53 World* get_world(); 54 47 55 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 56 }; 59 57
Note: See TracChangeset
for help on using the changeset viewer.