mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Something something large buttons
This commit is contained in:
parent
1d7aa0ee18
commit
dfdd46d69f
2 changed files with 5 additions and 2 deletions
|
|
@ -191,6 +191,7 @@ Draw::TextElement& Draw::TextElement::parse(std::string_view raw)
|
|||
else if (auto generic = genericinputs.find(bind); generic != genericinputs.end()) // Non-directional gamepad input, display it to the player as they are
|
||||
{
|
||||
string_.push_back(0xEF); // Control code: "switch to descriptive input mode" - Saturn buttons will draw as generic gamepad buttons
|
||||
string_.push_back(0xEB); // Control code: "large button"
|
||||
string_.push_back((it->second & 0xF0) | generic->second); // original invocation has the animation bits, but the glyph bits come from the table
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -2706,7 +2706,8 @@ void V_DrawStringScaled(
|
|||
cx = x;
|
||||
break;
|
||||
case '\xEB':
|
||||
largebutton = true;
|
||||
if (fontno != TINY_FONT)
|
||||
largebutton = true;
|
||||
break;
|
||||
case '\xEF':
|
||||
descriptive = true;
|
||||
|
|
@ -3055,7 +3056,8 @@ fixed_t V_StringScaledWidth(
|
|||
cx = 0;
|
||||
break;
|
||||
case '\xEB':
|
||||
largebutton = true;
|
||||
if (fontno != TINY_FONT)
|
||||
largebutton = true;
|
||||
case '\xEF':
|
||||
descriptive = true;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue