Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 24, 2009, 9:37:19 PM (15 years ago)
Author:
rgrieder
Message:

Moved GraphicsManager and GUIManager to the core. Almost no actual code changes though, just moving (here was that Map-hack I had to move to GSGraphics).

Location:
code/branches/resource/src/core
Files:
2 edited
2 copied
2 moved

Legend:

Unmodified
Added
Removed
  • code/branches/resource/src/core/CMakeLists.txt

    r3327 r3346  
    2727  GameMode.cc
    2828  GameState.cc
     29  GraphicsManager.cc
     30  GUIManager.cc
    2931  Language.cc
    3032  LuaBind.cc
     
    8082  LINK_LIBRARIES
    8183    ${OGRE_LIBRARY}
     84    ${Boost_FILESYSTEM_LIBRARY}
     85    ${Boost_SYSTEM_LIBRARY} # Filesystem dependency
    8286    ${Boost_THREAD_LIBRARY}
    83     ${Boost_FILESYSTEM_LIBRARY}
    84     ${Boost_SYSTEM_LIBRARY}
    85     ${Boost_DATE_TIME_LIBRARY} # MSVC only
     87    ${Boost_DATE_TIME_LIBRARY} # Thread dependency
     88    ${CEGUI_LIBRARY}
     89    ${CEGUILUA_LIBRARY}
    8690    ${LUA_LIBRARIES}
    8791    cpptcl_orxonox
     92    ogreceguirenderer_orxonox
    8893    ois_orxonox
    8994    tinyxml++_orxonox
  • code/branches/resource/src/core/CorePrereqs.h

    r3327 r3346  
    123123    class FunctorMember;
    124124    class FunctorStatic;
     125    class GraphicsManager;
     126    class GUIManager;
    125127    class Identifier;
    126128    class IRC;
     
    144146    template <class T>
    145147    class ObjectListIterator;
     148    class OgreWindowEventListener;
    146149    class OrxonoxClass;
    147150    class Shell;
     
    220223}
    221224
     225// CEGUI
     226namespace CEGUI
     227{
     228    class DefaultLogger;
     229    class Logger;
     230    class LuaScriptModule;
     231
     232    class OgreCEGUIRenderer;
     233    class OgreCEGUIResourceProvider;
     234    class OgreCEGUITexture;
     235}
     236
     237// Lua
     238struct lua_State;
     239
    222240// TinyXML and TinyXML++
    223241class TiXmlString;
  • code/branches/resource/src/core/GUIManager.cc

    r3340 r3346  
    5757#include "util/Exception.h"
    5858#include "util/OrxAssert.h"
    59 #include "core/Core.h"
    60 #include "core/Clock.h"
    61 #include "core/LuaBind.h"
     59#include "Core.h"
     60#include "Clock.h"
     61#include "LuaBind.h"
    6262
    6363namespace orxonox
  • code/branches/resource/src/core/GUIManager.h

    r3339 r3346  
    3737#define _GUIManager_H__
    3838
    39 #include "OrxonoxPrereqs.h"
     39#include "CorePrereqs.h"
    4040
    4141#include <map>
     
    4545
    4646#include "util/OgreForwardRefs.h"
    47 #include "core/input/InputHandler.h"
     47#include "input/InputHandler.h"
    4848
    4949namespace orxonox
     
    6060        Those input events are then injected into CEGUI in Lua.
    6161    */
    62     class _OrxonoxExport GUIManager : public InputHandler
     62    class _CoreExport GUIManager : public InputHandler
    6363    {
    6464    public:
  • code/branches/resource/src/core/GraphicsManager.cc

    r3338 r3346  
    5757#include "util/StringUtils.h"
    5858#include "util/SubString.h"
    59 #include "core/Clock.h"
    60 #include "core/ConsoleCommand.h"
    61 #include "core/ConfigValueIncludes.h"
    62 #include "core/CoreIncludes.h"
    63 #include "core/Core.h"
    64 #include "core/Game.h"
    65 #include "core/GameMode.h"
    66 #include "core/WindowEventListener.h"
    67 #include "tools/ParticleInterface.h"
    68 
    69 // HACK!
    70 #include "overlays/map/Map.h"
     59#include "Clock.h"
     60#include "ConsoleCommand.h"
     61#include "ConfigValueIncludes.h"
     62#include "CoreIncludes.h"
     63#include "Core.h"
     64#include "Game.h"
     65#include "GameMode.h"
     66#include "WindowEventListener.h"
    7167
    7268namespace orxonox
     
    148144*/
    149145
    150         // HACK! This fixes an exit crash
    151         Map::hackDestroyMap();
    152146        // unload all compositors (this is only necessary because we don't yet destroy all resources!)
    153147        Ogre::CompositorManager::getSingleton().removeAll();
  • code/branches/resource/src/core/GraphicsManager.h

    r3336 r3346  
    3737#define _GraphicsManager_H__
    3838
    39 #include "OrxonoxPrereqs.h"
     39#include "CorePrereqs.h"
    4040
    4141#include <cassert>
    4242#include <string>
    4343#include <OgreLog.h>
    44 #include "core/OrxonoxClass.h"
     44#include "OrxonoxClass.h"
    4545
    4646namespace orxonox
     
    5050        Graphics engine manager class
    5151    */
    52     class _OrxonoxExport GraphicsManager : public OrxonoxClass, public Ogre::LogListener
     52    class _CoreExport GraphicsManager : public OrxonoxClass, public Ogre::LogListener
    5353    {
    5454    public:
Note: See TracChangeset for help on using the changeset viewer.