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

Allow using Space Station tilecol -1

This tilecol conveniently lets players use one of the unpatterned Space
Station tilesets you see on the left side of tiles.png but never get to
use without Direct Mode.

It does have a few weird quirks, but it should be safe to use.
This commit is contained in:
Misa 2020-06-30 21:47:03 -07:00 committed by Ethan Lee
parent e8cf521ed7
commit 5132ccf1e6

View file

@ -1686,9 +1686,15 @@ void editorclass::clamp_tilecol(const int rx, const int ry, const bool wrap /*=
const int tileset = room.tileset;
int tilecol = room.tilecol;
int mincol = 0;
int mincol = -1;
int maxcol = 5;
// Only Space Station allows tileset -1
if (tileset != 0)
{
mincol = 0;
}
switch (tileset)
{
case 0: