Changeset 6122 in orxonox.OLD for branches/objectmanager/src
- Timestamp:
- Dec 15, 2005, 1:47:28 AM (19 years ago)
- Location:
- branches/objectmanager/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/objectmanager/src/util/object_manager.cc
r6121 r6122 133 133 if (omList != OM_INIT || omList == OM_SIZE) 134 134 { 135 PRINT(0)(" +ObjectManager-LIST: '%s'-size='%d'-----\n", ObjectManager::OMListToString((OM_LIST) 135 PRINT(0)(" +ObjectManager-LIST: '%s'-size='%d'-----\n", ObjectManager::OMListToString((OM_LIST)omList), this->objectLists[omList].size()); 136 136 if (level > 1) 137 137 { … … 178 178 return "===invalid==="; 179 179 180 printf("%d\n", omList); 180 181 return ObjectManager::objectManagerListNames[omList]; 181 182 } … … 205 206 "null", 206 207 "dead", 207 "dead-tick" 208 "dead-tick", 208 209 "environ-notick", 209 210 "environ", -
branches/objectmanager/src/world_entities/skysphere.cc
r5511 r6122 42 42 { 43 43 this->setClassID(CL_SKYSPHERE, "SkySphere"); 44 44 this->toList(OM_ENVIRON_NOTICK); 45 45 if (fileName == NULL) 46 46 this->initialize("pictures/sky-replace.jpg"); -
branches/objectmanager/src/world_entities/terrain.cc
r6022 r6122 93 93 { 94 94 this->setClassID(CL_TERRAIN, "Terrain"); 95 this->toList(OM_ENVIRON_NOTICK); 95 96 96 97 this->objectList = 0; -
branches/objectmanager/src/world_entities/test_entity.cc
r5994 r6122 33 33 { 34 34 this->setClassID(CL_TEST_ENTITY, "TestEntity"); 35 // TO SOME LIST!! 35 36 36 37 this->md2Model = new MD2Model("models/droidika.md2", "models/droideka.pcx"); -
branches/objectmanager/src/world_entities/world_entity.cc
r6121 r6122 188 188 * this is the same as a call to State::getObjectManager()->toList(entity , list); 189 189 * directly, but with an easier interface. 190 * 191 * @todo inline this (peut etre) 190 192 */ 191 193 void WorldEntity::toList(OM_LIST list)
Note: See TracChangeset
for help on using the changeset viewer.