Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 13, 2009, 4:30:37 PM (15 years ago)
Author:
rgrieder
Message:

Tried to reduce dependencies in the core. There wasn't much to achieve though…

Location:
code/branches/pch/src/orxonox
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pch/src/orxonox/CameraManager.cc

    r3131 r3154  
    3434#include "util/String.h"
    3535#include "core/GameMode.h"
    36 #include "core/Iterator.h"
     36#include "core/ObjectList.h"
    3737#include "tools/Shader.h"
    3838#include "objects/worldentities/Camera.h"
  • code/branches/pch/src/orxonox/gamestates/GSLevel.cc

    r3110 r3154  
    148148        if (show)
    149149        {
    150             GUIManager::getInstancePtr()->showGUI("inGameTest");
    151             GUIManager::getInstancePtr()->executeCode("showCursor()");
     150            GUIManager::getInstance().showGUI("inGameTest");
     151            GUIManager::getInstance().executeCode("showCursor()");
    152152            InputManager::getInstance().requestEnterState("guiMouseOnly");
    153153        }
    154154        else
    155155        {
    156             GUIManager::getInstancePtr()->executeCode("hideGUI(\"inGameTest\")");
    157             GUIManager::getInstancePtr()->executeCode("hideCursor()");
     156            GUIManager::getInstance().executeCode("hideGUI(\"inGameTest\")");
     157            GUIManager::getInstance().executeCode("hideCursor()");
    158158            InputManager::getInstance().requestLeaveState("guiMouseOnly");
    159159        }
  • code/branches/pch/src/orxonox/objects/Radar.cc

    r3110 r3154  
    3737#include "core/CoreIncludes.h"
    3838#include "core/ConsoleCommand.h"
    39 #include "core/Iterator.h"
     39#include "core/ObjectList.h"
    4040#include "RadarListener.h"
    4141
  • code/branches/pch/src/orxonox/objects/Radar.h

    r1818 r3154  
    3939#include <map>
    4040#include <string>
    41 #include "core/Iterator.h"
     41#include "core/ObjectList.h"
    4242#include "core/OrxonoxClass.h"
    4343#include "objects/Tickable.h"
  • code/branches/pch/src/orxonox/objects/weaponsystem/projectiles/Projectile.cc

    r3110 r3154  
    3434#include "core/Executor.h"
    3535#include "core/ConfigValueIncludes.h"
    36 #include "core/Iterator.h"
     36#include "core/ObjectList.h"
    3737#include "tools/ParticleInterface.h"
    3838
  • code/branches/pch/src/orxonox/objects/worldentities/Camera.cc

    r3110 r3154  
    3737
    3838#include "util/Exception.h"
     39#include "util/String.h"
    3940#include "core/CoreIncludes.h"
    4041#include "core/ConfigValueIncludes.h"
  • code/branches/pch/src/orxonox/overlays/OverlayGroup.cc

    r3110 r3154  
    3737#include "core/ConsoleCommand.h"
    3838#include "core/CoreIncludes.h"
    39 #include "core/Iterator.h"
     39#include "core/ObjectList.h"
    4040#include "core/XMLPort.h"
    4141#include "OrxonoxOverlay.h"
  • code/branches/pch/src/orxonox/overlays/map/Map.cc

    r3144 r3154  
    3131#include <OgreBorderPanelOverlayElement.h>
    3232#include <OgreCamera.h>
     33#include <OgreEntity.h>
    3334#include <OgreHardwarePixelBuffer.h>
    3435#include <OgreMaterialManager.h>
     
    5051#include "core/ConsoleCommand.h"
    5152#include "core/CoreIncludes.h"
    52 #include "core/Iterator.h"
     53#include "core/ObjectList.h"
    5354#include "core/XMLPort.h"
    5455#include "objects/Scene.h"
     
    265266    }
    266267
    267     Ogre::MaterialPtr Map::createRenderCamera(Ogre::Camera * cam, std::string matName)
     268    Ogre::MaterialPtr Map::createRenderCamera(Ogre::Camera * cam, const std::string& matName)
    268269    {
    269270        Ogre::TexturePtr rttTex = Ogre::TextureManager::getSingleton().createManual(matName+"_tex", Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, Ogre::TEX_TYPE_2D, 512, 512, 0, Ogre::PF_R8G8B8, Ogre::TU_RENDERTARGET);
  • code/branches/pch/src/orxonox/overlays/map/Map.h

    r3144 r3154  
    3030#include "OrxonoxPrereqs.h"
    3131
    32 #include <string>
    3332#include <OgreMaterial.h>
    3433
     
    5049        virtual void changedOwner();
    5150
    52         static Ogre::MaterialPtr createRenderCamera(Ogre::Camera * cam, std::string matName);
     51        static Ogre::MaterialPtr createRenderCamera(Ogre::Camera * cam, const std::string& matName);
    5352
    5453        static void openMap();
Note: See TracChangeset for help on using the changeset viewer.