Changeset 9417 in orxonox.OLD for branches/terrain/src/story_entities
- Timestamp:
- Jul 24, 2006, 1:23:47 PM (18 years ago)
- Location:
- branches/terrain/src/story_entities
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/terrain/src/story_entities/game_world.cc
r9406 r9417 30 30 #include "camera.h" 31 31 #include "environment.h" 32 #include "terrain .h"32 #include "terrain_entity.h" 33 33 #include "test_entity.h" 34 #include "terrain .h"34 #include "terrain_entity.h" 35 35 #include "playable.h" 36 36 #include "environments/mapped_water.h" -
branches/terrain/src/story_entities/game_world_data.cc
r9406 r9417 31 31 #include "player.h" 32 32 #include "camera.h" 33 #include "terrain .h"33 #include "terrain_entity.h" 34 34 #include "skybox.h" 35 35 #include "md2/md2Model.h" … … 222 222 if( element->Value() == "Terrain" && created->isA(CL_TERRAIN)) 223 223 { 224 this->terrain = dynamic_cast<Terrain *>(created);224 this->terrain = dynamic_cast<TerrainEntity*>(created); 225 225 CDEngine::getInstance()->setTerrain(terrain); 226 226 } -
branches/terrain/src/story_entities/game_world_data.h
r9406 r9417 14 14 class Camera; 15 15 class Player; 16 class Terrain ;16 class TerrainEntity; 17 17 class WorldEntity; 18 18 … … 58 58 Player* localPlayer; //!< The player, you fly through the level. 59 59 WorldEntity* sky; //!< The environmental sky of orxonox 60 Terrain *terrain; //!< The terrain - ground60 TerrainEntity* terrain; //!< The terrain - ground 61 61 62 62 OrxSound::OggPlayer* music; //!< Reference to the SoundEngine's music player (OggPlayer) -
branches/terrain/src/story_entities/multi_player_world_data.cc
r9406 r9417 31 31 #include "camera.h" 32 32 #include "environment.h" 33 #include "terrain .h"33 #include "terrain_entity.h" 34 34 #include "test_entity.h" 35 #include "terrain.h"36 35 #include "md2/md2Model.h" 37 36 #include "world_entities/projectiles/projectile.h" … … 161 160 if( element->Value() != NULL && !strcmp( element->Value(), "SkyBox")) 162 161 this->sky = dynamic_cast<WorldEntity*>(created); 163 if( element->Value() != NULL && !strcmp( element->Value(), "Terrain "))162 if( element->Value() != NULL && !strcmp( element->Value(), "TerrainEntityF")) 164 163 { 165 this->terrain = dynamic_cast<Terrain *>(created);164 this->terrain = dynamic_cast<TerrainEntity*>(created); 166 165 CDEngine::getInstance()->setTerrain(terrain); 167 166 } … … 194 193 if( element->Value() != NULL && !strcmp( element->Value(), "Terrain")) 195 194 { 196 this->terrain = dynamic_cast<Terrain *>(created);195 this->terrain = dynamic_cast<TerrainEntity*>(created); 197 196 CDEngine::getInstance()->setTerrain(terrain); 198 197 }
Note: See TracChangeset
for help on using the changeset viewer.