Changeset 4445 in orxonox.OLD for orxonox/trunk/src/orxonox.h
- Timestamp:
- Jun 1, 2005, 10:30:26 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/orxonox.h
r4442 r4445 7 7 #define _ORXONOX_H 8 8 9 #include "comincl.h"10 9 #include "glincl.h" 11 10 #include "event_listener.h" 11 12 12 13 13 … … 26 26 class Orxonox : public EventListener { 27 27 28 29 public: 30 static Orxonox* getInstance (); 31 virtual ~Orxonox (); 32 int init (int argc, char** argv); 33 34 void start(); 35 void quitGame(); 36 37 void graphicsHandler (SDL_Event* event); 38 void process(const Event &event); 39 40 private: 41 int initVideo (); 42 int initSound (); 43 int initInput (); 44 int initNetworking (); 45 int initResources (); 46 28 47 private: 29 48 static Orxonox* singletonRef; … … 31 50 32 51 char configfilename[256]; //!< Filename of the configuration-file. 33 World* world; //!< Reference to the current running world.34 SDL_Surface* screen; //!< The current Screen35 52 GameLoader* gameLoader; //!< The gameLoader 36 53 ResourceManager* resourceManager; //!< The ResourceManager … … 46 63 47 64 void getConfigFile (int argc, char** argv); 48 49 // subsystem initialization50 int initVideo ();51 int initSound ();52 int initInput ();53 int initNetworking ();54 int initResources ();55 int initWorld ();56 57 public:58 static Orxonox* getInstance ();59 virtual ~Orxonox ();60 65 61 void start();62 void quitGame();63 64 void graphicsHandler (SDL_Event* event);65 void process(const Event &event);66 67 int init (int argc, char** argv);68 66 69 67 70 World* getWorld();71 SDL_Surface* getScreen ();72 73 //void mainLoop();74 68 }; 75 69
Note: See TracChangeset
for help on using the changeset viewer.