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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.