Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9371 in orxonox.OLD for branches/proxy/src/story_entities


Ignore:
Timestamp:
Jul 20, 2006, 11:08:16 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: ORXONOX is now completely std::stringed

Location:
branches/proxy/src/story_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/story_entities/game_world_data.cc

    r9357 r9371  
    212212      BaseObject* created = Factory::fabricate(element);
    213213      if( created != NULL )
    214         PRINTF(4)("Created a %s: %s\n", created->getClassName(), created->getName());
     214        PRINTF(4)("Created a %s: %s\n", created->getClassCName(), created->getCName());
    215215
    216216      //todo do this more elegant
  • branches/proxy/src/story_entities/multi_player_world_data.cc

    r9357 r9371  
    129129        BaseObject* created = Factory::fabricate(element);
    130130        if( created != NULL )
    131           printf("Created a Spawning Point %s: %s\n", created->getClassName(), created->getName());
     131          printf("Created a Spawning Point %s: %s\n", created->getClassCName(), created->getCName());
    132132
    133133        element = element->NextSiblingElement();
     
    155155        BaseObject* created = Factory::fabricate(element);
    156156        if( created != NULL )
    157           PRINTF(1)("Created a %s: %s (0x%8x) from %s\n", created->getClassName(), 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());
    158158        else
    159159          PRINTF(1)("NetworkWorld: could not create this entity\n");
     
    186186
    187187          if( created != NULL )
    188             PRINTF(1)("Created a %s: %s (0x%8x) from %s\n", created->getClassName(), 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());
    189189          else
    190190            PRINTF(1)("NetworkWorld: could not create this entity\n");
     
    323323  {
    324324    Playable* p = dynamic_cast<Playable*>(*entity);
    325     PRINTF(0)("Got a playable, class: %s, name: %s, uid: %i\n", (*entity)->getClassName(), (*entity)->getName(), p->getUniqueID());
     325    PRINTF(0)("Got a playable, class: %s, name: %s, uid: %i\n", (*entity)->getClassCName(), (*entity)->getCName(), p->getUniqueID());
    326326  }
    327327
     
    346346
    347347  PNode* cam = State::getCameraTargetNode();
    348   PRINT(0)("Camera has target - class: %s, name: %s, uid: %i\n", cam->getClassName(), cam->getName(), cam->getUniqueID());
     348  PRINT(0)("Camera has target - class: %s, name: %s, uid: %i\n", cam->getClassCName(), cam->getCName(), cam->getUniqueID());
    349349
    350350  PRINT(0)("==================================================\n");
Note: See TracChangeset for help on using the changeset viewer.