- Fixed some bugs and inconsistencies in the dialog code
- Started a utility to quickly preview a dialog - Moved the ppats from the individual applications into the Graphics file; reduces redudancy git-svn-id: http://openexile.googlecode.com/svn/trunk@26 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 163 KiB After Width: | Height: | Size: 119 KiB |
@@ -33,7 +33,6 @@ extern short current_cursor,dialog_answer;
|
||||
extern long register_flag;
|
||||
|
||||
extern GWorldPtr pc_gworld;
|
||||
extern CursHandle sword_curs;
|
||||
extern Boolean diff_depth_ok,registered,save_blocked;
|
||||
|
||||
|
||||
|
@@ -26,7 +26,6 @@ extern WindowPtr mainPtr;
|
||||
extern Rect d_rects[80];
|
||||
extern short d_rect_index[80],current_cursor;
|
||||
|
||||
extern CursHandle sword_curs;
|
||||
extern Boolean modeless_exists[12],diff_depth_ok,current_file_has_maps;
|
||||
extern short modeless_key[12];
|
||||
extern DialogPtr modeless_dialogs[12];
|
||||
|
@@ -9,7 +9,6 @@
|
||||
#include "graphtool.h"
|
||||
#include "dlgtool.h"
|
||||
#include "dlglowlevel.h"
|
||||
#include "graphtool.h"
|
||||
|
||||
/* Adventure globals */
|
||||
extern party_record_type party;
|
||||
@@ -31,7 +30,6 @@ extern short store_flags[3];
|
||||
extern GWorldPtr button_num_gworld;
|
||||
extern short current_active_pc;
|
||||
extern Boolean ed_reg;
|
||||
extern CursHandle sword_curs, boot_curs, key_curs, target_curs;
|
||||
|
||||
extern long register_flag,stored_key;
|
||||
extern long ed_flag,ed_key;
|
||||
@@ -57,10 +55,6 @@ extern Rect traits_rect;
|
||||
extern Rect pc_traits_rect[16];
|
||||
extern Rect edit_rect[5][2];
|
||||
|
||||
PixPatHandle bg[14];
|
||||
short geneva_font_num;
|
||||
|
||||
|
||||
short store_str1a;
|
||||
short store_str1b;
|
||||
short store_str2a;
|
||||
@@ -72,7 +66,7 @@ short current_pressed_button = -1;
|
||||
Boolean init_once = FALSE;
|
||||
|
||||
void init_dialogs(){
|
||||
cd_init_dialogs(NULL,NULL,NULL,NULL,NULL,&dlogpics_gworld,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
|
||||
cd_init_dialogs(NULL,NULL,NULL,NULL,NULL,&dlogpics_gworld,NULL,NULL,NULL,NULL,NULL,NULL/*,NULL,NULL,NULL,NULL,NULL,NULL,NULL*/,NULL,NULL);
|
||||
cd_register_event_filter(917,edit_day_event_filter);
|
||||
cd_register_event_filter(970,display_strings_event_filter);
|
||||
cd_register_event_filter(971,display_strings_event_filter);
|
||||
@@ -1167,8 +1161,6 @@ void get_str(Str255 str,short i, short j)
|
||||
|
||||
void make_cursor_sword()
|
||||
{
|
||||
HLock ((Handle) sword_curs);
|
||||
SetCursor (*sword_curs);
|
||||
HUnlock((Handle) sword_curs);
|
||||
set_cursor(sword_curs);
|
||||
}
|
||||
|
||||
|
@@ -66,7 +66,6 @@ extern short sword_curs;
|
||||
town_record_type anim_town;
|
||||
tiny_tr_type anim_t_d;
|
||||
|
||||
m_pic_index_t m_pic_index[200]; // not used, but the lack of it causes a link error
|
||||
stored_items_list_type stored_items[3];
|
||||
stored_town_maps_type maps;
|
||||
stored_town_maps_type town_maps;
|
||||
@@ -144,7 +143,6 @@ int main(void)
|
||||
// init_buf();
|
||||
|
||||
// register_flag = get_reg_data();
|
||||
load_sounds();
|
||||
set_up_apple_events();
|
||||
|
||||
menu_bar_handle = GetNewMBar(128);
|
||||
|
Reference in New Issue
Block a user