forked from 0ad/0ad
6 lines
333 B
JavaScript
6 lines
333 B
JavaScript
function init(data)
|
|
{
|
|
Engine.GetGUIObjectByName("mainText").caption = Engine.TranslateLines(Engine.ReadFile("gui/splashscreen/" + data.page + ".txt"));
|
|
Engine.GetGUIObjectByName("displaySplashScreen").checked = (Engine.ConfigDB_GetValue("user", "splashscreenversion") < Engine.GetFileMTime("gui/splashscreen/splashscreen.txt"));
|
|
}
|