Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10581 in orxonox.OLD for branches/cleanup/src/world_entities/npcs


Ignore:
Timestamp:
Feb 8, 2007, 12:20:20 AM (18 years ago)
Author:
bensch
Message:

changed the animation3D and t_animation to match the new list structure… but i think it breaks workability… they are strange anyways

also removed the track, as it seems quite hacked in.
Here i uncommented everything for later reinjection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/cleanup/src/world_entities/npcs/npc.cc

    r10552 r10581  
    153153  if( this->entityTrack)
    154154  {
    155       this->setParent(this->entityTrack->getTrackNode());
     155/*      this->setParent(this->entityTrack->getTrackNode());*/
    156156      this->setRelCoor(0,0,0);
    157157  }
     
    427427  this->bFire = false;
    428428
    429  if(this->entityTrack)
    430     this->entityTrack->tick(dt);
     429// if(this->entityTrack)
     430//     this->entityTrack->tick(dt);
    431431
    432432}
     
    434434void NPC::draw() const
    435435{
    436  if( this->entityTrack != NULL && this->isDrawTrack())
    437   this->entityTrack->drawGraph();
     436// if( this->entityTrack != NULL && this->isDrawTrack())
     437//   this->entityTrack->drawGraph();
    438438
    439439 WorldEntity::draw();
Note: See TracChangeset for help on using the changeset viewer.