Changeset 9371 in orxonox.OLD for branches/proxy/src/story_entities
- Timestamp:
- Jul 20, 2006, 11:08:16 PM (18 years ago)
- Location:
- branches/proxy/src/story_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/story_entities/game_world_data.cc
r9357 r9371 212 212 BaseObject* created = Factory::fabricate(element); 213 213 if( created != NULL ) 214 PRINTF(4)("Created a %s: %s\n", created->getClass Name(), created->getName());214 PRINTF(4)("Created a %s: %s\n", created->getClassCName(), created->getCName()); 215 215 216 216 //todo do this more elegant -
branches/proxy/src/story_entities/multi_player_world_data.cc
r9357 r9371 129 129 BaseObject* created = Factory::fabricate(element); 130 130 if( created != NULL ) 131 printf("Created a Spawning Point %s: %s\n", created->getClass Name(), created->getName());131 printf("Created a Spawning Point %s: %s\n", created->getClassCName(), created->getCName()); 132 132 133 133 element = element->NextSiblingElement(); … … 155 155 BaseObject* created = Factory::fabricate(element); 156 156 if( created != NULL ) 157 PRINTF(1)("Created a %s: %s (0x%8x) from %s\n", created->getClass Name(), created->getName(), created->getLeafClassID(), element->Value());157 PRINTF(1)("Created a %s: %s (0x%8x) from %s\n", created->getClassCName(), created->getCName(), created->getLeafClassID(), element->Value()); 158 158 else 159 159 PRINTF(1)("NetworkWorld: could not create this entity\n"); … … 186 186 187 187 if( created != NULL ) 188 PRINTF(1)("Created a %s: %s (0x%8x) from %s\n", created->getClass Name(), created->getName(), created->getLeafClassID(), element->Value());188 PRINTF(1)("Created a %s: %s (0x%8x) from %s\n", created->getClassCName(), created->getCName(), created->getLeafClassID(), element->Value()); 189 189 else 190 190 PRINTF(1)("NetworkWorld: could not create this entity\n"); … … 323 323 { 324 324 Playable* p = dynamic_cast<Playable*>(*entity); 325 PRINTF(0)("Got a playable, class: %s, name: %s, uid: %i\n", (*entity)->getClass Name(), (*entity)->getName(), p->getUniqueID());325 PRINTF(0)("Got a playable, class: %s, name: %s, uid: %i\n", (*entity)->getClassCName(), (*entity)->getCName(), p->getUniqueID()); 326 326 } 327 327 … … 346 346 347 347 PNode* cam = State::getCameraTargetNode(); 348 PRINT(0)("Camera has target - class: %s, name: %s, uid: %i\n", cam->getClass Name(), cam->getName(), cam->getUniqueID());348 PRINT(0)("Camera has target - class: %s, name: %s, uid: %i\n", cam->getClassCName(), cam->getCName(), cam->getUniqueID()); 349 349 350 350 PRINT(0)("==================================================\n");
Note: See TracChangeset
for help on using the changeset viewer.