Basically, remove as many as possible of the dependencies of the source files in the tools and classes folders on source files not in those folders. (With the exception that files in the classes folder may depend on files in the tools folder.) In this commit, several changes were made. - Project file modified, may need further modification. - Many files renamed to match the Mac version. - #include statements for system headers changed to use <> instead of "" (some already did, but many didn't). - xxx.h headers replaced with cxxx headers where appropriate. - Most sound-related variables moved from globvars.cpp to soundvars.cpp. - The files originally named graphutil and gutils have been merged. - Changed TRUE/FALSE to true/false. - Changed exlsound to soundtool and mostly removed dependencies on the main game files; the exception is that it still uses mainPtr (which probably can't be helped) and print_nums (which should probably be incorporated into the MessageBox string). - Possibly other things that were forgotten. For some reason this commit also includes changes recently committed into the branch for osx. git-svn-id: http://openexile.googlecode.com/svn/trunk@121 4ebdad44-0ea0-11de-aab3-ff745001d230
25 lines
1.1 KiB
C
25 lines
1.1 KiB
C
void force_town_enter(short which_town,location where_start);
|
|
void start_town_mode(short which_town, short entry_dir);
|
|
location end_town_mode(short switching_level,location destination); // returns new party location
|
|
void handle_leave_town_specials(short town_number, short which_spec,location start_loc) ;
|
|
void handle_town_specials(short town_number, short entry_dir,location start_loc) ;
|
|
void start_town_combat(short direction);
|
|
short end_town_combat();
|
|
void place_party(short direction);
|
|
void create_town_combat_terrain();
|
|
void create_out_combat_terrain(short type,short num_walls);
|
|
//void elim_monst(unsigned char which,short spec_a,short spec_b);
|
|
void do_shop(short which,short min,short max,char *store_name);
|
|
void buy_food(short cost,short per,char *food_name);
|
|
void healing_shop();
|
|
void do_sell(short which);
|
|
void dump_gold(short print_mes);
|
|
void erase_specials();
|
|
void erase_out_specials();
|
|
void clear_map();
|
|
void draw_map (HWND the_dialog, short the_item);
|
|
void draw_map_rect (HWND the_dialog, short ul_x, short ul_y, short lr_x, short lr_y);
|
|
void display_map();
|
|
void check_done();
|
|
Boolean quadrant_legal(short i, short j) ;
|