Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 13, 2011, 5:49:41 PM (13 years ago)
Author:
dafrick
Message:

Extending startGame and similar console commands, now also the level to be started (or in case of startClient, the destination) can be specified (but doesn't have to).
Additionally startMainMenu is now in GSLevel and can only be executed in a Level, as opposed to only in the MainMenu as it was before.
Added changeGame console command which works in a level in standalone mode to change to a different level.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/gamestates/GSLevel.h

    r6417 r7876  
    4949        void update(const Clock& time);
    5050
     51        static void startMainMenu(void); //!< Starts the MainMenu
     52        static void changeGame(const std::string& level); //!< Terminates the current game and starts a new game.
     53
    5154    protected:
    5255        void loadLevel();
Note: See TracChangeset for help on using the changeset viewer.