Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Reverted to revision 2906 (because I'm too stupid to merge correctly, 2nd try will follow shortly. ;))

Location:
code/branches/questsystem5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/questsystem5

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

    r2907 r2908  
    2323 *      Reto Grieder
    2424 *   Co-authors:
    25  *      Benjamin Knecht
     25 *      ...
    2626 *
    2727 */
     
    3131
    3232#include "OrxonoxPrereqs.h"
     33#include <OgrePrerequisites.h>
    3334#include "core/OrxonoxClass.h"
    34 #include "core/GameState.h"
    3535
    3636namespace orxonox
    3737{
    38     class _OrxonoxExport GSLevel : public GameState, public OrxonoxClass
     38    class _OrxonoxExport GSLevel : public OrxonoxClass
    3939    {
     40        friend class ClassIdentifier<GSLevel>;
    4041    public:
    41         GSLevel(const std::string& name);
     42        GSLevel();
    4243        ~GSLevel();
    43         void setConfigValues();
    44 
    45         void activate();
    46         void deactivate();
    47         void update(const Clock& time);
    48 
    49         static void showIngameGUI(bool show);
    5044
    5145    protected:
     46        void enter(Ogre::Viewport* viewport);
     47        void leave();
     48        void ticked(const Clock& time);
     49
    5250        void loadLevel();
    5351        void unloadLevel();
     
    5856        void keybindInternal(const std::string& command, bool bTemporary);
    5957
    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
     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_;
    7167
    7268        //##### ConfigValues #####
     
    7672        ConsoleCommand*       ccKeybind_;
    7773        ConsoleCommand*       ccTkeybind_;
     74
     75    private:
     76        void setConfigValues();
     77
    7878    };
    7979}
Note: See TracChangeset for help on using the changeset viewer.