Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 21, 2006, 11:45:20 PM (18 years ago)
Author:
patrick
Message:

merged the terrain with the new trunk (MARK TERRAIN)

Location:
branches/terrain
Files:
1 edited
1 copied

Legend:

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

    r8490 r8697  
    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"
     
    199199      BaseObject* created = Factory::fabricate(element);
    200200      if( created != NULL )
    201         PRINTF(4)("Created a %s: %s\n", created->getClassName(), created->getName());
     201        PRINTF(2)("Created a %s: %s\n", created->getClassName(), created->getName());
    202202
    203203      //todo do this more elegant
     
    207207        State::setSkyBox(dynamic_cast<SkyBox*>(this->sky));
    208208      }
    209       if( element->Value() == "Terrain" && created->isA(CL_TERRAIN))
     209               
     210      if( element->Value() == "TerrainEntity" && created->isA(CL_TERRAIN))
    210211      {
    211         this->terrain = dynamic_cast<Terrain*>(created);
     212        this->terrain = dynamic_cast<TerrainEntity*>(created);
    212213        CDEngine::getInstance()->setTerrain(terrain);
    213214      }
Note: See TracChangeset for help on using the changeset viewer.