mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Add cutscene test menu
This allows translators to test all text boxes in the scripts. It doesn't run the scripts themselves - it only shows the basic appearance of each text box individually, so context may be lost but it's good to have a way to see any text boxes that might otherwise not be easily seen because they require specific circumstances to appear.
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
0ed7717dd5
commit
3937a12a85
@@ -1834,6 +1834,14 @@ void Graphics::drawmenu(int cr, int cg, int cb, enum Menu::MenuName menu)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
if (menu == Menu::translator_options_cutscenetest)
|
||||
{
|
||||
size_t separator = 4;
|
||||
if (game.menuoptions.size() - i <= separator)
|
||||
{
|
||||
y += 4;
|
||||
}
|
||||
}
|
||||
|
||||
char buffer[MENU_TEXT_BYTES];
|
||||
if ((int) i == game.currentmenuoption && game.slidermode == SLIDER_NONE)
|
||||
|
||||
Reference in New Issue
Block a user