Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 26, 2009, 2:15:08 PM (15 years ago)
Author:
rgrieder
Message:

Loading and unloading graphics automatically: As soon as a GameState requires graphics (defined at the GameState declaration with a bool) it gets loaded. And vice versa.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/resource/src/orxonox/gamestates/GSRoot.cc

    r3349 r3355  
    5353    SetCommandLineSwitch(standalone).information("Start in standalone mode");
    5454
    55     GSRoot::GSRoot(const GameStateConstrParams& params)
    56         : GameState(params)
     55    GSRoot::GSRoot(const GameStateInfo& info)
     56        : GameState(info)
    5757        , timeFactor_(1.0f)
    5858        , bPaused_(false)
     
    174174    @brief
    175175        Changes the speed of Orxonox
     176    @remark
     177        This function is a hack when placed here!
     178        Timefactor should be related to the scene (level or so), not the game
    176179    */
    177180    void GSRoot::setTimeFactor(float factor)
Note: See TracChangeset for help on using the changeset viewer.