Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8929 in orxonox.OLD for branches/terrain/src/world_entities


Ignore:
Timestamp:
Jun 29, 2006, 11:45:59 PM (18 years ago)
Author:
ponder
Message:
  • added a clipping plane for removing popping effects
  • put the update stuff from terrain::draw to terrain::tick.
Location:
branches/terrain/src/world_entities
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/terrain/src/world_entities/playable.cc

    r8490 r8929  
    6767
    6868  this->subscribeReaction(CREngine::CR_PHYSICS_GROUND_WALK, CL_BSP_ENTITY);
    69 
     69        this->subscribeReaction(CREngine::CR_PHYSICS_GROUND_WALK, CL_TERRAIN );
    7070  registerVar( new SynchronizeableInt( &score, &score, "score" ) );
    7171  registerVar( new SynchronizeableBool( &bFire, &bFire, "bFire", PERMISSION_OWNER));
  • branches/terrain/src/world_entities/terrain_entity.cc

    r8748 r8929  
    101101{
    102102  this->setClassID( CL_TERRAIN, "TerrainEntity");
    103   this->toList(OM_ENVIRON_NOTICK);
     103  this->toList(OM_ENVIRON);
    104104  this->toReflectionList();
    105105
     
    200200
    201201
    202 
     202void TerrainEntity::tick( float _dt ) { if ( terrain ) terrain->tick( _dt ); }
    203203
    204204void TerrainEntity::draw () const
  • branches/terrain/src/world_entities/terrain_entity.h

    r8741 r8929  
    4747                void getAltitude( Vector& _position, Vector& _normal );
    4848                virtual void draw() const;
    49 
     49                virtual void tick( float _dt );
    5050        public:
    5151       
  • branches/terrain/src/world_entities/world_entity.cc

    r8490 r8929  
    427427    return false;
    428428
     429
    429430  // get a collision event
    430431  CollisionEvent* c = CREngine::getInstance()->popCollisionEventObject();
Note: See TracChangeset for help on using the changeset viewer.