Files
oboe/Win32/Blades of Exile/boe.graphics.h
Celtic Minstrel b02902770c 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
2009-08-03 19:00:23 +00:00

56 lines
1.8 KiB
C

#ifndef _GRAPHICS_H
#define _GRAPHICS_H
void draw_startup_anim();
void draw_startup_stats();
void adjust_window_mode();
void plop_fancy_startup();
void fancy_startup_delay();
void init_startup();
void init_animation();
void next_animation_step() ;
void draw_startup(short but_type);
void reload_startup();
void draw_anim();
void place_anim();
void draw_start_button(short which_position,short which_button);
void main_button_click(short mode,RECT button_rect);
void arrow_button_click(RECT button_rect);
void end_startup();
void Set_up_win ();
void load_main_screen();
void create_clip_region();
void set_gworld_fonts(short font_num);
void redraw_screen(short mode);
void put_background();
void refresh_screen(short mode);
void draw_buttons(short mode);
void draw_text_area(short mode);
void reset_text_bar();
void draw_text_bar(short mode);
void put_text_bar(char *str);
void draw_terrain(short mode);
void place_trim(short q,short r,location where,unsigned char ter_type);
void draw_trim(short q,short r,short which_trim,short which_mode);
Boolean extend_road_terrain(unsigned char ter);
void place_road(short q,short r,location where);
void draw_rest_screen();
void boom_space(location where,short mode,short type,short damage,short sound);
void draw_pointing_arrows() ;
void redraw_terrain();
void draw_targets(location center);
void erase_spot(short i,short j);
void draw_targeting_line(POINT where_curs);
Boolean party_toast();
void redraw_partial_terrain(RECT redraw_rect);
void final_process_dialog(short which_dlog);
Boolean is_nature(char i, char j);
void put_dialog_graphic(short graphic_num,short spec_g,RECT draw_rect);
void lose_graphics();
void put_anim_str();
void pre_boom_space(location where,short mode,short type,short damage,short sound);
void swap_platform_graphics();
#endif