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
35 lines
1.1 KiB
C
35 lines
1.1 KiB
C
#ifndef _ACTIONS_H
|
|
#define _ACTIONS_H
|
|
|
|
void init_screen_locs();
|
|
Boolean prime_time();
|
|
Boolean handle_action(POINT the_point, WPARAM wparam, LPARAM lparam );
|
|
Boolean someone_awake();
|
|
void flash_rect(RECT to_flash);
|
|
void flash_round_rect(RECT to_flash,short radius);
|
|
void button_flash_rect(RECT to_flash);
|
|
void handle_menu_spell(short spell_picked,short spell_type) ;
|
|
void initiate_outdoor_combat(short i);
|
|
void initiate_redraw();
|
|
Boolean handle_syskeystroke(UINT wParam,LONG lParam,short *handled);
|
|
Boolean handle_keystroke(UINT wParam,LONG lParam);
|
|
void menu_activate( short type);
|
|
void do_load();
|
|
void post_load();
|
|
void do_save(short mode);
|
|
void increase_age();
|
|
void switch_pc(short which);
|
|
void handle_death();
|
|
void start_new_game();
|
|
location get_cur_direction(POINT the_point);
|
|
Boolean outd_move_party(location destination,Boolean forced);
|
|
Boolean town_move_party(location destination,short forced);
|
|
Boolean someone_poisoned();
|
|
short nearest_monster();
|
|
void setup_outdoors(location where);
|
|
short get_outdoor_num();
|
|
Boolean is_sign(unsigned char ter);
|
|
void check_cd_event(HWND hwnd,UINT message,WPARAM wparam,LPARAM lparam);
|
|
|
|
#endif
|