Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 13, 2005, 6:59:20 PM (20 years ago)
Author:
chris
Message:

orxonox/branches/levelloader: removed excess class usage adn messed with makefile definitions

Location:
orxonox/branches/levelloader/src/story_entities
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/levelloader/src/story_entities/campaign.cc

    r3503 r3525  
    3434Campaign::~Campaign () {}
    3535
    36 Campaign::Campaign ( TiXMLElement* root)
    37 {
    38         TiXMLElement* element;
     36Campaign::Campaign ( TiXmlElement* root)
     37{
     38        TiXmlElement* element;
    3939        char string;
    4040        int id;
  • orxonox/branches/levelloader/src/story_entities/campaign.h

    r3501 r3525  
    1313 public:
    1414  Campaign ();
    15   Campaign ( TiXMLElement* root);
     15  Campaign ( TiXmlElement* root);
    1616  ~Campaign ();
    1717
  • orxonox/branches/levelloader/src/story_entities/story_entity.h

    r3501 r3525  
    99
    1010#include "stdincl.h"
     11
    1112#include "story_def.h"
    1213
     
    1617 public:
    1718  StoryEntity ();
    18   StoryEntity ( TiXMLElement* root) {};
     19  StoryEntity ( TiXmlElement* root) {};
    1920  virtual ~StoryEntity ();
    2021
  • orxonox/branches/levelloader/src/story_entities/world.cc

    r3523 r3525  
    3434
    3535
    36 World::World( TiXMLElement* root)
     36World::World( TiXmlElement* root)
    3737{
    3838        char *string, *name;
     
    141141  }
    142142 
    143         TiXMLDocument* XMLDoc = new TiXMLDocument( name);
     143        TiXmlDocument* XMLDoc = new TiXmlDocument( name);
    144144        // load the campaign document
    145145        if( !XMLDoc.LoadFile())
     
    152152       
    153153        // check basic validity
    154         TiXMLElement* root = XMLDoc.RootElement();
     154        TiXmlElement* root = XMLDoc.RootElement();
    155155        assert( root != NULL);
    156156       
     
    167167        // load the parameters
    168168                // name
    169         TiXMLElement* element;
     169        TiXmlElement* element;
    170170        char* temp;
    171171        char* string = grabParameter( root, "name");
  • orxonox/branches/levelloader/src/story_entities/world.h

    r3503 r3525  
    2828
    2929 public:
    30         World (TiXMLElement* root),
     30        World (TiXmlElement* root),
    3131  World (char* name);
    3232  World (int worldID);
Note: See TracChangeset for help on using the changeset viewer.