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

@@ -1,9 +1,9 @@
void start_outdoor_combat(outdoor_creature_type encounter,unsigned char in_which_terrain,short num_walls);
void start_outdoor_combat(cOutdoors::cCreature encounter,unsigned char in_which_terrain,short num_walls);
Boolean pc_combat_move(location destination);
void char_parry();
void char_stand_ready();
void pc_attack(short who_att,short target);
short calc_spec_dam(short abil,short abil_str,creature_data_type *monst);
short calc_spec_dam(short abil,short abil_str,cPopulation::cCreature *monst);
void place_target(location target);
void do_combat_cast(location target);
void handle_marked_damage();
@@ -16,9 +16,9 @@ void do_monster_turn();
void monster_attack_pc(short who_att,short target);
void monster_attack_monster(short who_att,short attackee);
void monst_fire_missile(short m_num,short skill,short bless,short level,location source,short target);
Boolean monst_breathe(creature_data_type *caster,location targ_space,short dam_type);
Boolean monst_cast_mage(creature_data_type *caster,short targ);
Boolean monst_cast_priest(creature_data_type *caster,short targ);
Boolean monst_breathe(cPopulation::cCreature *caster,location targ_space,short dam_type);
Boolean monst_cast_mage(cPopulation::cCreature *caster,short targ);
Boolean monst_cast_priest(cPopulation::cCreature *caster,short targ);
void damage_target(short target,short dam,short type);
location find_fireball_loc(location where,short radius,short mode,short *m);
location closest_pc_loc(location where);
@@ -49,6 +49,6 @@ void process_fields();
void scloud_space(short m,short n);
void web_space(short m,short n);
void sleep_cloud_space(short m,short n);
void take_m_ap(short num,creature_data_type *monst);
void take_m_ap(short num,cPopulation::cCreature *monst);
void add_new_action(short pc_num);
short get_monst_sound(creature_data_type *attacker,short which_att);
short get_monst_sound(cPopulation::cCreature *attacker,short which_att);