Changeset 8943 in orxonox.OLD for branches/single_player_map/src/lib
- Timestamp:
- Jun 30, 2006, 3:21:44 AM (19 years ago)
- Location:
- branches/single_player_map/src/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/lib/collision_reaction/cr_physics_ground_walk.cc
r8940 r8943 121 121 { 122 122 entity->shiftCoor(Vector(0.0f, -height, 0.0f)); 123 //entity->setOnGround(true);123 entity->setOnGround(true); 124 124 } 125 125 // object is already in the wall … … 131 131 { 132 132 // entity is not on ground 133 //entity->setOnGround(false);133 entity->setOnGround(false); 134 134 } 135 135 break; -
branches/single_player_map/src/lib/graphics/importer/interactive_model.h
r8894 r8943 40 40 virtual int getAnimation() = 0; 41 41 42 virtual bool isAnimationFinished() { return false; } 43 42 44 virtual void setAnimationSpeed(float speed) {} 43 45 }; -
branches/single_player_map/src/lib/graphics/importer/md2/md2Model.h
r8894 r8943 161 161 inline int MD2Model::getAnimation() { return this->animationState.type; } 162 162 virtual void setAnimationSpeed(float speed) { this->animationSpeed = speed; } 163 virtual bool isAnimationFinished() { return (this->animationState.currentFrame == this->animationState.endFrame )?true:false; } 163 164 /** scales the current model @param scaleFactor: the factor [0..1] to use for scaling */ 164 165 void scaleModel(float scaleFactor) { this->scaleFactor = scaleFactor;}
Note: See TracChangeset
for help on using the changeset viewer.