Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
May 2, 2005, 3:14:57 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the levelloader from lltrunktemp to the trunk. Big thanks to fuzzy to make this so easy for us, and for implementing it in the first place.

File:
1 edited

Legend:

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

    r3851 r4010  
    1111#include "story_entity.h"
    1212#include "p_node.h"
    13 
     13#include "xmlparser/tinyxml.h"
    1414
    1515class World;
     
    5757  World (char* name);
    5858  World (int worldID);
     59  World (TiXmlElement* root);
    5960  virtual ~World ();
    6061
     
    7071  virtual ErrorMessage resume ();
    7172  virtual ErrorMessage destroy ();
     73
     74  void loadDebugWorld(int worldID);
    7275
    7376  virtual void displayLoadScreen();
     
    8588             int parentingMode);
    8689
     90  const char* getPath();
     91  void setPath( const char* name);
    8792
    8893 private:
    89   void init(char* name, int worldID);
     94  void constuctorInit(char* name, int worldID);
    9095
    9196  Uint32 lastFrame;                   //!< last time of frame
     
    100105  char* worldName;                    //!< The name of this World
    101106  int debugWorldNr;                   //!< The Debug Nr. needed, if something goes wrong
     107  char* path;                         //!< The file from which this world is loaded
    102108
    103109  PNode* nullParent;                  //!< The zero-point, that everything has as its parent.
Note: See TracChangeset for help on using the changeset viewer.