Changeset 8439 in orxonox.OLD for branches/bsp_model/src/world_entities/test_entity.cc
- Timestamp:
- Jun 15, 2006, 1:50:54 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/world_entities/test_entity.cc
r8346 r8439 26 26 27 27 #include "test_entity.h" 28 #include "stdincl.h" 29 #include "model.h" 28 29 30 #include "interactive_model.h" 30 31 #include "md2/md2Model.h" 31 #include "obb_tree.h" 32 32 33 #include "state.h" 33 34 … … 90 91 { 91 92 if( likely(this->getModel(0) != NULL)) 92 (( MD2Model*)this->getModel(0))->setAnim(animationIndex, animPlaybackMode);93 ((InteractiveModel*)this->getModel(0))->setAnimation(animationIndex, animPlaybackMode); 93 94 } 94 95 … … 97 98 { 98 99 if( likely(this->getModel(0) != NULL)) 99 (( MD2Model*)this->getModel(0))->tick(time);100 ((InteractiveModel*)this->getModel(0))->tick(time); 100 101 101 102 } … … 122 123 123 124 this->bDeath = true; 124 float anim;125 125 int randi = (int)(5.0f * (float)rand()/(float)RAND_MAX); 126 126
Note: See TracChangeset
for help on using the changeset viewer.