19 extern party_record_type far party
;
20 extern pc_record_type far adven
[6];
21 extern scen_header_type scen_headers
[25];
22 extern Boolean unreg_party_in_scen_not_check
;
23 extern Boolean in_startup_mode
,registered
,play_sounds
,party_in_memory
;
24 extern long register_flag
;
27 extern piles_of_stuff_dumping_type
*data_store
;
28 extern piles_of_stuff_dumping_type2
*data_store2
;
33 RECT startup_button
[6];
35 Boolean
handle_startup_press(POINT the_point
)
44 for (i
= 0; i
< 5; i
++)
45 if (PtInRect(&startup_button
[i
],the_point
) == TRUE
) {
46 // flash_round_rect(start_button_rects[i],10);
47 //OffsetRect(&start_button_rects[i],ul.h,ul.v);
48 //startup_button_click(start_button_rects[i]);
50 draw_start_button(i
,5);
51 if (play_sounds
== TRUE
)
54 draw_start_button(i
,0);
73 if (party_in_memory
== FALSE
) {
77 scen
= pick_prefab_scen();
80 if ((registered
== FALSE
) && (scen
> 0)) {
86 case 0: sprintf(party
.scen_name
,"valleydy.exs"); break;
87 // if not reg, rub out
88 case 1: sprintf(party
.scen_name
,"stealth.exs"); break;
89 case 2: sprintf(party
.scen_name
,"zakhazi.exs"); break;
95 if (party_in_memory
== FALSE
) {
99 if (registered
== FALSE
) {
103 // if not reg, rub out
105 scen
= pick_a_scen();
106 if (scen_headers
[scen
].prog_make_ver
[0] >= 2) {
111 if (registered
== FALSE
)
112 unreg_party_in_scen_not_check
= TRUE
;
113 sprintf(party
.scen_name
,"%s",data_store2
->scen_names
[scen
]);
133 setup_outdoors(party.p_loc);
135 load_area_graphics();
139 in_startup_mode = FALSE;
142 adjust_spell_menus();
146 void startup_load()////
149 update_pc_graphics();
150 if (in_startup_mode
== FALSE
) {