Changeset 10114 in orxonox.OLD for trunk/src/story_entities
- Timestamp:
- Dec 19, 2006, 11:55:26 PM (18 years ago)
- Location:
- trunk/src/story_entities
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/menu/game_menu.cc
r9869 r10114 41 41 #include "parser/preferences/preferences.h" 42 42 43 #include "class_id_DEPRECATED.h" 43 44 44 //! This creates a Factory to fabricate a GameMenu 45 ObjectListDefinition ID(GameMenu, CL_GAME_MENU);45 ObjectListDefinition(GameMenu); 46 46 CREATE_FACTORY(GameMenu); 47 47 -
trunk/src/story_entities/movie_loader.cc
r9869 r10114 25 25 26 26 27 #include "class_id_DEPRECATED.h" 28 ObjectListDefinition ID(MovieLoader, CL_MOVIE_LOADER);27 28 ObjectListDefinition(MovieLoader); 29 29 CREATE_FACTORY(MovieLoader); 30 30 -
trunk/src/story_entities/multi_player_world.cc
r9869 r10114 36 36 SHELL_COMMAND(debug, MultiPlayerWorld, debug); 37 37 38 #include "class_id_DEPRECATED.h" 38 39 39 //! This creates a Factory to fabricate a MultiPlayerWorld 40 ObjectListDefinition ID(MultiPlayerWorld, CL_MULTI_PLAYER_WORLD);40 ObjectListDefinition(MultiPlayerWorld); 41 41 CREATE_FACTORY(MultiPlayerWorld); 42 42 -
trunk/src/story_entities/multi_player_world_data.cc
r9869 r10114 149 149 BaseObject* created = Factory::fabricate(element); 150 150 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()); 152 152 else 153 153 PRINTF(1)("NetworkWorld: could not create this entity\n"); … … 180 180 181 181 if( created != NULL ) 182 PRINTF(1)("Created a %s: %s (0x%8x) from %s\n", created->getClassCName(), created->getCName(), created->get LeafClassID(), element->Value());182 PRINTF(1)("Created a %s: %s (0x%8x) from %s\n", created->getClassCName(), created->getCName(), created->getClassID().id(), element->Value()); 183 183 else 184 184 PRINTF(1)("NetworkWorld: could not create this entity\n"); -
trunk/src/story_entities/single_player_world.cc
r9869 r10114 30 30 31 31 32 #include "class_id_DEPRECATED.h" 32 33 33 //! This creates a Factory to fabricate a SinglePlayerWorld 34 ObjectListDefinition ID(SinglePlayerWorld, CL_SINGLE_PLAYER_WORLD);34 ObjectListDefinition(SinglePlayerWorld); 35 35 CREATE_FACTORY(SinglePlayerWorld); 36 36
Note: See TracChangeset
for help on using the changeset viewer.