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…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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);
Note: See TracChangeset for help on using the changeset viewer.