Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8685 in orxonox.OLD for branches/bsp_model/src/world_entities


Ignore:
Timestamp:
Jun 21, 2006, 8:52:20 PM (19 years ago)
Author:
patrick
Message:

bsp: fps player added, woking on it

Location:
branches/bsp_model/src/world_entities
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/bsp_model/src/world_entities/WorldEntities.am

    r8514 r8685  
    4242                world_entities/space_ships/collision_probe.cc \
    4343                world_entities/creatures/md2_creature.cc \
     44                world_entities/creatures/fps_player.cc \
    4445                world_entities/spectator.cc \
    4546                \
     
    9899                space_ships/collision_probe.cc \
    99100                creatures/md2_creature.h \
     101                creatures/fps_player.h \
    100102                spectator.h \
    101103                \
  • branches/bsp_model/src/world_entities/creatures/md2_creature.cc

    r8524 r8685  
    262262  else if( this->bFire && likely(this->getModel(0) != NULL))
    263263  {
    264     if( ((MD2Model*)this->getModel(0))->getAnim() != ATTACK)
     264    if( ((MD2Model*)this->getModel(0))->getAnimation() != ATTACK)
    265265      ((MD2Model*)this->getModel(0))->setAnimation(ATTACK);
    266266  }
    267267  else if( fabs(move.len()) > 0.0f && likely(this->getModel(0) != NULL))
    268268  {
    269     if( ((MD2Model*)this->getModel(0))->getAnim() != RUN)
     269    if( ((MD2Model*)this->getModel(0))->getAnimation() != RUN)
    270270      ((MD2Model*)this->getModel(0))->setAnimation(RUN);
    271271  }
    272272  else if (likely(this->getModel(0) != NULL))
    273273  {
    274     if( ((MD2Model*)this->getModel(0))->getAnim() != STAND)
     274    if( ((MD2Model*)this->getModel(0))->getAnimation() != STAND)
    275275      ((MD2Model*)this->getModel(0))->setAnimation(STAND);
    276276  }
Note: See TracChangeset for help on using the changeset viewer.