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/core/Core.cc

    r3349 r3355  
    364364        guiManager_ = new GUIManager(renderWindow);
    365365
    366         GameMode::setShowsGraphics(true);
    367366        bGraphicsLoaded_ = true;
    368367    }
     
    378377
    379378        bGraphicsLoaded_ = false;
    380         GameMode::setShowsGraphics(false);
    381379    }
    382380
Note: See TracChangeset for help on using the changeset viewer.