Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 19, 2008, 2:24:33 PM (16 years ago)
Author:
rgrieder
Message:

Moved all showsGraphics, hasServer, etc. functions from Settings class to Core class.
This was necessary to avoid circular dependencies.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/gamestates/GSGraphics.cc

    r1940 r1949  
    4747#include "core/ConfigValueIncludes.h"
    4848#include "core/CoreIncludes.h"
     49#include "core/Core.h"
    4950#include "core/input/InputManager.h"
    5051#include "core/input/KeyBinder.h"
     
    101102    void GSGraphics::enter()
    102103    {
    103         Settings::_getInstance().setShowsGraphics(true);
     104        Core::setShowsGraphics(true);
    104105
    105106        // initialise graphics engine. Doesn't load the render window yet!
     
    196197        delete graphicsEngine_;
    197198
    198         Settings::_getInstance().setShowsGraphics(false);
     199        Core::setShowsGraphics(false);
    199200    }
    200201
Note: See TracChangeset for help on using the changeset viewer.