Changeset 6374 in orxonox.OLD for branches/network/src/story_entities/single_player_world.cc
- Timestamp:
- Dec 31, 2005, 3:53:45 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/story_entities/single_player_world.cc
r6365 r6374 38 38 : GameWorld(root) 39 39 { 40 this->setClassID(CL_SINGLE_PLAYER_WORLD, "SinglePlayerSinglePlayerWorld"); 41 this->setName("SinglePlayerWorld uninitialized"); 42 40 43 this->loadParams(root); 41 44 } … … 51 54 { 52 55 PRINTF(3)("SinglePlayerWorld::~SinglePlayerWorld() - deleting current world\n"); 53 }54 55 56 /**57 * initializes the world.58 * @param name the name of the world59 * @param worldID the ID of this world60 *61 * set all stuff here that is world generic and does not use to much memory62 * because the real init() function StoryEntity::init() will be called63 * shortly before start of the game.64 * since all worlds are initiated/referenced before they will be started.65 * NO LEVEL LOADING HERE - NEVER!66 */67 void SinglePlayerWorld::constuctorInit(const char* name, int worldID)68 {69 this->setClassID(CL_SINGLE_PLAYER_WORLD, "SinglePlayerSinglePlayerWorld");70 this->setName(name);71 72 this->gameTime = 0.0f;73 this->setSpeed(1.0);74 this->music = NULL;75 this->shell = NULL;76 this->localPlayer = NULL;77 this->localCamera = NULL;78 79 this->showPNodes = false;80 this->showBV = false;81 56 } 82 57
Note: See TracChangeset
for help on using the changeset viewer.