Changeset 7071 in orxonox.OLD for trunk/src/lib/graphics/importer/md2Model.h
- Timestamp:
- Feb 7, 2006, 2:58:08 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/md2Model.h
r7059 r7071 136 136 int nextFrame; //!< the next frame in the list 137 137 int numPlays; //!< the number of times, this has been played in series 138 139 int animPlaybackMode; //!< the playback mode 138 140 } sAnimState; 139 141 … … 168 170 169 171 172 typedef enum animPlayback 173 { 174 MD2_ANIM_LOOP = 0, 175 MD2_ANIM_ONCE, 176 177 MD2_ANIM_NUM 178 }; 179 180 170 181 171 182 /* forward definitions */ … … 219 230 220 231 221 void setAnim(int type );232 void setAnim(int type, int animPlayback = MD2_ANIM_LOOP); 222 233 /** returns the current animation @returns animation type */ 223 234 inline int MD2Model::getAnim() { return this->animationState.type; }
Note: See TracChangeset
for help on using the changeset viewer.