Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 24, 2009, 4:25:33 PM (15 years ago)
Author:
rgrieder
Message:

Expanded Core class by loadGraphics and unloadGraphics which don't do anything at the moment.

Location:
code/branches/resource/src/orxonox
Files:
3 edited

Legend:

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

    r3339 r3343  
    3434#include "core/CommandLine.h"
    3535#include "core/ConfigValueIncludes.h"
     36#include "core/Core.h"
    3637#include "core/CoreIncludes.h"
    3738#include "core/Loader.h"
  • code/branches/resource/src/orxonox/OrxonoxPrecompiledHeaders.h

    r3322 r3343  
    9090//#include "core/ConfigValueIncludes.h" // 19
    9191//#include "core/ConsoleCommand.h" // 15
    92 #include "core/Core.h"
     92//#include "core/Core.h" // ?, but not many times
    9393#include "core/CoreIncludes.h"
    94 #include "core/GameMode.h"
    9594#include "core/XMLPort.h"
    9695
  • code/branches/resource/src/orxonox/gamestates/GSGraphics.cc

    r3338 r3343  
    9393    void GSGraphics::activate()
    9494    {
    95         GameMode::setShowsGraphics(true);
     95        // Load OGRE, CEGUI and OIS
     96        Core::getInstance().loadGraphics();
    9697
    9798        // Load OGRE including the render window
     
    170171        delete graphicsManager_;
    171172
    172         GameMode::setShowsGraphics(false);
     173        // Unload OGRE, CEGUI and OIS
     174        Core::getInstance().loadGraphics();
    173175    }
    174176
Note: See TracChangeset for help on using the changeset viewer.