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.4 KiB
C
35 lines
1.4 KiB
C
#ifndef _NEWGRAPH_H
|
|
#define _NEWGRAPH_H
|
|
|
|
typedef struct {
|
|
char word[15];
|
|
RECT word_rect;
|
|
} word_rect_type;
|
|
|
|
void apply_unseen_mask();
|
|
void apply_light_mask();
|
|
|
|
void start_missile_anim();
|
|
short get_missile_direction(POINT origin_point,POINT the_point);
|
|
void end_missile_anim() ;
|
|
void run_a_missile(location from,location fire_to,short miss_type,short path,short sound_num,short x_adj,short y_adj,short len);
|
|
void run_a_boom(location boom_where,short type,short x_adj,short y_adj);
|
|
void mondo_boom(location l,short type);
|
|
void add_missile(location dest,short missile_type,short path_type,short x_adj,short y_adj);
|
|
void add_explosion(location dest,short val_to_place,short place_type,short boom_type,short x_adj,short y_adj);
|
|
void do_missile_anim(short num_steps,location missile_origin,short sound_num) ;
|
|
void do_explosion_anim(short sound_num,short expand);
|
|
void click_shop_rect(RECT area_rect);
|
|
void draw_shop_graphics(short draw_mode,RECT clip_area_rect);
|
|
void refresh_shopping();
|
|
item_record_type store_mage_spells(short which_s) ;
|
|
item_record_type store_priest_spells(short which_s);
|
|
item_record_type store_alchemy(short which_s);
|
|
void get_item_interesting_string(item_record_type item,char *message);
|
|
void click_talk_rect(char *str_to_place,char *str_to_place2,RECT c_rect);
|
|
void place_talk_str(char *str_to_place,char *str_to_place2,short color,RECT c_rect);
|
|
short scan_for_response(char *str);
|
|
void refresh_talking();
|
|
|
|
#endif
|