- Added a setting to skip delay when showing damage to the whole party. It's a hidden preference at the moment, like skip startup splash.
- Replaced all instances of Boolean with bool, TRUE with true, FALSE with false. (Except for a few cases where this resulted in a compile error.) git-svn-id: http://openexile.googlecode.com/svn/trunk@38 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
@@ -82,7 +82,7 @@ namespace legacy {
|
||||
char awkward, bonus, protection, charges, type;
|
||||
unsigned char graphic_num,ability, type_flag, is_special;
|
||||
short value;
|
||||
Boolean identified, magic;
|
||||
bool identified, magic;
|
||||
unsigned char weight, description_flag;
|
||||
char full_name[25], name[15];
|
||||
unsigned char reserved1,reserved2;
|
||||
@@ -204,13 +204,13 @@ namespace legacy {
|
||||
struct horse_record_type {
|
||||
location horse_loc,horse_loc_in_sec,horse_sector;
|
||||
short which_town;
|
||||
Boolean exists,property;
|
||||
bool exists,property;
|
||||
};
|
||||
|
||||
struct boat_record_type {
|
||||
location boat_loc,boat_loc_in_sec,boat_sector;
|
||||
short which_town;
|
||||
Boolean exists,property;
|
||||
bool exists,property;
|
||||
};
|
||||
|
||||
struct talk_save_type {
|
||||
@@ -236,7 +236,7 @@ namespace legacy {
|
||||
};
|
||||
|
||||
struct outdoor_creature_type {
|
||||
Boolean exists;
|
||||
bool exists;
|
||||
short direction;
|
||||
out_wandering_type what_monst;
|
||||
location which_sector,m_loc;
|
||||
@@ -262,7 +262,7 @@ namespace legacy {
|
||||
talk_save_type talk_save[120];
|
||||
short direction,at_which_save_slot;
|
||||
char alchemy[20];
|
||||
Boolean can_find_town[200];
|
||||
bool can_find_town[200];
|
||||
short key_times[100];
|
||||
short party_event_timers[30];
|
||||
short global_or_town[30];
|
||||
@@ -322,10 +322,10 @@ namespace legacy {
|
||||
short max_health,cur_health,max_sp,cur_sp,experience,skill_pts,level;
|
||||
short status[15];
|
||||
item_record_type items[24];
|
||||
Boolean equip[24];
|
||||
Boolean priest_spells[62],mage_spells[62];
|
||||
bool equip[24];
|
||||
bool priest_spells[62],mage_spells[62];
|
||||
short which_graphic,weap_poisoned;
|
||||
Boolean advan[15],traits[15];
|
||||
bool advan[15],traits[15];
|
||||
short race,exp_adj,direction;
|
||||
};
|
||||
|
||||
@@ -349,9 +349,9 @@ namespace legacy {
|
||||
short town_num, difficulty;
|
||||
town_record_type town;
|
||||
char explored[64][64];
|
||||
Boolean hostile;
|
||||
bool hostile;
|
||||
creature_list_type monst;
|
||||
Boolean in_boat;
|
||||
bool in_boat;
|
||||
location p_loc;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user