More refactoring. The code is ALMOST able to compile now – all three programs together give a mere 25 errors.

git-svn-id: http://openexile.googlecode.com/svn/trunk@31 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
2009-04-25 05:12:14 +00:00
parent c8df8232ab
commit 3ba7021543
78 changed files with 7449 additions and 5947 deletions

View File

@@ -3,9 +3,9 @@ short difficulty_adjust();
short out_enc_lev_tot(short which);
short count_monst();
void create_wand_monst();
void place_outd_wand_monst(location where,out_wandering_type group,short forced);
short is_null_wand_entry(wandering_type wand_entry);
short is_null_out_wand_entry(out_wandering_type wand_entry);
void place_outd_wand_monst(location where,cOutdoors::cWandering group,short forced);
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 char monst);
short get_monst_pictype(unsigned char monst);
@@ -14,8 +14,8 @@ void set_up_monst(short mode,unsigned char m_num);
void do_monsters();
Boolean monst_hate_spot(short which_m,location *good_loc);
short monst_pick_target(short which_m);
short monst_pick_target_monst(creature_data_type *which_m);
short monst_pick_target_pc(short m_num,creature_data_type *which_m);
short monst_pick_target_monst(cPopulation::cCreature *which_m);
short monst_pick_target_pc(short m_num,cPopulation::cCreature *which_m);
short select_active_pc();
short closest_pc(location where);
short closest_monst(location where,short mode);
@@ -34,17 +34,17 @@ Boolean monster_placid(short m_num);
void monst_inflict_fields(short which_monst);
Boolean monst_check_special_terrain(location where_check,short mode,short which_monst);
void forced_place_monster(unsigned char which,location where);
void magic_adjust(creature_data_type *which_m,short *how_much);
void poison_monst(creature_data_type *which_m,short how_much);
void acid_monst(creature_data_type *which_m,short how_much);
void slow_monst(creature_data_type *which_m,short how_much);
void curse_monst(creature_data_type *which_m,short how_much);
void web_monst(creature_data_type *which_m,short how_much);
void scare_monst(creature_data_type *which_m,short how_much);
void disease_monst(creature_data_type *which_m,short how_much);
void dumbfound_monst(creature_data_type *which_m,short how_much);
void charm_monst(creature_data_type *which_m,short penalty,short which_status,short amount);
void record_monst(creature_data_type *which_m);
void magic_adjust(cPopulation::cCreature *which_m,short *how_much);
void poison_monst(cPopulation::cCreature *which_m,short how_much);
void acid_monst(cPopulation::cCreature *which_m,short how_much);
void slow_monst(cPopulation::cCreature *which_m,short how_much);
void curse_monst(cPopulation::cCreature *which_m,short how_much);
void web_monst(cPopulation::cCreature *which_m,short how_much);
void scare_monst(cPopulation::cCreature *which_m,short how_much);
void disease_monst(cPopulation::cCreature *which_m,short how_much);
void dumbfound_monst(cPopulation::cCreature *which_m,short how_much);
void charm_monst(cPopulation::cCreature *which_m,short penalty,short which_status,short amount);
void record_monst(cPopulation::cCreature *which_m);
short place_monster(unsigned char which,location where);
Boolean summon_monster(unsigned char which,location where,short duration,short given_attitude);
void activate_monsters(short code,short attitude);