Changeset 8685 in orxonox.OLD for branches/bsp_model/src/lib
- Timestamp:
- Jun 21, 2006, 8:52:20 PM (19 years ago)
- Location:
- branches/bsp_model/src/lib
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/event/key_mapper.cc
r7677 r8685 45 45 int KeyMapper::PEV_STRAFE_LEFT = EV_UNKNOWN; 46 46 int KeyMapper::PEV_STRAFE_RIGHT = EV_UNKNOWN; 47 int KeyMapper::PEV_JUMP = EV_UNKNOWN; 47 48 48 49 int KeyMapper::PEV_FIRE1 = EV_UNKNOWN; … … 83 84 {&KeyMapper::PEV_STRAFE_LEFT, "StrafeLeft", SDLK_q}, 84 85 {&KeyMapper::PEV_STRAFE_RIGHT, "StrafeRight", SDLK_e}, 86 {&KeyMapper::PEV_JUMP, "Jump", SDLK_SPACE}, 85 87 86 88 {&KeyMapper::PEV_FIRE1, CONFIG_NAME_PLAYER_FIRE, EV_MOUSE_BUTTON_LEFT}, -
branches/bsp_model/src/lib/event/key_mapper.h
r7661 r8685 55 55 static int PEV_STRAFE_RIGHT; //!< strafe right button 56 56 57 static int PEV_JUMP; //!< jump 58 57 59 static int PEV_FIRE1; //!< fire button 1 58 60 static int PEV_FIRE2; //!< fire button 2 -
branches/bsp_model/src/lib/graphics/importer/interactive_model.h
r8490 r8685 37 37 38 38 virtual void setAnimation(int animNum, int playbackMode = 0) = 0; 39 virtual int getAnimation() = 0; 39 40 }; 40 41 -
branches/bsp_model/src/lib/graphics/importer/md2/md2Model.h
r8490 r8685 159 159 virtual void setAnimation(int type, int animPlayback = MD2_ANIM_LOOP); 160 160 /** returns the current animation @returns animation type */ 161 inline int MD2Model::getAnim () { return this->animationState.type; }161 inline int MD2Model::getAnimation() { return this->animationState.type; } 162 162 /** scales the current model @param scaleFactor: the factor [0..1] to use for scaling */ 163 163 void scaleModel(float scaleFactor) { this->scaleFactor = scaleFactor;} -
branches/bsp_model/src/lib/graphics/importer/md3/md3_model.h
r8656 r8685 45 45 46 46 virtual void setAnimation(int animNum, int playbackMode = 0) {} 47 virtual int getAnimation() { return 0;} 47 48 48 49 virtual void tick(float dt);
Note: See TracChangeset
for help on using the changeset viewer.