Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8881 in orxonox.OLD for branches/single_player_map


Ignore:
Timestamp:
Jun 28, 2006, 6:05:06 PM (19 years ago)
Author:
patrick
Message:

door animations again better nicer and cooler…

Location:
branches/single_player_map/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/single_player_map/src/world_entities/door.cc

    r8880 r8881  
    9292{
    9393  if( likely(this->getModel(0) != NULL))
    94     ((InteractiveModel*)this->getModel(0))->setAnimation(firstFrame, lastFrame, fps, bStoppable, animPlayback);
     94    ((InteractiveModel*)this->getModel(0))->setAnimation(animationList[animNum].firstFrame,
     95                                                         animationList[animNum].lastFrame,
     96                                                         animationList[animNum].fps,
     97                                                         animationList[animNum].bStoppable,
     98                                                         playbackMode);
    9599
    96100
  • branches/single_player_map/src/world_entities/door.h

    r8880 r8881  
    1212typedef enum DoorAnimType
    1313{
    14   OPEN = 0,
    15   CLOSE,
     14  DOOR_OPEN = 0,
     15  DOOR_CLOSE,
    1616
    17   MAX_ANIMATIONS
     17  DOOR_MAX_ANIMATIONS
    1818};
    1919
Note: See TracChangeset for help on using the changeset viewer.