mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Merge drawtowerbackgroundsolo() into drawtowerbackground()
It's less code being copied and pasted, especially since for my over-30-FPS patch I would have to make a separate function for each if both of them were still there, but if they're unified into one then I will only have to make one more function. And since map.scrolldir is now used outside of GAMEMODE, we'll need to reset it in hardreset() and when exiting playtesting.
This commit is contained in:
@@ -1069,7 +1069,7 @@ void titlerender()
|
||||
}
|
||||
else
|
||||
{
|
||||
if(!game.colourblindmode) graphics.drawtowerbackgroundsolo();
|
||||
if(!game.colourblindmode) graphics.drawtowerbackground();
|
||||
|
||||
tr = map.r - (help.glow / 4) - int(fRandom() * 4);
|
||||
tg = map.g - (help.glow / 4) - int(fRandom() * 4);
|
||||
@@ -1131,7 +1131,7 @@ void gamecompleterender()
|
||||
{
|
||||
FillRect(graphics.backBuffer, 0x000000);
|
||||
|
||||
if(!game.colourblindmode) graphics.drawtowerbackgroundsolo();
|
||||
if(!game.colourblindmode) graphics.drawtowerbackground();
|
||||
|
||||
tr = map.r - (help.glow / 4) - fRandom() * 4;
|
||||
tg = map.g - (help.glow / 4) - fRandom() * 4;
|
||||
|
||||
Reference in New Issue
Block a user