Well, at present the Windows code for the actual game almost compiles. The current goal is to undo all the things that Ormus did to make this job difficult.
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
This commit is contained in:
36
Win32/Blades of Exile/boe.dlgutil.h
Normal file
36
Win32/Blades of Exile/boe.dlgutil.h
Normal file
@@ -0,0 +1,36 @@
|
||||
#ifndef _DLGUTILS_H
|
||||
#define _DLGUTILS_H
|
||||
|
||||
void start_shop_mode(short shop_type,short shop_min,short shop_max,short cost_adj,char *store_name);
|
||||
void end_shop_mode();
|
||||
void handle_shop_event(POINT p);
|
||||
void handle_sale(short what_chosen,short cost);
|
||||
void handle_info_request(short what_chosen);
|
||||
void set_up_shop_array();
|
||||
void start_talk_mode(short m_num,short personality,unsigned char monst_type,short store_face_pic);
|
||||
void end_talk_mode();
|
||||
void handle_talk_event(POINT p);
|
||||
void handle_talk_spec(short ttype,char *place_string1,char *place_string2);
|
||||
void put_num_in_text(short num_to_put,HWND the_dialog,short item_num);
|
||||
long get_text_item_num(short item_num,HWND the_dialog);
|
||||
void do_sign(short town_num, short which_sign, short sign_type);
|
||||
void do_talk(short personality, unsigned char m_num);
|
||||
void edit_party_event_filter (short item_hit);
|
||||
void put_party_stats();
|
||||
void edit_party();
|
||||
Boolean prefs_event_filter (short item_hit);
|
||||
Boolean compatibility_event_filter (short item_hit);
|
||||
void pick_preferences() ;
|
||||
void pick_compatibility();
|
||||
|
||||
void tip_of_day_event_filter (short item_hit);
|
||||
void tip_of_day();
|
||||
void max_window(HWND window);
|
||||
|
||||
void put_scen_info();
|
||||
void pick_a_scen_event_filter (short item_hit);
|
||||
short pick_a_scen();
|
||||
short pick_prefab_scen();
|
||||
void pick_prefab_scen_event_filter (short item_hit);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user