Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3613 in orxonox.OLD


Ignore:
Timestamp:
Mar 21, 2005, 1:44:30 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: taken camera out of orxonox.cc/h because, it just does not belong there

Location:
orxonox/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/orxonox.cc

    r3611 r3613  
    2727
    2828#include "world.h"
    29 #include "camera.h"
    3029#include "data_tank.h"
    3130#include "command_node.h"
     
    5453  if( world != NULL) delete world;
    5554  if( localinput != NULL) delete world;
    56   if( localcamera != NULL) delete localcamera;
    5755  if( resources != NULL) delete resources;
    5856  delete GraphicsEngine::getInstance(); // deleting the Graphics
     
    236234}
    237235
    238 
    239 /**
    240    \brief retrieve a pointer to the local Camera
    241    \return a pointer to localcamera
    242 */
    243 Camera* Orxonox::getCamera()
    244 {
    245   return localcamera;
    246 }
    247 
    248 
    249236/**
    250237   \brief retrieve a pointer to the local CommandNode
  • orxonox/trunk/src/orxonox.h

    r3608 r3613  
    3131  DataTank* resources;        //!< DataContainer
    3232  CommandNode* localinput;    //!< Command Handler
    33   Camera* localcamera;        //!< The current Camera
    3433  SDL_Surface* screen;        //!< The current Screen
    3534  GameLoader* gameLoader;     //!< The gameLoader
     
    6766 
    6867  CommandNode* getLocalInput();
    69   Camera* getCamera();
    7068  World* getWorld();
    7169  SDL_Surface* getScreen ();
Note: See TracChangeset for help on using the changeset viewer.