Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 23, 2009, 8:04:51 PM (15 years ago)
Author:
rgrieder
Message:

Moved GUIManager::getLevelList to LevelManager because the GUIManager has nothing to do with levels.
I also had to change the way the information flows: Instead of operation on the Lua state, you tell the LevelManager to compile the list and then get the elements one by one.
The reason for this change is simple: There is no way to know from which LuaState the call came (without making an ugly hack in Tolua itself).

File:
1 edited

Legend:

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

    r3327 r3339  
    6767
    6868        // show main menu
    69         GUIManager::getInstance().showGUI("mainmenu_3");
     69        GUIManager::getInstance().showGUI("mainmenu_4");
    7070        GUIManager::getInstance().setCamera(this->camera_);
    7171        GraphicsManager::getInstance().setCamera(this->camera_);
Note: See TracChangeset for help on using the changeset viewer.