Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6853 in orxonox.OLD for trunk/src/story_entities/story_entity.h


Ignore:
Timestamp:
Jan 30, 2006, 3:40:05 AM (18 years ago)
Author:
patrick
Message:

trunk: safe load param reading, menu better

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/story_entities/story_entity.h

    r6841 r6853  
    6767  /**  gets the story id of the current entity @returns story id */
    6868  inline int getNextStoryID() { return this->nextStoryID; }
    69   /** sets the descroption of this StoryEntity @param name name */
    70   inline void setDescription(const char* description) { this->description = description; }
     69  inline void setDescription(const char* description);
    7170  /** @returns the description of this StoryEntity */
    7271  inline const char* getDescription() { return this->description; }
     
    7675  inline bool isContainedInMenu() { return this->bMenuEntry; }
    7776  /** sets the menu item image of this StoryEntity @param name name */
    78   inline void setMenuItemImage(const char* image) { this->menuItemImage = image; }
     77  inline void setMenuItemImage(const char* image);
    7978  /** @returns the menu item image of this StoryEntity */
    8079  inline const char* getMenuItemImage() { return this->menuItemImage; }
    81   /** sets the menu screenshoot of this StoryEntity @param name name */
    82   inline void setMenuScreenshoot(const char* image) { this->menuScreenshoot = image; }
     80  inline void setMenuScreenshoot(const char* image);
    8381  /** @returns the menu screenshoot of this StoryEntity */
    8482  inline const char* getMenuScreenshoot() { return this->menuScreenshoot; }
     
    9492    int storyID;            //!< this is the number of this entity, identifying it in a list/tree...
    9593    int nextStoryID;        //!< if this entity has finished, this entity shall be called
    96     const char* description;//!< the description of the StoryEntity
    97     const char* menuItemImage;//!< the item image of the StoryEntity
    98     const char* menuScreenshoot;//!< the screenshoot of the StoryEntity
     94    char* description;      //!< the description of the StoryEntity
     95    char* menuItemImage;    //!< the item image of the StoryEntity
     96    char* menuScreenshoot;  //!< the screenshoot of the StoryEntity
    9997    bool        bMenuEntry; //!< If true, this GameWorld apears in the SimpleMenu: SimpleMenu specific
    10098};
Note: See TracChangeset for help on using the changeset viewer.