Skip to content

Commit

Permalink
Flip Game Complete screen
Browse files Browse the repository at this point in the history
Obvious "Key: value" things here, this one was easy.
  • Loading branch information
Daaaav committed Jan 5, 2024
1 parent 8d16dc5 commit e949b28
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions desktop_version/src/Game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2917,9 +2917,9 @@ void Game::updatestate(void)
trinkets()
);
graphics.createtextboxflipme(label, 170-font::len(PR_FONT_INTERFACE, label), 84, TEXT_COLOUR("transparent"));
graphics.textboxprintflags(PR_FONT_INTERFACE);
graphics.textboxprintflags(PR_FONT_INTERFACE | PR_RTL_XFLIP);
graphics.createtextboxflipme(buffer, 180, 84, TEXT_COLOUR("transparent"));
graphics.textboxprintflags(PR_FONT_INTERFACE);
graphics.textboxprintflags(PR_FONT_INTERFACE | PR_RTL_XFLIP);
break;
}
case 3504:
Expand All @@ -2930,9 +2930,9 @@ void Game::updatestate(void)
const char* label = loc::gettext("Game Time:");
std::string tempstring = savetime;
graphics.createtextboxflipme(label, 170-font::len(PR_FONT_INTERFACE, label), 96, TEXT_COLOUR("transparent"));
graphics.textboxprintflags(PR_FONT_INTERFACE);
graphics.textboxprintflags(PR_FONT_INTERFACE | PR_RTL_XFLIP);
graphics.createtextboxflipme(tempstring, 180, 96, TEXT_COLOUR("transparent"));
graphics.textboxprintflags(PR_FONT_INTERFACE);
graphics.textboxprintflags(PR_FONT_INTERFACE | PR_RTL_XFLIP);
break;
}
case 3505:
Expand All @@ -2942,9 +2942,9 @@ void Game::updatestate(void)

const char* label = loc::gettext("Total Flips:");
graphics.createtextboxflipme(label, 170-font::len(PR_FONT_INTERFACE, label), 123, TEXT_COLOUR("transparent"));
graphics.textboxprintflags(PR_FONT_INTERFACE);
graphics.textboxprintflags(PR_FONT_INTERFACE | PR_RTL_XFLIP);
graphics.createtextboxflipme(help.String(totalflips), 180, 123, TEXT_COLOUR("transparent"));
graphics.textboxprintflags(PR_FONT_INTERFACE);
graphics.textboxprintflags(PR_FONT_INTERFACE | PR_RTL_XFLIP);
break;
}
case 3506:
Expand All @@ -2954,9 +2954,9 @@ void Game::updatestate(void)

const char* label = loc::gettext("Total Deaths:");
graphics.createtextboxflipme(label, 170-font::len(PR_FONT_INTERFACE, label), 135, TEXT_COLOUR("transparent"));
graphics.textboxprintflags(PR_FONT_INTERFACE);
graphics.textboxprintflags(PR_FONT_INTERFACE | PR_RTL_XFLIP);
graphics.createtextboxflipme(help.String(deathcounts), 180, 135, TEXT_COLOUR("transparent"));
graphics.textboxprintflags(PR_FONT_INTERFACE);
graphics.textboxprintflags(PR_FONT_INTERFACE | PR_RTL_XFLIP);
break;
}
case 3507:
Expand Down

0 comments on commit e949b28

Please sign in to comment.