reintroduce MOTD/version check
now that we have the content for it
This commit is contained in:
parent
fdc4ddd9d2
commit
4ecd19e20c
|
@ -83,7 +83,7 @@ function initClient()
|
||||||
exec("./ui/loadingGui.gui");
|
exec("./ui/loadingGui.gui");
|
||||||
exec("./ui/optionsDlg.gui");
|
exec("./ui/optionsDlg.gui");
|
||||||
exec("./ui/remapDlg.gui");
|
exec("./ui/remapDlg.gui");
|
||||||
//exec("./ui/MOTDGui.gui");
|
exec("./ui/MOTDGui.gui");
|
||||||
exec("./ui/EnterNameDlg.gui");
|
exec("./ui/EnterNameDlg.gui");
|
||||||
EnterNameDlg.preload();
|
EnterNameDlg.preload();
|
||||||
exec("./ui/HelpCreditsGui.gui");
|
exec("./ui/HelpCreditsGui.gui");
|
||||||
|
|
|
@ -10,7 +10,7 @@ function startVersionCheck()
|
||||||
if($pref::checkMOTDAndVersion)
|
if($pref::checkMOTDAndVersion)
|
||||||
{
|
{
|
||||||
new HTTPObject ( Version );
|
new HTTPObject ( Version );
|
||||||
Version.get("kevinthe.horse", "/kevinblast/index.html");
|
Version.get("kevinthe.horse:80", "/kevinblast/version.html");
|
||||||
echo("Checking Server Version");
|
echo("Checking Server Version");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -148,7 +148,7 @@ function startMotdCheck()
|
||||||
if($pref::checkMOTDAndVersion)
|
if($pref::checkMOTDAndVersion)
|
||||||
{
|
{
|
||||||
new HTTPObject ( MOTD );
|
new HTTPObject ( MOTD );
|
||||||
MOTD.get("www.garagegames.com:80", "/marbleblast/motd.html");
|
MOTD.get("kevinthe.horse:80", "/kevinblast/motd.html");
|
||||||
echo("Checking for a message of the day");
|
echo("Checking for a message of the day");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -97,6 +97,21 @@ new GuiChunkedBitmapCtrl(MainMenuGui) {
|
||||||
bitmap = "./home/exit";
|
bitmap = "./home/exit";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
new GuiBitmapButtonCtrl(MOTDButton) {
|
||||||
|
profile = "GuiButtonProfile";
|
||||||
|
horizSizing = "left";
|
||||||
|
vertSizing = "top";
|
||||||
|
position = "529 387";
|
||||||
|
extent = "106 85";
|
||||||
|
minExtent = "8 8";
|
||||||
|
visible = "1";
|
||||||
|
command = "StopDemoTimer(); showMotd();";
|
||||||
|
helpTag = "0";
|
||||||
|
text = "play";
|
||||||
|
groupNum = "-1";
|
||||||
|
buttonType = "PushButton";
|
||||||
|
bitmap = "./motd/motd_buttn";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
//--- OBJECT WRITE END ---
|
//--- OBJECT WRITE END ---
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue