mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Add in-game timer option (#790)
This commit is contained in:
@@ -648,6 +648,17 @@ static void menurender(void)
|
||||
else
|
||||
graphics.Print(-1, 65, "Fake loading screen is ON", tr, tg, tb, true);
|
||||
break;
|
||||
case 4:
|
||||
graphics.bigprint(-1, 30, "In Game Timer", tr, tg, tb, true);
|
||||
if (game.showingametimer)
|
||||
{
|
||||
graphics.Print(-1, 65, "In Game Timer is ON", tr, tg, tb, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
graphics.Print(-1, 65, "In Game Timer is OFF", tr / 2, tg / 2, tb / 2, true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case Menu::setglitchrunner:
|
||||
@@ -1675,6 +1686,12 @@ void gamerender(void)
|
||||
}
|
||||
}
|
||||
|
||||
if (graphics.fademode==0 && !game.intimetrial && !game.isingamecompletescreen() && game.swngame != 1 && game.showingametimer)
|
||||
{
|
||||
graphics.bprint(6, 6, "TIME:", 255,255,255);
|
||||
graphics.bprint(46, 6, game.timestring(), 196, 196, 196);
|
||||
}
|
||||
|
||||
if(map.extrarow==0 || (map.custommode && map.roomname!=""))
|
||||
{
|
||||
graphics.footerrect.y = 230;
|
||||
|
||||
Reference in New Issue
Block a user