Player.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /* Copyright (c) 2002-2012 Croteam Ltd.
  2. This program is free software; you can redistribute it and/or modify
  3. it under the terms of version 2 of the GNU General Public License as published by
  4. the Free Software Foundation
  5. This program is distributed in the hope that it will be useful,
  6. but WITHOUT ANY WARRANTY; without even the implied warranty of
  7. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  8. GNU General Public License for more details.
  9. You should have received a copy of the GNU General Public License along
  10. with this program; if not, write to the Free Software Foundation, Inc.,
  11. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
  12. // Animation names
  13. #define PLAYER_ANIM_DEFAULT_ANIMATION 0
  14. #define PLAYER_ANIM_STAND 1
  15. #define PLAYER_ANIM_BACKPEDAL 2
  16. #define PLAYER_ANIM_BACKPEDALRUN 3
  17. #define PLAYER_ANIM_JUMPSTART 4
  18. #define PLAYER_ANIM_JUMPEND 5
  19. #define PLAYER_ANIM_TURNLEFT 6
  20. #define PLAYER_ANIM_TURNRIGHT 7
  21. #define PLAYER_ANIM_RUN 8
  22. #define PLAYER_ANIM_NORMALWALK 9
  23. #define PLAYER_ANIM_CROUCH 10
  24. #define PLAYER_ANIM_RISE 11
  25. #define PLAYER_ANIM_CROUCH_IDLE 12
  26. #define PLAYER_ANIM_CROUCH_TURNLEFT 13
  27. #define PLAYER_ANIM_CROUCH_TURNRIGHT 14
  28. #define PLAYER_ANIM_CROUCH_WALK 15
  29. #define PLAYER_ANIM_CROUCH_WALKBACK 16
  30. #define PLAYER_ANIM_SWIM 17
  31. #define PLAYER_ANIM_SWIMIDLE 18
  32. #define PLAYER_ANIM_DEATH_UNDERWATER 19
  33. #define PLAYER_ANIM_DEATH_BACK 20
  34. #define PLAYER_ANIM_DEATH_EASYFALLBACK 21
  35. #define PLAYER_ANIM_DEATH_FORWARD 22
  36. #define PLAYER_ANIM_DEATH_EASYFALLFORWARD 23
  37. #define PLAYER_ANIM_DEATH_SPIKES 24
  38. #define PLAYER_ANIM_STATUE_PUT 25
  39. // Color names
  40. // Patch names
  41. // Names of collision boxes
  42. #define PLAYER_COLLISION_BOX_STAND 0
  43. #define PLAYER_COLLISION_BOX_CROUCH 1
  44. #define PLAYER_COLLISION_BOX_SWIM 2
  45. // Attaching position names
  46. #define PLAYER_ATTACHMENT_TORSO 0
  47. // Sound names