Fixed several bugs in Win32 Char Editor :

- Corrected the edit day option so that it sets the day to the one specified and not to the day after.
- Fixed the saving function : now changes can be saved outdoors (that was crashing at save stored_items making give_map non functional).
That also fixes the stored items arrays being filled with items from current town.
- If in a scenario, the editor nows display the name of the town the party is in or if they are outdoor.
- Giving PC items from a Mac made scenario doesn't crash the game anymore (overall Mac scenario support added)
- Cleaned the ressource file. The executable is now smaller.
- On give items : the editor now tries to load the bladbase.exs file if the scenario file is not found. If can't locate the bladbase, the items menus are grayed.

git-svn-id: http://openexile.googlecode.com/svn/trunk@29 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
Chokboyz
2009-04-24 00:17:12 +00:00
parent fad42597a6
commit e2807dbeed
11 changed files with 480 additions and 1702 deletions

View File

@@ -2,13 +2,13 @@ void file_initialize();
void save_file(short mode);
void load_file();
void leave_town();
long do_waterfall(long flag);
long init_data(long flag);
void build_data_file(short mode);
short FSWrite(HFILE file,long *len,char *buffer);
short FSRead(HFILE file,long *len,char *buffer);
short FSClose(HFILE file);
short SetFPos(HFILE file, short mode, long len);
void remove_party_from_scen();
void Get_Path(char* path);
void load_items_list();
short load_items_list();
void load_town_strings(short which_town);
void port_scenario(scenario_data_type *scenario);
void port_item_list();
void flip_short(short *s);
void flip_rect(RECT16 *s);
void flip_spec_node(special_node_type *spec);