d_items.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. // Emacs style mode select -*- C++ -*-
  2. //-----------------------------------------------------------------------------
  3. //
  4. // $Id:$
  5. //
  6. // Copyright (C) 1993-1996 by id Software, Inc.
  7. //
  8. // This source is available for distribution and/or modification
  9. // only under the terms of the DOOM Source Code License as
  10. // published by id Software. All rights reserved.
  11. //
  12. // The source is distributed in the hope that it will be useful,
  13. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. // FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
  15. // for more details.
  16. //
  17. // DESCRIPTION:
  18. // Items: key cards, artifacts, weapon, ammunition.
  19. //
  20. //-----------------------------------------------------------------------------
  21. #ifndef __D_ITEMS__
  22. #define __D_ITEMS__
  23. #include "doomdef.h"
  24. #ifdef __GNUG__
  25. #pragma interface
  26. #endif
  27. // Weapon info: sprite frames, ammunition use.
  28. typedef struct
  29. {
  30. ammotype_t ammo;
  31. int upstate;
  32. int downstate;
  33. int readystate;
  34. int atkstate;
  35. int flashstate;
  36. } weaponinfo_t;
  37. extern weaponinfo_t weaponinfo[NUMWEAPONS];
  38. #endif
  39. //-----------------------------------------------------------------------------
  40. //
  41. // $Log:$
  42. //
  43. //-----------------------------------------------------------------------------