Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6150 in orxonox.OLD for trunk/src/story_entities/world.h


Ignore:
Timestamp:
Dec 17, 2005, 5:56:25 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: cleanup of the world begin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/story_entities/world.h

    r6142 r6150  
    3232
    3333 public:
    34   World (const char* name);
    35   World (int worldID);
    3634  World (const TiXmlElement* root = NULL);
    3735  virtual ~World ();
     
    5149  virtual ErrorMessage destroy ();
    5250
    53   void loadDebugWorld(int worldID);
    54 
    5551  virtual void displayLoadScreen();
    5652  virtual void releaseLoadScreen();
     
    6157  /* interface to world */
    6258  void spawn (WorldEntity* entity);
    63   void spawn (WorldEntity* entity, Vector* absCoor, Quaternion* absDir);
    64   void spawn(WorldEntity* entity, PNode* parentNode, Vector* relCoor, Quaternion* relDir);
    6559
    6660  /** @param speed sets the speed of the Game */
     
    6862  const char* getPath();
    6963  void setPath( const char* name);
    70 
    71   inline Camera* getLocalCamera() { return this->localCamera; };
    7264
    7365  void togglePNodeVisibility() { this->showPNodes = !this->showPNodes; };
     
    7769  void constuctorInit(const char* name, int worldID);
    7870  /* function for main-loop */
    79   void mainLoop ();
    8071  void synchronize ();
    8172  void handleInput ();
     
    8576  void collide ();
    8677  void draw ();
     78  void mainLoop ();
     79
    8780  void display ();
    8881  void debug ();
    8982
    9083  private:
     84    char* path;                         //!< The file from which this world is loaded
     85
    9186    bool   showPNodes;                  //!< if the PNodes should be visible.
    9287    bool   showBV;                      //!< if the Bounding Volumes should be visible.
     88
    9389    Uint32 lastFrame;                   //!< last time of frame
    9490    Uint32 cycle;                       //!< The cycle we are in (starts with 0 and rises with every frame)
     
    105101    GLMenuImageScreen* glmis;           //!< The Level-Loader Display
    106102
    107     int debugWorldNr;                   //!< The Debug Nr. needed, if something goes wrong
    108     char* path;                         //!< The file from which this world is loaded
    109 
    110103    Shell*     shell;
    111104    OggPlayer* music;
     
    116109    Terrain* terrain;                   //!< The Terrain of the World.
    117110
    118     GLuint objectList;                  //!< temporary: @todo this will be ereased soon
    119 
    120111    Player* localPlayer;                //!< The Player, you fly through the level.
    121112};
Note: See TracChangeset for help on using the changeset viewer.