make damage type -> sound type DRY

And while I'm at it, resolve a TODO note and remove a bunch of unnecessary 0s
This commit is contained in:
2024-11-26 13:07:37 -06:00
committed by Celtic Minstrel
parent d870180591
commit 3068e97868
9 changed files with 74 additions and 75 deletions

View File

@@ -37,7 +37,7 @@ mon_num_t pick_trapped_monst();
bool flying() ;
void hit_party(short how_much,eDamageType damage_type,short snd_type = 0);
void slay_party(eMainStatus mode);
short damage_pc(cPlayer& which_pc,short how_much,eDamageType damage_type,eRace type_of_attacker, short sound_type,bool do_print = true);
short damage_pc(cPlayer& which_pc,short how_much,eDamageType damage_type,eRace type_of_attacker, short sound_type = -1,bool do_print = true);
void petrify_pc(cPlayer& which_pc,int strength);
void kill_pc(cPlayer& which_pc,eMainStatus type);
void set_pc_moves();