Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 26, 2009, 3:18:08 PM (16 years ago)
Author:
bknecht
Message:

Fixed some bugs. Please do not break the code, when working with other people on one branch. Also check if the game runs and not just compiles.

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

Legend:

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

    r2850 r2853  
    6767
    6868        // show main menu
    69         GUIManager::getInstance().showGUI("mainMenu");
     69        GUIManager::getInstance().showGUI("mainmenu");
    7070        GUIManager::getInstance().setCamera(this->camera_);
    7171        GraphicsManager::getInstance().setCamera(this->camera_);
     
    7777            CommandExecutor::addConsoleCommandShortcut(this->ccStartGame_);
    7878        }
    79        
     79
    8080        InputManager::getInstance().requestEnterState("mainMenu");
    8181    }
  • code/branches/gui/src/orxonox/gui/GUIManager.cc

    r2850 r2853  
    186186    }
    187187
     188    void GUIManager::testOutput(std::string& str)
     189    {
     190        COUT(0) << "*** CEGUI: " << str << std::endl;
     191    }
     192
    188193    void GUIManager::showGUI(const std::string& name)
    189194    {
  • code/branches/gui/src/orxonox/gui/GUIManager.h

    r2850 r2853  
    7878        void setCamera(Ogre::Camera* camera);
    7979
     80        void testOutput(std::string& str); // tolua_export
     81
    8082        static GUIManager& getInstance()    { assert(singletonRef_s); return *singletonRef_s; } // tolua_export
    8183        static GUIManager* getInstancePtr() { return singletonRef_s; }
Note: See TracChangeset for help on using the changeset viewer.