Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/pregame/mainmenu.js
Show First 20 Lines • Show All 138 Lines • ▼ Show 20 Lines | |||||
function ShowRenderPathMessage() | function ShowRenderPathMessage() | ||||
{ | { | ||||
// Warn about removing fixed render path | // Warn about removing fixed render path | ||||
if (Engine.Renderer_GetRenderPath() == "fixed") | if (Engine.Renderer_GetRenderPath() == "fixed") | ||||
messageBox( | messageBox( | ||||
600, 300, | 600, 300, | ||||
"[font=\"sans-bold-16\"]" + | "[font=\"sans-bold-16\"]" + | ||||
sprintf(translate("%(warning)s You appear to be using non-shader (fixed function) graphics. This option will be removed in a future 0 A.D. release, to allow for more advanced graphics features. We advise upgrading your graphics card to a more recent, shader-compatible model."), { | sprintf(translate("%(warning)s You appear to be using non-shader (fixed function) graphics. This option will be removed in a future 0 A.D. release, to allow for more advanced graphics features. We advise upgrading your graphics card to a more recent, shader-compatible model."), { | ||||
"warning": coloredText("Warning:", "200 20 20") | "warning": setColor("Warning:", "200 20 20") | ||||
}) + | }) + | ||||
"\n\n" + | "\n\n" + | ||||
// Translation: This is the second paragraph of a warning. The | // Translation: This is the second paragraph of a warning. The | ||||
// warning explains that the user is using “non-shader“ graphics, | // warning explains that the user is using “non-shader“ graphics, | ||||
// and that in the future this will not be supported by the game, so | // and that in the future this will not be supported by the game, so | ||||
// the user will need a better graphics card. | // the user will need a better graphics card. | ||||
translate("Please press \"Read More\" for more information or \"OK\" to continue."), | translate("Please press \"Read More\" for more information or \"OK\" to continue."), | ||||
translate("WARNING!"), | translate("WARNING!"), | ||||
▲ Show 20 Lines • Show All 129 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator