Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10114 in orxonox.OLD for trunk/src/story_entities


Ignore:
Timestamp:
Dec 19, 2006, 11:55:26 PM (18 years ago)
Author:
patrick
Message:

merged network back to trunk

Location:
trunk/src/story_entities
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/story_entities/menu/game_menu.cc

    r9869 r10114  
    4141#include "parser/preferences/preferences.h"
    4242
    43 #include "class_id_DEPRECATED.h"
     43
    4444//! This creates a Factory to fabricate a GameMenu
    45 ObjectListDefinitionID(GameMenu, CL_GAME_MENU);
     45ObjectListDefinition(GameMenu);
    4646CREATE_FACTORY(GameMenu);
    4747
  • trunk/src/story_entities/movie_loader.cc

    r9869 r10114  
    2525
    2626
    27 #include "class_id_DEPRECATED.h"
    28 ObjectListDefinitionID(MovieLoader, CL_MOVIE_LOADER);
     27
     28ObjectListDefinition(MovieLoader);
    2929CREATE_FACTORY(MovieLoader);
    3030
  • trunk/src/story_entities/multi_player_world.cc

    r9869 r10114  
    3636SHELL_COMMAND(debug, MultiPlayerWorld, debug);
    3737
    38 #include "class_id_DEPRECATED.h"
     38
    3939//! This creates a Factory to fabricate a MultiPlayerWorld
    40 ObjectListDefinitionID(MultiPlayerWorld, CL_MULTI_PLAYER_WORLD);
     40ObjectListDefinition(MultiPlayerWorld);
    4141CREATE_FACTORY(MultiPlayerWorld);
    4242
  • trunk/src/story_entities/multi_player_world_data.cc

    r9869 r10114  
    149149        BaseObject* created = Factory::fabricate(element);
    150150        if( created != NULL )
    151           PRINTF(1)("Created a %s: %s (0x%8x) from %s\n", created->getClassCName(), created->getCName(), created->getLeafClassID(), element->Value());
     151          PRINTF(1)("Created a %s: %s (0x%8x) from %s\n", created->getClassCName(), created->getCName(), (int)created->getClassID().id(), element->Value());
    152152        else
    153153          PRINTF(1)("NetworkWorld: could not create this entity\n");
     
    180180
    181181          if( created != NULL )
    182             PRINTF(1)("Created a %s: %s (0x%8x) from %s\n", created->getClassCName(), created->getCName(), created->getLeafClassID(), element->Value());
     182            PRINTF(1)("Created a %s: %s (0x%8x) from %s\n", created->getClassCName(), created->getCName(), created->getClassID().id(), element->Value());
    183183          else
    184184            PRINTF(1)("NetworkWorld: could not create this entity\n");
  • trunk/src/story_entities/single_player_world.cc

    r9869 r10114  
    3030
    3131
    32 #include "class_id_DEPRECATED.h"
     32
    3333//! This creates a Factory to fabricate a SinglePlayerWorld
    34 ObjectListDefinitionID(SinglePlayerWorld, CL_SINGLE_PLAYER_WORLD);
     34ObjectListDefinition(SinglePlayerWorld);
    3535CREATE_FACTORY(SinglePlayerWorld);
    3636
Note: See TracChangeset for help on using the changeset viewer.