TWINE: added highres option to advanced menu

also use enum class for TextId and TextBankId
This commit is contained in:
Martin Gerhardy 2021-04-09 10:43:03 +02:00
parent 8420729fd7
commit 8289072496
24 changed files with 280 additions and 254 deletions

View file

@ -633,7 +633,7 @@ void Redraw::renderOverlays() {
}
case OverlayType::koText: {
char text[256];
_engine->_text->getMenuText(overlay->info0, text, sizeof(text));
_engine->_text->getMenuText((TextId)overlay->info0, text, sizeof(text));
const int32 textLength = _engine->_text->getTextSize(text);
const int32 textHeight = 48;