mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 10:09: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:
parent
e8cf521ed7
commit
5132ccf1e6
1 changed files with 7 additions and 1 deletions
|
@ -1686,9 +1686,15 @@ void editorclass::clamp_tilecol(const int rx, const int ry, const bool wrap /*=
|
||||||
const int tileset = room.tileset;
|
const int tileset = room.tileset;
|
||||||
int tilecol = room.tilecol;
|
int tilecol = room.tilecol;
|
||||||
|
|
||||||
int mincol = 0;
|
int mincol = -1;
|
||||||
int maxcol = 5;
|
int maxcol = 5;
|
||||||
|
|
||||||
|
// Only Space Station allows tileset -1
|
||||||
|
if (tileset != 0)
|
||||||
|
{
|
||||||
|
mincol = 0;
|
||||||
|
}
|
||||||
|
|
||||||
switch (tileset)
|
switch (tileset)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
|
|
Loading…
Reference in a new issue