- Reworked preferences to use plist - Cleaned out the shareware code - More tweaks to the dialog engine - Edited dialog #869 (the choose prefab scenario dialog) to use new invisible button (type 6) and to remove the "Must be registered" lines. - Tweaked window size so that the startup screen fits within it. - More major refactoring work. - A few additions/alterations to boe.consts.h Current status: - Scenario editor: compiles and runs, but can't load a scenario - Character editor: don't know - Game: Doesn't even compile I wouldn't normally submit code that doesn't compile, but I have already made a lot of major changes in this revision. I will submit a version that compiles as soon as possible. git-svn-id: http://openexile.googlecode.com/svn/trunk@28 4ebdad44-0ea0-11de-aab3-ff745001d230
44 lines
2.0 KiB
C
44 lines
2.0 KiB
C
/*
|
|
* dloglowlevel.h
|
|
* BoE
|
|
*
|
|
* Created by Celtic Minstrel on 16/04/09.
|
|
*
|
|
*/
|
|
|
|
#define IN_FRONT (WindowPtr)-1L
|
|
|
|
void process_new_window (short which_dlg);
|
|
short cd_get_indices(short dlg_num, short item_num, short *dlg_index, short *item_index);
|
|
short cd_get_dlg_index(short dlog_num);
|
|
short cd_find_dlog(WindowPtr window, short *dlg_num, short *dlg_key);
|
|
short cd_get_item_id(short dlg_num, short item_num);
|
|
Rect get_item_rect(WindowPtr hDlg, short item_num);
|
|
void frame_dlog_rect(GrafPtr hDlg, Rect rect, short val, short med_or_lt = 0);
|
|
void draw_dialog_graphic(GrafPtr hDlg, Rect rect, short which_g, short type_g, Boolean do_frame,short win_or_gworld);
|
|
void convert_pict(short& which_g, short& type_g,Rect& rect);
|
|
void draw_preset_ter_pic(short which_g,Rect& rect);
|
|
void draw_preset_anim_ter_pic(short which_g,Rect& rect);
|
|
void draw_preset_monst_pic_small(short which_g,Rect& rect);
|
|
void draw_preset_monst_pic_wide(short which_g,Rect& rect);
|
|
void draw_preset_monst_pic_tall(short which_g,Rect& rect);
|
|
void draw_preset_monst_pic_large(short which_g,Rect& rect);
|
|
void draw_preset_item_pic(short which_g,Rect& rect);
|
|
void draw_preset_dlg_pic(short which_g,Rect& rect);
|
|
void draw_preset_pc_pic(short which_g,Rect& rect);
|
|
void draw_preset_talk_pic(short which_g,Rect& rect);
|
|
void draw_item_info_help_pic(Rect& rect);
|
|
void draw_pc_info_help_pic(Rect& rect);
|
|
void draw_help_pic(short which_g,Rect& rect);
|
|
void draw_combat_ap_help_pic(Rect& rect);
|
|
void draw_pc_stat_help_pic(Rect& rect);
|
|
void draw_preset_scen_pic(short which_g,Rect& rect);
|
|
void draw_preset_field_pic(short which_g,Rect& rect);
|
|
void draw_custom_space_pic(short which_g,Rect& rect);
|
|
void draw_custom_monst_wide_pic(short which_g,Rect& rect);
|
|
void draw_custom_monst_tall_pic(short which_g,Rect& rect);
|
|
void draw_custom_monst_large_pic(short which_g,Rect& rect);
|
|
void draw_custom_dlg_pic_split(short which_g,Rect& rect);
|
|
void draw_custom_talk_pic_split(short which_g,Rect& rect);
|
|
void draw_preset_scen_pic_large(short which_g,Rect& rect);
|
|
void draw_preset_dlg_pic_large(short which_g,Rect& rect); |