Changeset 3238 in orxonox.OLD for orxonox/branches/sound/src/orxonox.h
- Timestamp:
- Dec 20, 2004, 2:42:54 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/sound/src/orxonox.h
r2636 r3238 4 4 */ 5 5 6 #ifndef ORXONOX_H 7 #define ORXONOX_H 8 9 #include <SDL/SDL.h> 6 #ifndef _ORXONOX_H 7 #define _ORXONOX_H 10 8 11 9 #include "stdincl.h" … … 24 22 25 23 private: 26 static Orxonox* singleton _ref;24 static Orxonox* singletonRef; 27 25 Orxonox (); 28 26 ~Orxonox (); … … 40 38 Uint32 lastframe; 41 39 42 void get _config_file (int argc, char** argv);40 void getConfigFile (int argc, char** argv); 43 41 44 42 // main loop functions 45 void synchronize ();46 void handle_input ();47 void time_slice ();48 void collision ();49 void display ();43 // void synchronize (); 44 //void handle_input (); 45 //void time_slice (); 46 //void collision (); 47 //void display (); 50 48 51 49 // subsystem initialization 52 int init _video ();53 int init _sound ();54 int init _input ();55 int init _networking ();56 int init _resources ();57 int init _world ();50 int initVideo (); 51 int initSound (); 52 int initInput (); 53 int initNetworking (); 54 int initResources (); 55 int initWorld (); 58 56 59 57 public: … … 62 60 void quitGame(); 63 61 64 void event _handler (SDL_Event* event);65 bool system _command (Command* cmd);62 void eventHandler (SDL_Event* event); 63 bool systemCommand (Command* cmd); 66 64 67 65 int init (int argc, char** argv); 68 66 69 CommandNode* get _localinput();70 Camera* get _camera();71 World* get _world();67 CommandNode* getLocalInput(); 68 Camera* getCamera(); 69 World* getWorld(); 72 70 73 void mainLoop();71 //void mainLoop(); 74 72 }; 75 73 76 #endif 74 #endif /* _ORXONOX_H */ 77 75
Note: See TracChangeset
for help on using the changeset viewer.