Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 15, 2008, 1:38:02 AM (17 years ago)
Author:
landauf
Message:
  • fixed a small speedbar-initialization problem
  • added new console-commands:
    • pause
    • suicide
    • addBots [number]
    • killBots [number]
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy2/src/orxonox/gamestates/GSRoot.h

    r2406 r2462  
    5050        // when taking the function address.
    5151        void setTimeFactor(float factor);
     52        void pause();
    5253        float getTimeFactor() { return this->timeFactor_; }
    5354
     
    6162
    6263        float                 timeFactor_;       //!< A factor that sets the gamespeed. 1 is normal.
     64        bool                  bPaused_;
     65        float                 timeFactorPauseBackup_;
    6366        Settings*             settings_;
    6467        TclBind*              tclBind_;
     
    7174        ConsoleCommand*       ccSelectGameState_;
    7275        ConsoleCommand*       ccSetTimeFactor_;
     76        ConsoleCommand*       ccPause_;
    7377    };
    7478
Note: See TracChangeset for help on using the changeset viewer.