64 :
FormWindow(s, 0, 0, s->Width(), s->Height()), manager(mgr),
65 btn_accept(0), btn_cancel(0),
66 btn_elem_add(0), btn_elem_edit(0), btn_elem_del(0), btn_elem_inc(0), btn_elem_dec(0),
67 btn_event_add(0), btn_event_edit(0), btn_event_del(0), btn_event_inc(0), btn_event_dec(0),
68 btn_sit(0), btn_pkg(0), btn_map(0),
69 txt_name(0), cmb_type(0), cmb_system(0), cmb_region(0),
70 txt_description(0), txt_situation(0), txt_objective(0),
71 lst_elem(0), lst_event(0), mission(0), mission_info(0), current_tab(0),
292 bool elem_del =
false;
293 bool elem_edit =
false;
294 bool elem_inc =
false;
295 bool elem_dec =
false;
297 bool event_del =
false;
298 bool event_edit =
false;
299 bool event_inc =
false;
300 bool event_dec =
false;
304 bool cleared =
false;
320 sprintf_s(txt,
"%d", elem->
Identity());
330 sprintf_s(txt,
"%d", elem->
GetIFF());
339 if (elem->
Count() > 1)
340 sprintf_s(txt,
"%d %s", elem->
Count(), design->
abrv);
342 sprintf_s(txt,
"%s %s", design->
abrv, design->
name);
362 elem_inc = index > 0;
363 elem_dec = index < nitems-1;
369 bool cleared =
false;
385 sprintf_s(txt,
"%d",
event->EventID());
397 else if (
event->Delay()) {
423 event_inc = index > 0;
424 event_dec = index < nitems-1;
519 if (current_tab < 0 || current_tab > 2)
526 DWORD low = 400 + tab*100;
527 DWORD high = low + 100;
533 if (a->
GetID() < 400)
536 else if (a->
GetID() >= low && a->
GetID() < high)
588 if (!strcmp(s->
Name(), name)) {
622 static DWORD click_time = 0;
646 if (elem && msn_elem_dlg) {
697 if (elements.
size() > 0)
735 if (elem && msn_elem_dlg) {
750 static DWORD click_time = 0;
774 if (event && msn_event_dlg) {
826 for (
int i = 0; i < events.
size(); i++) {
866 if (event && msn_event_dlg) {