Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 25, 2015, 7:20:21 PM (10 years ago)
Author:
landauf
Message:

moved config values and all related functions from Game and Core to GameConfig and CoreConfig respectively. this ensures that no framework features are used by Game and Core before Core itself initialized the framework.

Location:
code/branches/core7/src/orxonox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/orxonox/gamestates/GSLevel.cc

    r10392 r10479  
    170170        bool loaded = Loader::getInstance().open(startFile_);
    171171
    172         Core::getInstance().updateLastLevelTimestamp();
     172        Core::getInstance().getConfig()->updateLastLevelTimestamp();
    173173        if(!loaded)
    174174            GSRoot::delayedStartMainMenu();
  • code/branches/core7/src/orxonox/gametypes/Gametype.cc

    r10349 r10479  
    409409                    {
    410410                        // If in developer's mode, there is no start countdown.
    411                         if(Core::getInstance().inDevMode())
     411                        if(Core::getInstance().getConfig()->inDevMode())
    412412                            this->start();
    413413                        else
Note: See TracChangeset for help on using the changeset viewer.