- Fixed up file loading (but then broke it again)
- Reworked preferences to use plist - Cleaned out the shareware code - More tweaks to the dialog engine - Edited dialog #869 (the choose prefab scenario dialog) to use new invisible button (type 6) and to remove the "Must be registered" lines. - Tweaked window size so that the startup screen fits within it. - More major refactoring work. - A few additions/alterations to boe.consts.h Current status: - Scenario editor: compiles and runs, but can't load a scenario - Character editor: don't know - Game: Doesn't even compile I wouldn't normally submit code that doesn't compile, but I have already made a lot of major changes in this revision. I will submit a version that compiles as soon as possible. git-svn-id: http://openexile.googlecode.com/svn/trunk@28 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
@@ -130,11 +130,11 @@ Boolean loc_off_act_area(location p1)
|
||||
location get_cur_loc()
|
||||
{
|
||||
switch (overall_mode) {
|
||||
case 0: case 35:
|
||||
case MODE_OUTDOORS: case MODE_LOOK_OUTDOORS:
|
||||
return party.p_loc;
|
||||
break;
|
||||
|
||||
case 1: case 2: case 3: case 4: case 36:
|
||||
case MODE_TOWN: case MODE_TALK_TOWN: case MODE_TOWN_TARGET: case MODE_USE: case MODE_LOOK_TOWN:
|
||||
return c_town.p_loc;
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user