Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9417 in orxonox.OLD for branches/terrain/src/story_entities


Ignore:
Timestamp:
Jul 24, 2006, 1:23:47 PM (18 years ago)
Author:
bensch
Message:

Cleanup after merge

Location:
branches/terrain/src/story_entities
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/terrain/src/story_entities/game_world.cc

    r9406 r9417  
    3030#include "camera.h"
    3131#include "environment.h"
    32 #include "terrain.h"
     32#include "terrain_entity.h"
    3333#include "test_entity.h"
    34 #include "terrain.h"
     34#include "terrain_entity.h"
    3535#include "playable.h"
    3636#include "environments/mapped_water.h"
  • branches/terrain/src/story_entities/game_world_data.cc

    r9406 r9417  
    3131#include "player.h"
    3232#include "camera.h"
    33 #include "terrain.h"
     33#include "terrain_entity.h"
    3434#include "skybox.h"
    3535#include "md2/md2Model.h"
     
    222222      if( element->Value() == "Terrain" && created->isA(CL_TERRAIN))
    223223      {
    224         this->terrain = dynamic_cast<Terrain*>(created);
     224        this->terrain = dynamic_cast<TerrainEntity*>(created);
    225225        CDEngine::getInstance()->setTerrain(terrain);
    226226      }
  • branches/terrain/src/story_entities/game_world_data.h

    r9406 r9417  
    1414class Camera;
    1515class Player;
    16 class Terrain;
     16class TerrainEntity;
    1717class WorldEntity;
    1818
     
    5858    Player*                       localPlayer;    //!< The player, you fly through the level.
    5959    WorldEntity*                  sky;            //!< The environmental sky of orxonox
    60     Terrain*                      terrain;        //!< The terrain - ground
     60    TerrainEntity*                terrain;        //!< The terrain - ground
    6161
    6262    OrxSound::OggPlayer*          music;          //!< Reference to the SoundEngine's music player (OggPlayer)
  • branches/terrain/src/story_entities/multi_player_world_data.cc

    r9406 r9417  
    3131#include "camera.h"
    3232#include "environment.h"
    33 #include "terrain.h"
     33#include "terrain_entity.h"
    3434#include "test_entity.h"
    35 #include "terrain.h"
    3635#include "md2/md2Model.h"
    3736#include "world_entities/projectiles/projectile.h"
     
    161160        if( element->Value() != NULL && !strcmp( element->Value(), "SkyBox"))
    162161          this->sky = dynamic_cast<WorldEntity*>(created);
    163         if( element->Value() != NULL && !strcmp( element->Value(), "Terrain"))
     162        if( element->Value() != NULL && !strcmp( element->Value(), "TerrainEntityF"))
    164163        {
    165           this->terrain = dynamic_cast<Terrain*>(created);
     164          this->terrain = dynamic_cast<TerrainEntity*>(created);
    166165          CDEngine::getInstance()->setTerrain(terrain);
    167166        }
     
    194193          if( element->Value() != NULL && !strcmp( element->Value(), "Terrain"))
    195194          {
    196             this->terrain = dynamic_cast<Terrain*>(created);
     195            this->terrain = dynamic_cast<TerrainEntity*>(created);
    197196            CDEngine::getInstance()->setTerrain(terrain);
    198197          }
Note: See TracChangeset for help on using the changeset viewer.