Remove game.test and game.teststring

It looks like this may have been used earlier in development, judging
from the name, obviously, but right now it seems like it's used as an
error message if a main game level is asked for an invalid room (well,
only two of them - the Lab and Warp Zone). It should probably be
formalized into an error system, if we want to keep teststring, and also
people would never see it anyway because I don't think there's a
reliable and consistent way to trigger loading a non-existent room.

I have seen someone manage to load a non-existent Warp Zone room only
one time, but even then this teststring didn't pop up. So this
teststring doesn't even trigger in the right circumstances.

Also, when it does pop up, as far as I can tell it will stay onscreen,
which is kinda annoying. So I'm just removing this ancient relic from
the code.
This commit is contained in:
Misa
2020-04-02 14:52:14 -07:00
committed by Ethan Lee
parent 9a3a8bf2be
commit ff449a2c3a
7 changed files with 1 additions and 55 deletions

View File

@@ -100,11 +100,6 @@ void preloaderrender()
graphics.Print(282-(15*8), 204, "LOADING... 100%", 124, 112, 218, false);
}
if (game.test)
{
graphics.Print(5, 5, game.teststring, 196, 196, 255 - help.glow, false);
}
graphics.drawfade();
if (game.flashlight > 0 && !game.noflashingmode)