Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 19, 2009, 12:19:11 AM (15 years ago)
Author:
rgrieder
Message:

Cleaned out the lua script files for the GUI.
Also replaced "require" function to support resources.
Fixed a problem with the return value of doFile, includeFile and require being discarded because the tolua binding is for a C++ function returning void.

File:
1 edited

Legend:

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

    r3370 r5661  
    7070    {
    7171        // show main menu
    72         GUIManager::getInstance().showGUI("mainmenu_4");
     72        GUIManager::getInstance().showGUI("MainMenu");
    7373        GUIManager::getInstance().setCamera(this->camera_);
    7474        GraphicsManager::getInstance().setCamera(this->camera_);
Note: See TracChangeset for help on using the changeset viewer.