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:
parent
90280b0f92
commit
68fe5bd72d
2 changed files with 10 additions and 2 deletions
|
@ -115,6 +115,11 @@ void maplogic()
|
||||||
}else if (map.cursorstate == 2){
|
}else if (map.cursorstate == 2){
|
||||||
map.cursordelay++;
|
map.cursordelay++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (map.finalmode)
|
||||||
|
{
|
||||||
|
map.glitchname = map.getglitchname(game.roomx, game.roomy);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1654,4 +1659,9 @@ void gamelogic()
|
||||||
|
|
||||||
obj.entities[i].updatecolour();
|
obj.entities[i].updatecolour();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (map.finalmode)
|
||||||
|
{
|
||||||
|
map.glitchname = map.getglitchname(game.roomx, game.roomy);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1371,7 +1371,6 @@ void gamerender()
|
||||||
|
|
||||||
if (map.finalmode)
|
if (map.finalmode)
|
||||||
{
|
{
|
||||||
map.glitchname = map.getglitchname(game.roomx, game.roomy);
|
|
||||||
graphics.bprint(5, 231, map.glitchname, 196, 196, 255 - help.glow, true);
|
graphics.bprint(5, 231, map.glitchname, 196, 196, 255 - help.glow, true);
|
||||||
}else{
|
}else{
|
||||||
graphics.bprint(5, 231, map.roomname, 196, 196, 255 - help.glow, true);
|
graphics.bprint(5, 231, map.roomname, 196, 196, 255 - help.glow, true);
|
||||||
|
@ -1647,7 +1646,6 @@ void maprender()
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (map.finalmode){
|
if (map.finalmode){
|
||||||
map.glitchname = map.getglitchname(game.roomx, game.roomy);
|
|
||||||
graphics.Print(5, 2, map.glitchname, 196, 196, 255 - help.glow, true);
|
graphics.Print(5, 2, map.glitchname, 196, 196, 255 - help.glow, true);
|
||||||
}else{
|
}else{
|
||||||
graphics.Print(5, 2, map.roomname, 196, 196, 255 - help.glow, true);
|
graphics.Print(5, 2, map.roomname, 196, 196, 255 - help.glow, true);
|
||||||
|
|
Loading…
Reference in a new issue