Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4445 in orxonox.OLD for orxonox/trunk/src/orxonox.h


Ignore:
Timestamp:
Jun 1, 2005, 10:30:26 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: cleaned up the orxonox class: removed all unused variables and functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/orxonox.h

    r4442 r4445  
    77#define _ORXONOX_H
    88
    9 #include "comincl.h"
    109#include "glincl.h"
    1110#include "event_listener.h"
     11
    1212
    1313
     
    2626class Orxonox : public EventListener {
    2727
     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
    2847 private:
    2948  static Orxonox* singletonRef;
     
    3150
    3251  char configfilename[256];   //!< Filename of the configuration-file.
    33   World* world;               //!< Reference to the current running world.
    34   SDL_Surface* screen;        //!< The current Screen
    3552  GameLoader* gameLoader;     //!< The gameLoader
    3653  ResourceManager* resourceManager; //!< The ResourceManager
     
    4663 
    4764  void getConfigFile (int argc, char** argv);
    48  
    49   // subsystem initialization
    50   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 ();
    6065
    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);
    6866 
    6967
    70   World* getWorld();
    71   SDL_Surface* getScreen ();
    72  
    73   //void mainLoop();
    7468};
    7569
Note: See TracChangeset for help on using the changeset viewer.