diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/deh_weapon.c | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/deh_weapon.c b/src/deh_weapon.c index 682b865c..7cc3eb5c 100644 --- a/src/deh_weapon.c +++ b/src/deh_weapon.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: deh_weapon.c 153 2005-10-02 23:49:01Z fraggle $ +// $Id: deh_weapon.c 156 2005-10-03 11:02:08Z fraggle $ // // Copyright(C) 2005 Simon Howard // @@ -21,6 +21,9 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.2 2005/10/03 11:02:08 fraggle +// Add a weaponinfo_t mapping +// // Revision 1.1 2005/10/02 23:49:01 fraggle // The beginnings of dehacked support // @@ -33,7 +36,20 @@ #include "doomdef.h" #include "doomtype.h" + +#include "d_items.h" + #include "deh_defs.h" +#include "deh_mapping.h" + +DEH_BEGIN_MAPPING(weapon_mapping, weaponinfo_t) + DEH_MAPPING("Ammo type", ammo) + DEH_MAPPING("Deselect frame", upstate) + DEH_MAPPING("Select frame", downstate) + DEH_MAPPING("Bobbing frame", readystate) + DEH_MAPPING("Shooting frame", atkstate) + DEH_MAPPING("Firing frame", flashstate) +DEH_END_MAPPING static void *DEH_WeaponStart(deh_context_t *context, char *line) { |