Changeset 3525 in orxonox.OLD for orxonox/branches/levelloader/src/story_entities
- Timestamp:
- Mar 13, 2005, 6:59:20 PM (20 years ago)
- Location:
- orxonox/branches/levelloader/src/story_entities
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/levelloader/src/story_entities/campaign.cc
r3503 r3525 34 34 Campaign::~Campaign () {} 35 35 36 Campaign::Campaign ( TiX MLElement* root)37 { 38 TiX MLElement* element;36 Campaign::Campaign ( TiXmlElement* root) 37 { 38 TiXmlElement* element; 39 39 char string; 40 40 int id; -
orxonox/branches/levelloader/src/story_entities/campaign.h
r3501 r3525 13 13 public: 14 14 Campaign (); 15 Campaign ( TiX MLElement* root);15 Campaign ( TiXmlElement* root); 16 16 ~Campaign (); 17 17 -
orxonox/branches/levelloader/src/story_entities/story_entity.h
r3501 r3525 9 9 10 10 #include "stdincl.h" 11 11 12 #include "story_def.h" 12 13 … … 16 17 public: 17 18 StoryEntity (); 18 StoryEntity ( TiX MLElement* root) {};19 StoryEntity ( TiXmlElement* root) {}; 19 20 virtual ~StoryEntity (); 20 21 -
orxonox/branches/levelloader/src/story_entities/world.cc
r3523 r3525 34 34 35 35 36 World::World( TiX MLElement* root)36 World::World( TiXmlElement* root) 37 37 { 38 38 char *string, *name; … … 141 141 } 142 142 143 TiX MLDocument* XMLDoc = new TiXMLDocument( name);143 TiXmlDocument* XMLDoc = new TiXmlDocument( name); 144 144 // load the campaign document 145 145 if( !XMLDoc.LoadFile()) … … 152 152 153 153 // check basic validity 154 TiX MLElement* root = XMLDoc.RootElement();154 TiXmlElement* root = XMLDoc.RootElement(); 155 155 assert( root != NULL); 156 156 … … 167 167 // load the parameters 168 168 // name 169 TiX MLElement* element;169 TiXmlElement* element; 170 170 char* temp; 171 171 char* string = grabParameter( root, "name"); -
orxonox/branches/levelloader/src/story_entities/world.h
r3503 r3525 28 28 29 29 public: 30 World (TiX MLElement* root),30 World (TiXmlElement* root), 31 31 World (char* name); 32 32 World (int worldID);
Note: See TracChangeset
for help on using the changeset viewer.