Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jan 30, 2006, 1:36:43 AM (18 years ago)
Author:
patrick
Message:

trunk: submenu loading work, graphics chaos

File:
1 edited

Legend:

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

    r6839 r6841  
    7575  /** @returns true if the GameWorld should be contained in the SimpleMenu: SimpleMenu specific */
    7676  inline bool isContainedInMenu() { return this->bMenuEntry; }
     77  /** sets the menu item image of this StoryEntity @param name name */
     78  inline void setMenuItemImage(const char* image) { this->menuItemImage = image; }
     79  /** @returns the menu item image of this StoryEntity */
     80  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; }
     83  /** @returns the menu screenshoot of this StoryEntity */
     84  inline const char* getMenuScreenshoot() { return this->menuScreenshoot; }
    7785
    7886
     
    8795    int nextStoryID;        //!< if this entity has finished, this entity shall be called
    8896    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
    8999    bool        bMenuEntry; //!< If true, this GameWorld apears in the SimpleMenu: SimpleMenu specific
    90100};
Note: See TracChangeset for help on using the changeset viewer.