Changeset 9715 in orxonox.OLD for branches/new_class_id/src/story_entities
- Timestamp:
- Sep 1, 2006, 8:06:39 PM (18 years ago)
- Location:
- branches/new_class_id/src/story_entities
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/story_entities/campaign.cc
r9709 r9715 27 27 28 28 29 NewObjectListDefinition(Campaign);29 ObjectListDefinition(Campaign); 30 30 31 31 /** -
branches/new_class_id/src/story_entities/campaign.h
r9709 r9715 18 18 class Campaign : public StoryEntity 19 19 { 20 NewObjectListDeclaration(Campaign);20 ObjectListDeclaration(Campaign); 21 21 public: 22 22 Campaign( TiXmlElement* root); -
branches/new_class_id/src/story_entities/campaign_data.cc
r9709 r9715 25 25 26 26 27 NewObjectListDefinition(CampaignData);27 ObjectListDefinition(CampaignData); 28 28 29 29 /** -
branches/new_class_id/src/story_entities/campaign_data.h
r9709 r9715 16 16 class CampaignData : public DataTank 17 17 { 18 NewObjectListDeclaration(CampaignData);18 ObjectListDeclaration(CampaignData); 19 19 20 20 public: -
branches/new_class_id/src/story_entities/game_world.cc
r9709 r9715 62 62 63 63 #include "script_class.h" 64 NewObjectListDefinition(GameWorld);64 ObjectListDefinition(GameWorld); 65 65 CREATE_SCRIPTABLE_CLASS(GameWorld, GameWorld::classID(), 66 66 addMethod("setPlaymode", ExecutorLua1<GameWorld,const std::string&>(&GameWorld::setPlaymode)) … … 568 568 MappedWater* mw; 569 569 570 for ( NewObjectList<MappedWater>::const_iterator it = MappedWater::objectList().begin();570 for (ObjectList<MappedWater>::const_iterator it = MappedWater::objectList().begin(); 571 571 it != MappedWater::objectList().end(); 572 572 ++it) … … 607 607 MappedWater* mw; 608 608 609 for ( NewObjectList<MappedWater>::const_iterator it = MappedWater::objectList().begin();609 for (ObjectList<MappedWater>::const_iterator it = MappedWater::objectList().begin(); 610 610 it != MappedWater::objectList().end(); 611 611 ++it) -
branches/new_class_id/src/story_entities/game_world.h
r9709 r9715 31 31 class GameWorld : public StoryEntity 32 32 { 33 NewObjectListDeclaration(GameWorld);33 ObjectListDeclaration(GameWorld); 34 34 35 35 public: -
branches/new_class_id/src/story_entities/game_world_data.cc
r9712 r9715 61 61 62 62 63 NewObjectListDefinition(GameWorldData);63 ObjectListDefinition(GameWorldData); 64 64 /** 65 65 * constructor of the GameWorldData -
branches/new_class_id/src/story_entities/game_world_data.h
r9709 r9715 30 30 class GameWorldData : public DataTank 31 31 { 32 NewObjectListDeclaration(GameWorldData);32 ObjectListDeclaration(GameWorldData); 33 33 public: 34 34 GameWorldData(); -
branches/new_class_id/src/story_entities/menu/game_menu.cc
r9709 r9715 44 44 #include "class_id.h" 45 45 //! This creates a Factory to fabricate a GameMenu 46 NewObjectListDefinitionID(GameMenu, CL_GAME_MENU);46 ObjectListDefinitionID(GameMenu, CL_GAME_MENU); 47 47 CREATE_FACTORY(GameMenu); 48 48 … … 192 192 193 193 bool first = true; 194 for( NewObjectList<StoryEntity>::const_iterator it = StoryEntity::objectList().begin();194 for(ObjectList<StoryEntity>::const_iterator it = StoryEntity::objectList().begin(); 195 195 it != StoryEntity::objectList().end(); 196 196 ++it) -
branches/new_class_id/src/story_entities/menu/game_menu.h
r9709 r9715 22 22 class GameMenu : virtual public GameWorld, virtual public EventListener 23 23 { 24 NewObjectListDeclaration(GameMenu);24 ObjectListDeclaration(GameMenu); 25 25 public: 26 26 GameMenu(const TiXmlElement* root = NULL); -
branches/new_class_id/src/story_entities/movie_loader.cc
r9709 r9715 26 26 27 27 #include "class_id.h" 28 NewObjectListDefinitionID(MovieLoader, CL_MOVIE_LOADER);28 ObjectListDefinitionID(MovieLoader, CL_MOVIE_LOADER); 29 29 CREATE_FACTORY(MovieLoader); 30 30 -
branches/new_class_id/src/story_entities/movie_loader.h
r9709 r9715 15 15 class MovieLoader : public StoryEntity, virtual public EventListener 16 16 { 17 NewObjectListDeclaration(MovieLoader);17 ObjectListDeclaration(MovieLoader); 18 18 private: 19 19 MoviePlayer* movie_player; -
branches/new_class_id/src/story_entities/multi_player_world.cc
r9709 r9715 38 38 #include "class_id.h" 39 39 //! This creates a Factory to fabricate a MultiPlayerWorld 40 NewObjectListDefinitionID(MultiPlayerWorld, CL_MULTI_PLAYER_WORLD);40 ObjectListDefinitionID(MultiPlayerWorld, CL_MULTI_PLAYER_WORLD); 41 41 CREATE_FACTORY(MultiPlayerWorld); 42 42 -
branches/new_class_id/src/story_entities/multi_player_world.h
r9709 r9715 20 20 */ 21 21 class MultiPlayerWorld : public GameWorld { 22 NewObjectListDeclaration(MultiPlayerWorld);22 ObjectListDeclaration(MultiPlayerWorld); 23 23 public: 24 24 MultiPlayerWorld (const TiXmlElement* root = NULL); -
branches/new_class_id/src/story_entities/multi_player_world_data.cc
r9709 r9715 311 311 Playable* playable; 312 312 313 for ( NewObjectList<Playable>::const_iterator entity = Playable::objectList().begin();313 for (ObjectList<Playable>::const_iterator entity = Playable::objectList().begin(); 314 314 entity != Playable::objectList().end(); 315 315 ++entity) -
branches/new_class_id/src/story_entities/single_player_world.cc
r9709 r9715 31 31 #include "class_id.h" 32 32 //! This creates a Factory to fabricate a SinglePlayerWorld 33 NewObjectListDefinitionID(SinglePlayerWorld, CL_SINGLE_PLAYER_WORLD);33 ObjectListDefinitionID(SinglePlayerWorld, CL_SINGLE_PLAYER_WORLD); 34 34 CREATE_FACTORY(SinglePlayerWorld); 35 35 -
branches/new_class_id/src/story_entities/single_player_world.h
r9709 r9715 22 22 class SinglePlayerWorld : public GameWorld 23 23 { 24 NewObjectListDeclaration(SinglePlayerWorld);24 ObjectListDeclaration(SinglePlayerWorld); 25 25 26 26 public: -
branches/new_class_id/src/story_entities/story_entity.cc
r9709 r9715 27 27 28 28 29 NewObjectListDefinition(StoryEntity);29 ObjectListDefinition(StoryEntity); 30 30 31 31 /** -
branches/new_class_id/src/story_entities/story_entity.h
r9709 r9715 26 26 class StoryEntity : virtual public BaseObject 27 27 { 28 NewObjectListDeclaration(StoryEntity);28 ObjectListDeclaration(StoryEntity); 29 29 30 30 public:
Note: See TracChangeset
for help on using the changeset viewer.