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
36 lines
1.0 KiB
C
36 lines
1.0 KiB
C
#ifndef _FILEIO_H
|
|
#define _FILEIO_H
|
|
|
|
BOOL check_for_interrupt();
|
|
void Get_Path(char* path);
|
|
void file_initialize();
|
|
void load_file();
|
|
void save_file(short mode);
|
|
void form_template_terrain() ;
|
|
void load_town(short town_num,short mode,short extra,char *str);
|
|
void shift_universe_left();
|
|
void shift_universe_right();
|
|
void shift_universe_up();
|
|
void shift_universe_down();
|
|
void position_party(short out_x,short out_y,short pc_pos_x,short pc_pos_y);
|
|
void build_outdoors();
|
|
void save_outdoor_maps();
|
|
void add_outdoor_maps();
|
|
void fix_boats();
|
|
void load_outdoors(short to_create_x, short to_create_y, short targ_x, short targ_y,
|
|
short mode,short extra,char *str);
|
|
void get_reg_data();
|
|
long do_waterfall(long flag);
|
|
void import_template_terrain();
|
|
void import_anim_terrain(short mode);
|
|
void start_data_dump();
|
|
void end_data_dump();
|
|
void set_terrain(location l, unsigned char terrain_type);
|
|
void set_up_ter_pics();
|
|
Boolean load_scenario();
|
|
short onm(char x_sector,char y_sector);
|
|
void build_scen_headers();
|
|
short get_buf_ptr(short flag);
|
|
void build_data_file(short mode);
|
|
#endif
|