- Fixed some bugs in the dialog code.

- Dialogs in the scenario editor now show custom graphics.
- Scenario editor now works properly as a Universal binary.
- Started refactoring the structs into classes; so far this has only been applied to the game.
- Files now show proper icons (applications already did).
- Probably other things that I have forgotten.

Still not completely stable, but much closer.

git-svn-id: http://openexile.googlecode.com/svn/trunk@27 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
2009-04-21 20:02:07 +00:00
parent 7573c1ed98
commit a2c2a85a8e
63 changed files with 1741 additions and 1267 deletions

View File

@@ -20,21 +20,21 @@ void change_level(short town_num,short x,short y);
void push_things();
void special_increase_age();
void run_special(short which_mode,short which_type,short start_spec,location spec_loc,short *a,short *b,short *redraw);
special_node_type get_node(short cur_spec,short cur_spec_type);
void general_spec(short which_mode,special_node_type cur_node,short cur_spec_type,
cSpecial get_node(short cur_spec,short cur_spec_type);
void general_spec(short which_mode,cSpecial cur_node,short cur_spec_type,
short *next_spec,short *next_spec_type,short *a,short *b,short *redraw);
void setsd(short a,short b,short val);
void handle_message(short which_mode,short cur_type,short mess1,short mess2,short *a,short *b);
void get_strs(char *str1,char *str2,short cur_type,short which_str1,short which_str2) ;
void ifthen_spec(short which_mode,special_node_type cur_node,short cur_spec_type,
void ifthen_spec(short which_mode,cSpecial cur_node,short cur_spec_type,
short *next_spec,short *next_spec_type,short *a,short *b,short *redraw);
void affect_spec(short which_mode,special_node_type cur_node,short cur_spec_type,
void affect_spec(short which_mode,cSpecial cur_node,short cur_spec_type,
short *next_spec,short *next_spec_type,short *a,short *b,short *redraw);
void oneshot_spec(short which_mode,special_node_type cur_node,short cur_spec_type,
void oneshot_spec(short which_mode,cSpecial cur_node,short cur_spec_type,
short *next_spec,short *next_spec_type,short *a,short *b,short *redraw);
void townmode_spec(short which_mode,special_node_type cur_node,short cur_spec_type,
void townmode_spec(short which_mode,cSpecial cur_node,short cur_spec_type,
short *next_spec,short *next_spec_type,short *a,short *b,short *redraw);
void rect_spec(short which_mode,special_node_type cur_node,short cur_spec_type,
void rect_spec(short which_mode,cSpecial cur_node,short cur_spec_type,
short *next_spec,short *next_spec_type,short *a,short *b,short *redraw);
void outdoor_spec(short which_mode,special_node_type cur_node,short cur_spec_type,
void outdoor_spec(short which_mode,cSpecial cur_node,short cur_spec_type,
short *next_spec,short *next_spec_type,short *a,short *b,short *redraw);