mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-04 15:12:58 +00:00
Fix midvote wrong coords (resolves mystery keyboard patch in tutorial)
This commit is contained in:
parent
9eaf53b11f
commit
88bd460cde
2 changed files with 1 additions and 29 deletions
|
|
@ -492,34 +492,6 @@ void Dialogue::Draw(void)
|
||||||
|
|
||||||
drawer.xy(-18 + 4 - 5, -7-8 - 14).align(Draw::Align::kCenter).font(Draw::Font::kMenu).text(srb2::Draw::TextElement().parse(intertext).string());
|
drawer.xy(-18 + 4 - 5, -7-8 - 14).align(Draw::Align::kCenter).font(Draw::Font::kMenu).text(srb2::Draw::TextElement().parse(intertext).string());
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
if (Dismissable())
|
|
||||||
{
|
|
||||||
if (TextDone())
|
|
||||||
{
|
|
||||||
drawer
|
|
||||||
.xy(-14, -7-5)
|
|
||||||
.patch(patchCache["TUTDIAG2"]);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ctrl = "<large>";
|
|
||||||
|
|
||||||
if (Held())
|
|
||||||
ctrl += "<z_pressed>";
|
|
||||||
else if (TextDone())
|
|
||||||
ctrl += "<z_animated>";
|
|
||||||
else
|
|
||||||
ctrl += "<z>";
|
|
||||||
|
|
||||||
std::string parsedctrl = srb2::Draw::TextElement().parse(ctrl).string();
|
|
||||||
|
|
||||||
drawer
|
|
||||||
.xy(17-14 - BASEVIDWIDTH, -39-16)
|
|
||||||
.font(Draw::Font::kMenu)
|
|
||||||
.text(parsedctrl);
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Dialogue::Dismiss(void)
|
void Dialogue::Dismiss(void)
|
||||||
|
|
|
||||||
|
|
@ -1104,7 +1104,7 @@ void K_DrawMidVote(void)
|
||||||
exc, NULL
|
exc, NULL
|
||||||
);
|
);
|
||||||
K_DrawGameControl(
|
K_DrawGameControl(
|
||||||
x - 4, y + exc->height - 12,
|
x/FRACUNIT - 4, y/FRACUNIT + exc->height/FRACUNIT - 12,
|
||||||
id, pressed ? "<z_pressed>" : "<z>",
|
id, pressed ? "<z_pressed>" : "<z>",
|
||||||
0, 8, V_SNAPTOBOTTOM|V_SNAPTORIGHT
|
0, 8, V_SNAPTOBOTTOM|V_SNAPTORIGHT
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue