Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6835 in orxonox.OLD for trunk/src/story_entities/game_world.h


Ignore:
Timestamp:
Jan 29, 2006, 11:59:39 PM (20 years ago)
Author:
patrick
Message:

trunk: resturcture of the game menu for multi-level menus

File:
1 edited

Legend:

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

    r6512 r6835  
    5555    void toggleBVVisibility() { this->showBV = !this->showBV; };
    5656
     57    /** toggle the menu visibility: SimpleMenu specific */
     58    inline void addToGameMenu(int toggle) { this->bMenuEntry = (bool)toggle; }
     59    /** @returns true if the GameWorld should be contained in the SimpleMenu: SimpleMenu specific */
     60    inline bool isContainedInMenu() { return this->bMenuEntry; }
     61
    5762
    5863    inline void setSky(WorldEntity* sky) { this->dataTank->sky = sky; }
     
    9398    /* external modules interfaces */
    9499    Shell*              shell;
     100
     101    bool                bMenuEntry;                   //!< If true, this GameWorld apears in the SimpleMenu: SimpleMenu specific
    95102};
    96103
Note: See TracChangeset for help on using the changeset viewer.