mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Add cases for intermission replay options, button fillers in editor
The strings "Vitellary"/"Vermilion"/"Verdigris"/"Victoria" now have two
cases to support changing them for the intermission replay menu options
(like "with Vitellary").
Also, the string "< and > keys change tool" is now "{button1} and
{button2} keys change tool", so it can be changed dynamically without
having to retranslate the string.
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
968e731178
commit
6a1ddad8f8
@@ -1392,7 +1392,12 @@ void editorrender(void)
|
||||
graphics.Print(4, 232, "2/2", 196, 196, 255 - help.glow, false);
|
||||
}
|
||||
|
||||
const char* changetooltext = loc::gettext("< and > keys change tool");
|
||||
char changetooltext[SCREEN_WIDTH_CHARS + 1];
|
||||
vformat_buf(changetooltext, sizeof(changetooltext),
|
||||
loc::gettext("{button1} and {button2} keys change tool"),
|
||||
"button1:str, button2:str",
|
||||
",", "."
|
||||
);
|
||||
graphics.Print(320-graphics.len(changetooltext), 232, changetooltext, 196, 196, 255 - help.glow, false);
|
||||
|
||||
const char* toolname;
|
||||
|
||||
Reference in New Issue
Block a user