1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 10:09:43 +01:00

Move glitch roomname updating to logic functions

Otherwise they go by so fast that it's basically impossible to see them.
This commit is contained in:
Misa 2020-05-02 10:31:48 -07:00 committed by Ethan Lee
parent 90280b0f92
commit 68fe5bd72d
2 changed files with 10 additions and 2 deletions

View file

@ -115,6 +115,11 @@ void maplogic()
}else if (map.cursorstate == 2){
map.cursordelay++;
}
if (map.finalmode)
{
map.glitchname = map.getglitchname(game.roomx, game.roomy);
}
}
@ -1654,4 +1659,9 @@ void gamelogic()
obj.entities[i].updatecolour();
}
if (map.finalmode)
{
map.glitchname = map.getglitchname(game.roomx, game.roomy);
}
}

View file

@ -1371,7 +1371,6 @@ void gamerender()
if (map.finalmode)
{
map.glitchname = map.getglitchname(game.roomx, game.roomy);
graphics.bprint(5, 231, map.glitchname, 196, 196, 255 - help.glow, true);
}else{
graphics.bprint(5, 231, map.roomname, 196, 196, 255 - help.glow, true);
@ -1647,7 +1646,6 @@ void maprender()
else
{
if (map.finalmode){
map.glitchname = map.getglitchname(game.roomx, game.roomy);
graphics.Print(5, 2, map.glitchname, 196, 196, 255 - help.glow, true);
}else{
graphics.Print(5, 2, map.roomname, 196, 196, 255 - help.glow, true);