Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6412 in orxonox.OLD for branches/network/src/story_entities


Ignore:
Timestamp:
Jan 6, 2006, 1:28:36 PM (19 years ago)
Author:
bensch
Message:

ParamPowerUp is now also loaded correctly

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

Legend:

Unmodified
Added
Removed
  • branches/network/src/story_entities/game_world.cc

    r6409 r6412  
    319319    {
    320320      /* the frame-rate is limited to 100 frames per second, all other things are for nothing. */
    321       PRINTF(0)("fps = 1000 - frame rate is adjusted\n");
     321      //PRINTF(0)("fps = 1000 - frame rate is adjusted\n");
    322322      SDL_Delay(10 - dt);
    323323      this->dt = 10;
  • branches/network/src/story_entities/multi_player_world_data.cc

    r6409 r6412  
    145145        BaseObject* created = NetworkGameManager::getInstance()->createEntity(element);
    146146        if( created != NULL )
    147           PRINTF(1)("Created a %s: %s\n", created->getClassName(), created->getName());
     147          PRINTF(1)("Created a %s: %s (0x%8x) from %s\n", created->getClassName(), created->getName(), created->getLeafClassID(), element->Value());
    148148        else
    149149          PRINTF(1)("NetworkWorld: could not create this entity\n");
     
    158158      }
    159159      /* clients only spawn the SpaceShip */
     160      /// FIXME it is not said to be a SpaceShip
    160161      else if( !strcmp( element->Value(), "SpaceShip"))
    161162      {
    162163        BaseObject* created = Factory::fabricate(element);
    163164        if( created != NULL )
    164           PRINTF(1)("Created a %s: %s\n", created->getClassName(), created->getName());
     165          PRINTF(1)("Created a %s: %s (%8.u)\n", created->getClassName(), created->getName(), created->getLeafClassID());
    165166        else
    166167          PRINTF(1)("NetworkWorld: could not create this entity\n");
Note: See TracChangeset for help on using the changeset viewer.