Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 8, 2009, 12:36:08 AM (16 years ago)
Author:
dafrick
Message:

Merging of the current QuestSystem branch.

Location:
code/branches/questsystem5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/questsystem5

  • code/branches/questsystem5/src/orxonox/gamestates/GSLevel.h

    r2786 r2907  
    2323 *      Reto Grieder
    2424 *   Co-authors:
    25  *      ...
     25 *      Benjamin Knecht
    2626 *
    2727 */
     
    3131
    3232#include "OrxonoxPrereqs.h"
    33 #include <OgrePrerequisites.h>
    3433#include "core/OrxonoxClass.h"
     34#include "core/GameState.h"
    3535
    3636namespace orxonox
    3737{
    38     class _OrxonoxExport GSLevel : public OrxonoxClass
     38    class _OrxonoxExport GSLevel : public GameState, public OrxonoxClass
    3939    {
    40         friend class ClassIdentifier<GSLevel>;
    4140    public:
    42         GSLevel();
     41        GSLevel(const std::string& name);
    4342        ~GSLevel();
     43        void setConfigValues();
     44
     45        void activate();
     46        void deactivate();
     47        void update(const Clock& time);
     48
     49        static void showIngameGUI(bool show);
    4450
    4551    protected:
    46         void enter(Ogre::Viewport* viewport);
    47         void leave();
    48         void ticked(const Clock& time);
    49 
    5052        void loadLevel();
    5153        void unloadLevel();
     
    5658        void keybindInternal(const std::string& command, bool bTemporary);
    5759
    58         KeyBinder*            keyBinder_;        //!< tool that loads and manages the input bindings
    59         SimpleInputState*     inputState_;
    60         Radar*                radar_;            //!< represents the Radar (not the HUD part)
    61         XMLFile*              startFile_;        //!< current hard coded default level
    62         CameraManager*        cameraManager_;
    63         LevelManager*         levelManager_;
    64         PlayerManager*        playerManager_;
    65         QuestManager*          questManager_;
    66         NotificationManager*  notificationManager_;
     60        KeyBinder*            keyBinder_;               //!< tool that loads and manages the input bindings
     61        SimpleInputState*     gameInputState_;          //!< input state for normal ingame playing
     62        SimpleInputState*     guiMouseOnlyInputState_;  //!< input state if we only need the mouse to use the GUI
     63        SimpleInputState*     guiKeysOnlyInputState_;   //!< input state if we only need the keys to use the GUI
     64        Radar*                radar_;                   //!< represents the Radar (not the HUD part)
     65        XMLFile*              startFile_;               //!< current hard coded default level
     66        CameraManager*        cameraManager_;           //!< camera manager for this level
     67        LevelManager*         levelManager_;            //!< global level manager
     68        PlayerManager*        playerManager_;           //!< player manager for this level
     69        QuestManager*         questManager_;            //!< quest manager for this level
     70        NotificationManager*  notificationManager_;     //!< notification manager for this level
    6771
    6872        //##### ConfigValues #####
     
    7276        ConsoleCommand*       ccKeybind_;
    7377        ConsoleCommand*       ccTkeybind_;
    74 
    75     private:
    76         void setConfigValues();
    77 
    7878    };
    7979}
Note: See TracChangeset for help on using the changeset viewer.