Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 2, 2009, 3:12:29 PM (15 years ago)
Author:
scheusso
Message:

hide controller overlay when in gui mode

Location:
code/branches/presentation2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/data/gui/scripts/InitialiseGUI.lua

    r6176 r6199  
    8484        if nrOfActiveSheets == 0 then
    8585            orxonox.InputManager:getInstance():enterState("guiMouseOnly")
     86            orxonox.HumanController:pauseControl()
    8687        end
    8788    end
     
    157158    if nrOfActiveSheets == 0 then
    158159        orxonox.InputManager:getInstance():leaveState("guiMouseOnly")
     160        orxonox.HumanController:resumeControl()
    159161        hideCursor()
    160162    end
  • code/branches/presentation2/src/orxonox/CMakeLists.txt

    r6184 r6199  
    5757    LevelManager.h
    5858    MoodManager.h
     59    controllers/HumanController.h
    5960    pickup/BaseItem.h
    6061    pickup/PickupInventory.h
  • code/branches/presentation2/src/orxonox/controllers/HumanController.h

    r6195 r6199  
    3535#include "Controller.h"
    3636
     37// tolua_begin
    3738namespace orxonox
    3839{
    39     class _OrxonoxExport HumanController : public Controller, public Tickable
    40     {
     40    class _OrxonoxExport HumanController
     41// tolua_end
     42        : public Controller, public Tickable
     43    { // tolua_export
    4144        public:
    4245            HumanController(BaseObject* creator);
     
    7578            static void killBots(unsigned int amount = 0);
    7679
    77             static void pauseControl();
    78             static void resumeControl();
     80            static void pauseControl(); // tolua_export
     81            static void resumeControl(); // tolua_export
    7982            virtual void doPauseControl() {};
    8083            virtual void doResumeControl() {};
     
    8992            static HumanController* localController_s;
    9093            bool controlPaused_;
    91     };
    92 }
     94    }; // tolua_export
     95} // tolua_export
    9396
    9497#endif /* _HumanController_H__ */
Note: See TracChangeset for help on using the changeset viewer.