mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03: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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user