Changeset 6404 in orxonox.OLD for branches/network/src/story_entities/single_player_world.cc
- Timestamp:
- Jan 4, 2006, 1:49:20 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/story_entities/single_player_world.cc
r6402 r6404 16 16 17 17 #include "single_player_world.h" 18 #include "single_player_world_data.h" 18 19 19 20 #include "state.h" … … 42 43 43 44 this->loadParams(root); 45 46 this->singlePlayerWorldData = new SinglePlayerWorldData(); 44 47 } 45 48 … … 68 71 } 69 72 70 71 72 73 // ErrorMessage SinglePlayerWorld::load()74 // {75 // static_cast<GameWorld*>(this)->load();76 //77 // /* the the single player specific stuff here */78 //79 // /* some static world entities */80 // for(int i = 0; i < 100; i++)81 // {82 // WorldEntity* tmp = new NPCTest1();83 // char npcChar[10];84 // sprintf (npcChar, "NPC_%d", i);85 // tmp->setName(npcChar);86 // tmp->setAbsCoor(((float)rand()/RAND_MAX) * 5000, 50/*+ (float)rand()/RAND_MAX*20*/, ((float)rand()/RAND_MAX -.5) *30);87 // this->spawn(tmp);88 // }89 // }90
Note: See TracChangeset
for help on using the changeset viewer.