Starting to turn the constants in boe.consts.h into enums. So far the overall mode and the player main status have been changed.

Also tried in vain to fix the problem with controls not being drawn.

git-svn-id: http://openexile.googlecode.com/svn/trunk@34 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
2009-04-26 22:30:53 +00:00
parent fcda358c5e
commit 440eb5a765
24 changed files with 261 additions and 166 deletions

View File

@@ -21,7 +21,8 @@ location which_party_sec;
//extern party_record_type party;
//extern current_town_type univ.town;
extern short overall_mode,which_combat_type,current_pc,town_type;
extern short which_combat_type,current_pc,town_type;
extern eGameMode overall_mode;
//extern big_tr_type t_d;
//extern cOutdoors outdoors[2][2];
extern unsigned char combat_terrain[64][64];
@@ -136,7 +137,7 @@ location get_cur_loc()
return univ.party.p_loc;
break;
case MODE_TOWN: case MODE_TALK_TOWN: case MODE_TOWN_TARGET: case MODE_USE: case MODE_LOOK_TOWN:
case MODE_TOWN: case MODE_TALK_TOWN: case MODE_TOWN_TARGET: case MODE_USE_TOWN: case MODE_LOOK_TOWN:
return univ.town.p_loc;
break;