Added some typedefs for clarity, and also added a cAttack class.

git-svn-id: http://openexile.googlecode.com/svn/trunk@77 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
2009-05-28 23:48:10 +00:00
parent 1af17438f3
commit eeaa9ca599
55 changed files with 289 additions and 272 deletions

View File

@@ -1,4 +1,4 @@
cMonster return_monster_template(unsigned short store);
cMonster return_monster_template(m_num_t store);
short difficulty_adjust();
short out_enc_lev_tot(short which);
short count_monst();
@@ -7,10 +7,10 @@ void place_outd_wand_monst(location where,cOutdoors::cWandering group,short forc
short is_null_wand_entry(cTown::cWandering wand_entry);
short is_null_out_wand_entry(cOutdoors::cWandering wand_entry);
location get_monst_head(short m_num);
short get_monst_picnum(unsigned short monst);
short get_monst_pictype(unsigned short monst);
void get_monst_dims(unsigned short monst,short *width, short *height);
void set_up_monst(short mode,unsigned short m_num);
short get_monst_picnum(m_num_t monst);
short get_monst_pictype(m_num_t monst);
void get_monst_dims(m_num_t monst,short *width, short *height);
void set_up_monst(short mode,m_num_t m_num);
void do_monsters();
bool monst_hate_spot(short which_m,location *good_loc);
short monst_pick_target(short which_m);
@@ -33,7 +33,7 @@ bool town_move_monster(short num,location dest);
bool monster_placid(short m_num);
void monst_inflict_fields(short which_monst);
bool monst_check_special_terrain(location where_check,short mode,short which_monst);
void forced_place_monster(unsigned short which,location where);
void forced_place_monster(m_num_t which,location where);
void magic_adjust(cCreature *which_m,short *how_much);
void poison_monst(cCreature *which_m,short how_much);
void acid_monst(cCreature *which_m,short how_much);
@@ -45,8 +45,8 @@ void disease_monst(cCreature *which_m,short how_much);
void dumbfound_monst(cCreature *which_m,short how_much);
void charm_monst(cCreature *which_m,short penalty,short which_status,short amount);
void record_monst(cCreature *which_m);
short place_monster(unsigned short which,location where);
bool summon_monster(unsigned short which,location where,short duration,short given_attitude);
short place_monster(m_num_t which,location where);
bool summon_monster(m_num_t which,location where,short duration,short given_attitude);
void activate_monsters(short code,short attitude);
short get_encumberance(short pc_num);
unsigned short get_summon_monster(short summon_class);
m_num_t get_summon_monster(short summon_class);