Code:
static int enedata_defense3_list[] =
{
193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,-1
};
//
static TABPANEL enedata_tabs[] =
{
{ (char *)"Data 1", D_SELECTED, enedata_data_list, 0, NULL },
{ (char *)"Data 2", 0, enedata_data2_list, 0, NULL },
{ (char *)"Misc. Flags", 0, enedata_flags_list, 0, NULL },
//{ (char *)"Flags 2", 0, enedata_flags2_list, 0, NULL },
{ (char *)"Defenses 1", 0, enedata_defense_list, 0, NULL },
{ (char *)"Defenses 2", 0, enedata_defense2_list, 0, NULL },
{ (char *)"Spawn Flags", 0, enedata_flags3_list, 0, NULL },
{ (char *)"Defenses 3", 0, enedata_defense3_list, 0, NULL },
{ NULL, 0, NULL, 0, NULL }
};
//table
//193 - sccript 1
{ jwin_text_proc, 6, 51, 80, 8, vc(14), vc(1), 0, 0, 0, 0, (void *) "Script 1 Weapon Defense:", NULL, NULL },
{ jwin_text_proc, 6, 67, 80, 8, vc(14), vc(1), 0, 0, 0, 0, (void *) "Script 2 Weapon Defense:", NULL, NULL },
{ jwin_text_proc, 6, 83, 80, 8, vc(14), vc(1), 0, 0, 0, 0, (void *) "Script 3 Weapon Defense:", NULL, NULL },
{ jwin_text_proc, 6, 99, 80, 8, vc(14), vc(1), 0, 0, 0, 0, (void *) "Script 4 Weapon Defense:", NULL, NULL },
{ jwin_text_proc, 6, 115, 80, 8, vc(14), vc(1), 0, 0, 0, 0, (void *) "Script 5 Weapon Defense:", NULL, NULL },
{ jwin_text_proc, 6, 131, 80, 8, vc(14), vc(1), 0, 0, 0, 0, (void *) "Script 6 Weapon Defense:", NULL, NULL },
{ jwin_text_proc, 6, 147, 80, 8, vc(14), vc(1), 0, 0, 0, 0, (void *) "Script 7 Weapon Defense:", NULL, NULL },
{ jwin_text_proc, 6, 163, 80, 8, vc(14), vc(1), 0, 0, 0, 0, (void *) "Script 8 Weapon Defense:", NULL, NULL },
{ jwin_text_proc, 6, 179, 80, 8, vc(14), vc(1), 0, 0, 0, 0, (void *) "Script 9 Weapon Defense:", NULL, NULL },
{ jwin_text_proc, 6, 196, 80, 8, vc(14), vc(1), 0, 0, 0, 0, (void *) "Script 10 Weapon Defense:", NULL, NULL },
//203 script 1 pulldown
{ jwin_droplist_proc, 126, 51-4, 115, 16, jwin_pal[jcTEXTFG], jwin_pal[jcTEXTBG], 0, 0, 0, 0, (void *) &defense_list, NULL, NULL },
{ jwin_droplist_proc, 126, 67-4, 115, 16, jwin_pal[jcTEXTFG], jwin_pal[jcTEXTBG], 0, 0, 0, 0, (void *) &defense_list, NULL, NULL },
{ jwin_droplist_proc, 126, 83-4, 115, 16, jwin_pal[jcTEXTFG], jwin_pal[jcTEXTBG], 0, 0, 0, 0, (void *) &defense_list, NULL, NULL },
{ jwin_droplist_proc, 126, 99-4, 115, 16, jwin_pal[jcTEXTFG], jwin_pal[jcTEXTBG], 0, 0, 0, 0, (void *) &defense_list, NULL, NULL },
{ jwin_droplist_proc, 126, 115-4, 115, 16, jwin_pal[jcTEXTFG], jwin_pal[jcTEXTBG], 0, 0, 0, 0, (void *) &defense_list, NULL, NULL },
{ jwin_droplist_proc, 126, 131-4, 115, 16, jwin_pal[jcTEXTFG], jwin_pal[jcTEXTBG], 0, 0, 0, 0, (void *) &defense_list, NULL, NULL },
{ jwin_droplist_proc, 126, 147-4, 115, 16, jwin_pal[jcTEXTFG], jwin_pal[jcTEXTBG], 0, 0, 0, 0, (void *) &defense_list, NULL, NULL },
{ jwin_droplist_proc, 126, 163-4, 115, 16, jwin_pal[jcTEXTFG], jwin_pal[jcTEXTBG], 0, 0, 0, 0, (void *) &defense_list, NULL, NULL },
{ jwin_droplist_proc, 126, 179-4, 115, 16, jwin_pal[jcTEXTFG], jwin_pal[jcTEXTBG], 0, 0, 0, 0, (void *) &defense_list, NULL, NULL },
{ jwin_droplist_proc, 126, 196-4, 115, 16, jwin_pal[jcTEXTFG], jwin_pal[jcTEXTBG], 0, 0, 0, 0, (void *) &defense_list, NULL, NULL },
{ NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL }
};