- Added enums for trap type, damage type, and monster type

- Changed something that may have been a bug in which an undead monster attacking another monster would do demonic damage (and vice versa).

git-svn-id: http://openexile.googlecode.com/svn/trunk@35 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
2009-04-27 02:08:58 +00:00
parent 440eb5a765
commit fa528023e7
14 changed files with 364 additions and 280 deletions

View File

@@ -3,7 +3,7 @@ Boolean special_trap(short trap_type,short dialog_num,short *flip_bit);
void OTS(short str1b,short str2b,short str12a,short sound,unsigned char *flip_bit);
void DSG(short item_num,unsigned char *flip_bit,short dialog_num,short what_spec,short amt_gold,short amt_food);
Boolean GFI(short dialog_num);
Boolean run_trap(short pc_num,short trap_type,short trap_level,short diff);
Boolean run_trap(short pc_num,eTrapType trap_type,short trap_level,short diff);
location get_spec_loc(short which);
void start_split(short a,short b,short noise) ;