Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 30, 2009, 2:22:00 AM (15 years ago)
Author:
rgrieder
Message:

Merged resource2 branch back to trunk.

IMPORTANT NOTE:
Upon this merge you need to specifically call your data directory "data_extern" when checking it out (when you don't provide a name, it will be just called 'trunk').
The new CMake variable is EXTERNAL_DATA_DIRECTORY. DATA_DIRECTORY now points to the one the source part of the repository.
UPDATE YOUR DATA DIRECTORY AS WELL!!!

Location:
code/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk

  • code/trunk/src/core/GUIManager.h

    r5693 r5695  
    2828 */
    2929
    30 /**
    31 @file
    32 @brief
    33     Declaration of the GUIManager class.
    34 */
    35 
    3630#ifndef _GUIManager_H__
    3731#define _GUIManager_H__
     
    4337#include <CEGUIForwardRefs.h>
    4438#include <boost/scoped_ptr.hpp>
     39#include <boost/shared_ptr.hpp>
    4540
    4641#include "util/OgreForwardRefs.h"
     
    6762        friend class Singleton<GUIManager>;
    6863    public:
    69         GUIManager(Ogre::RenderWindow* renderWindow);
     64        GUIManager(Ogre::RenderWindow* renderWindow, const std::pair<int, int>& mousePosition, bool bFullScreen);
    7065        ~GUIManager();
    7166
     
    8782        GUIManager(const GUIManager& instance); //!< private and undefined copy c'tor (this is a singleton class)
    8883
    89         void loadLuaCode();
    90 
    9184        // keyHandler functions
    9285        void keyPressed (const KeyEvent& evt);
     
    9992        void mouseScrolled (int abs, int rel);
    10093
    101         boost::scoped_ptr<CEGUI::OgreCEGUIRenderer> guiRenderer_;       //!< CEGUI's interface to the Ogre Engine
    102         boost::scoped_ptr<CEGUI::LuaScriptModule>   scriptModule_;      //!< CEGUI's script module to use Lua
    103         boost::scoped_ptr<CEGUI::System>            guiSystem_;         //!< CEGUI's main system
    104         Ogre::RenderWindow*                         renderWindow_;      //!< Ogre's render window to give CEGUI access to it
    105         CEGUI::ResourceProvider*                    resourceProvider_;  //!< CEGUI's resource provider
    106         CEGUI::Logger*                              ceguiLogger_;       //!< CEGUI's logger to be able to log CEGUI errors in our log
    107         lua_State*                                  luaState_;          //!< Lua state, access point to the Lua engine
    108         std::map<std::string, PlayerInfo*>          players_;           //!< Stores the player (owner) for each gui
     94        scoped_ptr<CEGUI::OgreCEGUIRenderer> guiRenderer_;      //!< CEGUI's interface to the Ogre Engine
     95        scoped_ptr<LuaState>                 luaState_;         //!< LuaState, access point to the Lua engine
     96        scoped_ptr<CEGUI::LuaScriptModule>   scriptModule_;     //!< CEGUI's script module to use Lua
     97        scoped_ptr<CEGUI::System>            guiSystem_;        //!< CEGUI's main system
     98        shared_ptr<ResourceInfo>             rootFileInfo_;     //!< Resource information about the root script
     99        Ogre::RenderWindow*                  renderWindow_;     //!< Ogre's render window to give CEGUI access to it
     100        CEGUI::ResourceProvider*             resourceProvider_; //!< CEGUI's resource provider
     101        CEGUI::Logger*                       ceguiLogger_;      //!< CEGUI's logger to be able to log CEGUI errors in our log
     102        std::map<std::string, PlayerInfo*>   players_;          //!< Stores the player (owner) for each gui
    109103
    110         static GUIManager*                          singletonPtr_s;     //!< Singleton reference to GUIManager
     104        static GUIManager*                   singletonPtr_s;    //!< Singleton reference to GUIManager
    111105
    112106    };
Note: See TracChangeset for help on using the changeset viewer.