Added include guards to all class headers.
Removed unnecessary or potentially harmful compiler flags. Added alignment attribute to all old struct members. Removed some unused variables. Made some switch statements handle all or more cases. Removed using declarations in favor of fully qualified names. Fixed a couple of assignments in conditionals that should have been comparisons. Eliminated linker warnings by restoring default linking of standard libraries. Fixed some comparisons between signed and unsigned integers. Note: No testing has been done, in particular of old file I/O. This should be checked for regression caused by alteration of old struct definitions. git-svn-id: http://openexile.googlecode.com/svn/trunk@63 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#include <string>
|
||||
|
||||
short text_pc_has_abil_equip(short pc_num,short abil);
|
||||
void put_pc_screen();
|
||||
void place_buy_button(short position,short pc_num,short item_num);
|
||||
@@ -18,12 +20,12 @@ short out_boat_there(location where);
|
||||
short town_horse_there(location where);
|
||||
short out_horse_there(location where);
|
||||
void notify_out_combat_began(cOutdoors::cWandering encounter,short *nums) ;
|
||||
string get_m_name(unsigned short num);
|
||||
string get_ter_name(unsigned short num);
|
||||
std::string get_m_name(unsigned short num);
|
||||
std::string get_ter_name(unsigned short num);
|
||||
void print_monst_name(unsigned short m_type);
|
||||
void print_monst_attacks(unsigned short m_type,short target);
|
||||
void damaged_message(short damage,short type);
|
||||
string print_monster_going(unsigned short m_num,short ap);
|
||||
std::string print_monster_going(unsigned short m_num,short ap);
|
||||
void monst_spell_note(unsigned short number,short which_mess);
|
||||
void monst_cast_spell_note(unsigned short number,short spell,short type);
|
||||
void monst_breathe_note(unsigned short number);
|
||||
|
Reference in New Issue
Block a user