Changeset 3746 in orxonox.OLD for orxonox/branches/levelloader/src/game_loader.cc
- Timestamp:
- Apr 7, 2005, 3:54:49 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/levelloader/src/game_loader.cc
r3557 r3746 25 25 #include "vector.h" 26 26 #include "factory.h" 27 #include "debug.h" 27 28 28 29 #include <string.h> … … 89 90 switch(campaignID) 90 91 { 91 // Debug Level 0: Debug level used to test the base frame work. 92 /* 93 Debug Level 0: Debug level used to test the base frame work. 94 As you can see, all storyentity data is allocated before game 95 start. the storyentity will load themselfs shortly before start 96 through the StoryEntity::init() funtion. 97 */ 92 98 case DEBUG_CAMPAIGN_0: 93 99 { … … 99 105 100 106 World* world1 = new World(DEBUG_WORLD_1); 101 world1->setNextStoryID(WORLD_ID_ GAMEEND);107 world1->setNextStoryID(WORLD_ID_2); 102 108 debugCampaign->addEntity(world1, WORLD_ID_1); 109 110 World* world2 = new World(DEBUG_WORLD_2); 111 world2->setNextStoryID(WORLD_ID_GAMEEND); 112 debugCampaign->addEntity(world2, WORLD_ID_2); 103 113 104 114 this->currentCampaign = debugCampaign;
Note: See TracChangeset
for help on using the changeset viewer.