CreateControl("VRMAPTHMBS_1","WINDOW")
{
Geom("PARENTWIDTH","PARENTHEIGHT");
Style("OUTLINE","TRANSPARENT");
CreateControl("MAIN_WINDOW","STATIC")
{
Geom("HCENTER","VCENTER");
ColorGroup("DEFAULT");
Pos(0,0);
Size(640,480);
BorderSize(5);
BevelSize(10);
TabSize(0,0);
Style("OUTLINE","TABROOT");
TitleFont("TINY");
//---Players---
CreateControl("PAYERS_WINDOW","STATIC")
{
Geom("LEFT","TOP");
ColorGroup("MAGENTA");
Pos(15,34);
Size(190,21);
BorderSize(5);
BevelSize(10);
TabSize(60,10);
Title("Players");
Style("OUTLINE","TABROOT");
TitleFont("TINY");
CreateControl("Players_2","BUTTON")
{
ColorGroup("BLACKBLUE");
Geom("LEFT","VCENTER");
Pos(5,0);
Size(19,9);
BorderSize(3);
BevelSize(3);
Style("ROLLOVER","RADIO","OUTLINE");
Cursor("Highlight");
Font("TINY");
Text("2");
UseVar("network.session.ivar2");
Value(2);
}
CreateControl("Players_4","BUTTON")
{
ColorGroup("BLACKBLUE");
Geom("LEFT","VCENTER");
Pos(35,0);
Size(19,9);
BorderSize(3);
BevelSize(3);
Style("ROLLOVER","RADIO","OUTLINE");
Cursor("Highlight");
Font("TINY");
Text("4");
UseVar("network.session.ivar2");
Value(4);
}
CreateControl("Players_6","BUTTON")
{
ColorGroup("BLACKBLUE");
Geom("LEFT","VCENTER");
Pos(65,0);
Size(19,9);
BorderSize(3);
BevelSize(3);
Style("ROLLOVER","RADIO","OUTLINE");
Cursor("Highlight");
Font("TINY");
Text("6");
UseVar("network.session.ivar2");
Value(6);
}
CreateControl("Players_8","BUTTON")
{
ColorGroup("BLACKBLUE");
Geom("LEFT","VCENTER");
Pos(95,0);
Size(19,9);
BorderSize(3);
BevelSize(3);
Style("ROLLOVER","RADIO","OUTLINE");
Cursor("Highlight");
Font("TINY");
Text("8");
UseVar("network.session.ivar2");
Value(8);
}
CreateControl("Players_10","BUTTON")
{
ColorGroup("BLACKBLUE");
Geom("LEFT","VCENTER");
Pos(125,0);
Size(19,9);
BorderSize(3);
BevelSize(3);
Style("ROLLOVER","RADIO","OUTLINE");
Cursor("Highlight");
Font("TINY");
Text("10");
UseVar("network.session.ivar2");
Value(10);
}
CreateControl("PlayerLimitEdit","EDIT")
{
ColorGroup("DEFAULT");
Geometry("LEFT","VCENTER");
Position(160,0);
Size(26,9);
BorderSize(3);
BevelSize(3);
JustifyText("CENTER");
Font("TINY");
Style("ROLLOVER","OUTLINE");
Cursor("Highlight");
UseVar("network.session.ivar2");
SetIntegerRange("network.session.ivar2",0,10);
}
}
//-------------------------------Controls-------------------------------
CreateControl("TheseThumbs","STATIC")
{
Geom("LEFT","TOP");
Pos(2,2);
Size(240,10);
Style("TRANSPARENT");
Font("MEDIUM");
JustifyText("CENTER");
Text("Stock maps");
}
//---Close---
CreateControl("CLOSE_THUMBLIST","BUTTON")
{
ColorGroup("MAGENTA");
Geom("RIGHT","TOP");
Pos(-7,9);
Size(64,20);
Text("Close");
Font("SMALL");
BorderSize(2);
BevelSize(2);
Style("ROLLOVER","OUTLINE");
Cursor("Highlight");
NotifyParent("Button::Press","CloseThumblist");
}
OnEvent("CloseThumblist") //Close button was pressed
{
Cmd("iface.deactivate VRMAPTHMBS_1");
}
CreateControl("Thumb_Quarry","BUTTON")
{
ColorGroup("VRMAPSELECT");
Geom("LEFT","TOP");
Pos(0,64);
Size(64,64);
Image("Quarry_shlmp.dxtbz2",0,0);
Style("ROLLOVER","OUTLINE");
Cursor("Highlight");
CreateControl("ItemText","STATIC")
{
ColorGroup("DEFAULT");
Geom("HCENTER","BOTTOM");
Pos(0,0);
Size(64,10);
BevelSize(1);
Style("INERT");
Font("TINY");
JustifyText("CENTER");
Text("Quarry");
}
NotifyParent("Button::Press","MapClick_Quarry");
}
OnEvent("MapClick_Quarry")
{
Cmd("Network.session.svar0 'Quarry.bzn'");
}
CreateControl("Thumb_bighilo","BUTTON")
{
ColorGroup("VRMAPSELECT");
Geom("LEFT","TOP");
Pos(64,64);
Size(64,64);
Image("bighilo_shlmp.dxtbz2",0,0);
Style("ROLLOVER","OUTLINE");
Cursor("Highlight");
CreateControl("ItemText","STATIC")
{
ColorGroup("DEFAULT");
Geom("HCENTER","BOTTOM");
Pos(0,0);
Size(64,10);
BevelSize(1);
Style("INERT");
Font("TINY");
JustifyText("CENTER");
Text("Big Highlow");
}
NotifyParent("Button::Press","MapClick_bighilo");
}
OnEvent("MapClick_bighilo")
{
Cmd("Network.session.svar0 'bighilo.bzn'");
}
CreateControl("Thumb_hilo","BUTTON")
{
ColorGroup("VRMAPSELECT");
Geom("LEFT","TOP");
Pos(128,64);
Size(64,64);
Image("hilo_shlmp.dxtbz2",0,0);
Style("ROLLOVER","OUTLINE");
Cursor("Highlight");
CreateControl("ItemText","STATIC")
{
ColorGroup("DEFAULT");
Geom("HCENTER","BOTTOM");
Pos(0,0);
Size(64,10);
BevelSize(1);
Style("INERT");
Font("TINY");
JustifyText("CENTER");
Text("Highlow");
}
NotifyParent("Button::Press","MapClick_hilo");
}
OnEvent("MapClick_hilo")
{
Cmd("Network.session.svar0 'hilo.bzn'");
}
CreateControl("Thumb_remnant","BUTTON")
{
ColorGroup("VRMAPSELECT");
Geom("LEFT","TOP");
Pos(192,64);
Size(64,64);
Image("remnant_shlmp.dxtbz2",0,0);
Style("ROLLOVER","OUTLINE");
Cursor("Highlight");
CreateControl("ItemText","STATIC")
{
ColorGroup("DEFAULT");
Geom("HCENTER","BOTTOM");
Pos(0,0);
Size(64,10);
BevelSize(1);
Style("INERT");
Font("TINY");
JustifyText("CENTER");
Text("Remnant");
}
NotifyParent("Button::Press","MapClick_remnant");
}
OnEvent("MapClick_remnant")
{
Cmd("Network.session.svar0 'remnant.bzn'");
}
CreateControl("Thumb_rendstrat","BUTTON")
{
ColorGroup("VRMAPSELECT");
Geom("LEFT","TOP");
Pos(256,64);
Size(64,64);
Image("rendstrat_shlmp.dxtbz2",0,0);
Style("ROLLOVER","OUTLINE");
Cursor("Highlight");
CreateControl("ItemText","STATIC")
{
ColorGroup("DEFAULT");
Geom("HCENTER","BOTTOM");
Pos(0,0);
Size(64,10);
BevelSize(1);
Style("INERT");
Font("TINY");
JustifyText("CENTER");
Text("High Heat");
}
NotifyParent("Button::Press","MapClick_rendstrat");
}
OnEvent("MapClick_rendstrat")
{
Cmd("Network.session.svar0 'rendstrat.bzn'");
}
CreateControl("Thumb_stratarena","BUTTON")
{
ColorGroup("VRMAPSELECT");
Geom("LEFT","TOP");
Pos(320,64);
Size(64,64);
Image("stratarena_shlmp.dxtbz2",0,0);
Style("ROLLOVER","OUTLINE");
Cursor("Highlight");
CreateControl("ItemText","STATIC")
{
ColorGroup("DEFAULT");
Geom("HCENTER","BOTTOM");
Pos(0,0);
Size(64,10);
BevelSize(1);
Style("INERT");
Font("TINY");
JustifyText("CENTER");
Text("Strategy Arena");
}
NotifyParent("Button::Press","MapClick_stratarena");
}
OnEvent("MapClick_stratarena")
{
Cmd("Network.session.svar0 'stratarena.bzn'");
}
CreateControl("Thumb_Icecold13","BUTTON")
{
ColorGroup("VRMAPSELECT");
Geom("LEFT","TOP");
Pos(384,64);
Size(64,64);
Image("Icecold13_shlmp.dxtbz2",0,0);
Style("ROLLOVER","OUTLINE");
Cursor("Highlight");
CreateControl("ItemText","STATIC")
{
ColorGroup("DEFAULT");
Geom("HCENTER","BOTTOM");
Pos(0,0);
Size(64,10);
BevelSize(1);
Style("INERT");
Font("TINY");
JustifyText("CENTER");
Text("Ice Cold");
}
NotifyParent("Button::Press","MapClick_Icecold13");
}
OnEvent("MapClick_Icecold13")
{
Cmd("Network.session.svar0 'Icecold13.bzn'");
}
CreateControl("Thumb_sea_battle","BUTTON")
{
ColorGroup("VRMAPSELECT");
Geom("LEFT","TOP");
Pos(448,64);
Size(64,64);
Image("sea_battle_shlmp.dxtbz2",0,0);
Style("ROLLOVER","OUTLINE");
Cursor("Highlight");
CreateControl("ItemText","STATIC")
{
ColorGroup("DEFAULT");
Geom("HCENTER","BOTTOM");
Pos(0,0);
Size(64,10);
BevelSize(1);
Style("INERT");
Font("TINY");
JustifyText("CENTER");
Text("Sea Battle");
}
NotifyParent("Button::Press","MapClick_sea_battle");
}
OnEvent("MapClick_sea_battle")
{
Cmd("Network.session.svar0 'sea_battle.bzn'");
}
CreateControl("Thumb_bridges","BUTTON")
{
ColorGroup("VRMAPSELECT");
Geom("LEFT","TOP");
Pos(512,64);
Size(64,64);
Image("bridges_shlmp.dxtbz2",0,0);
Style("ROLLOVER","OUTLINE");
Cursor("Highlight");
CreateControl("ItemText","STATIC")
{
ColorGroup("DEFAULT");
Geom("HCENTER","BOTTOM");
Pos(0,0);
Size(64,10);
BevelSize(1);
Style("INERT");
Font("TINY");
JustifyText("CENTER");
Text("ST Bridges");
}
NotifyParent("Button::Press","MapClick_bridges");
}
OnEvent("MapClick_bridges")
{
Cmd("Network.session.svar0 'bridges.bzn'");
}
CreateControl("Thumb_chill","BUTTON")
{
ColorGroup("VRMAPSELECT");
Geom("LEFT","TOP");
Pos(576,64);
Size(64,64);
Image("chill_shlmp.dxtbz2",0,0);
Style("ROLLOVER","OUTLINE");
Cursor("Highlight");
CreateControl("ItemText","STATIC")
{
ColorGroup("DEFAULT");
Geom("HCENTER","BOTTOM");
Pos(0,0);
Size(64,10);
BevelSize(1);
Style("INERT");
Font("TINY");
JustifyText("CENTER");
Text("Big Chill");
}
NotifyParent("Button::Press","MapClick_chill");
}
OnEvent("MapClick_chill")
{
Cmd("Network.session.svar0 'chill.bzn'");
}
CreateControl("Thumb_river","BUTTON")
{
ColorGroup("VRMAPSELECT");
Geom("LEFT","TOP");
Pos(640,64);
Size(64,64);
Image("river_shlmp.dxtbz2",0,0);
Style("ROLLOVER","OUTLINE");
Cursor("Highlight");
CreateControl("ItemText","STATIC")
{
ColorGroup("DEFAULT");
Geom("HCENTER","BOTTOM");
Pos(0,0);
Size(64,10);
BevelSize(1);
Style("INERT");
Font("TINY");
JustifyText("CENTER");
Text("RiverWars");
}
NotifyParent("Button::Press","MapClick_river");
}
OnEvent("MapClick_river")
{
Cmd("Network.session.svar0 'river.bzn'");
}
CreateControl("Thumb_rjx-mars","BUTTON")
{
ColorGroup("VRMAPSELECT");
Geom("LEFT","TOP");
Pos(0,128);
Size(64,64);
Image("rjx-mars_shlmp.dxtbz2",0,0);
Style("ROLLOVER","OUTLINE");
Cursor("Highlight");
CreateControl("ItemText","STATIC")
{
ColorGroup("DEFAULT");
Geom("HCENTER","BOTTOM");
Pos(0,0);
Size(64,10);
BevelSize(1);
Style("INERT");
Font("TINY");
JustifyText("CENTER");
Text("Mars");
}
NotifyParent("Button::Press","MapClick_rjx-mars");
}
OnEvent("MapClick_rjx-mars")
{
Cmd("Network.session.svar0 'rjx-mars.bzn'");
}
CreateControl("Thumb_STiswar","BUTTON")
{
ColorGroup("VRMAPSELECT");
Geom("LEFT","TOP");
Pos(64,128);
Size(64,64);
Image("STiswar_shlmp.dxtbz2",0,0);
Style("ROLLOVER","OUTLINE");
Cursor("Highlight");
CreateControl("ItemText","STATIC")
{
ColorGroup("DEFAULT");
Geom("HCENTER","BOTTOM");
Pos(0,0);
Size(64,10);
BevelSize(1);
Style("INERT");
Font("TINY");
JustifyText("CENTER");
Text("Island Warfare");
}
NotifyParent("Button::Press","MapClick_STiswar");
}
OnEvent("MapClick_STiswar")
{
Cmd("Network.session.svar0 'STiswar.bzn'");
}
CreateControl("Thumb_Mtntop13","BUTTON")
{
ColorGroup("VRMAPSELECT");
Geom("LEFT","TOP");
Pos(128,128);
Size(64,64);
Image("Mtntop13_shlmp.dxtbz2",0,0);
Style("ROLLOVER","OUTLINE");
Cursor("Highlight");
CreateControl("ItemText","STATIC")
{
ColorGroup("DEFAULT");
Geom("HCENTER","BOTTOM");
Pos(0,0);
Size(64,10);
BevelSize(1);
Style("INERT");
Font("TINY");
JustifyText("CENTER");
Text("Mountain Top");
}
NotifyParent("Button::Press","MapClick_Mtntop13");
}
OnEvent("MapClick_Mtntop13")
{
Cmd("Network.session.svar0 'Mtntop13.bzn'");
}
CreateControl("Thumb_LOCRidge","BUTTON")
{
ColorGroup("VRMAPSELECT");
Geom("LEFT","TOP");
Pos(192,128);
Size(64,64);
Image("LOCRidge_shlmp.dxtbz2",0,0);
Style("ROLLOVER","OUTLINE");
Cursor("Highlight");
CreateControl("ItemText","STATIC")
{
ColorGroup("DEFAULT");
Geom("HCENTER","BOTTOM");
Pos(0,0);
Size(64,10);
BevelSize(1);
Style("INERT");
Font("TINY");
JustifyText("CENTER");
Text("LoC Ridges");
}
NotifyParent("Button::Press","MapClick_LOCRidge");
}
OnEvent("MapClick_LOCRidge")
{
Cmd("Network.session.svar0 'LOCRidge.bzn'");
}
CreateControl("Thumb_LOCWinter","BUTTON")
{
ColorGroup("VRMAPSELECT");
Geom("LEFT","TOP");
Pos(256,128);
Size(64,64);
Image("LOCWinter_shlmp.dxtbz2",0,0);
Style("ROLLOVER","OUTLINE");
Cursor("Highlight");
CreateControl("ItemText","STATIC")
{
ColorGroup("DEFAULT");
Geom("HCENTER","BOTTOM");
Pos(0,0);
Size(64,10);
BevelSize(1);
Style("INERT");
Font("TINY");
JustifyText("CENTER");
Text("LoC Winter");
}
NotifyParent("Button::Press","MapClick_LOCWinter");
}
OnEvent("MapClick_LOCWinter")
{
Cmd("Network.session.svar0 'LOCWinter.bzn'");
}
//---Next---
CreateControl("NEXT_THUMBLIST","BUTTON")
{
ColorGroup("MAGENTA");
Geom("HCENTER","TOP");
Pos(40,9);
Size(60,15);
Text("Next >");
Font("SMALL");
BorderSize(1);
BevelSize(4);
Style("ROLLOVER","OUTLINE");
Cursor("Highlight");
NotifyParent("Button::Press","NextThumblist");
}
OnEvent("NextThumblist")
{
Cmd("iface.deactivate VRMAPTHMBS_1");
Cmd("iface.activate VRMAPTHMBS_2");
}
}
}
