Make exclusive scrolling the default

This commit is contained in:
MascaraSnake 2021-07-01 00:47:56 +02:00
parent 977887f456
commit 052bfe130c
4 changed files with 6 additions and 6 deletions

View file

@ -2818,7 +2818,7 @@ udmf
enum = "scrolltype";
flags
{
4 = "Exclusive";
4 = "Non-exclusive";
}
}
}

View file

@ -3741,8 +3741,8 @@ static void P_ConvertBinaryMap(void)
lines[i].args[2] = ((lines[i].special - 510)/10 + 1) % 3;
lines[i].args[3] = R_PointToDist2(lines[i].v2->x, lines[i].v2->y, lines[i].v1->x, lines[i].v1->y) >> FRACBITS;
lines[i].args[4] = (lines[i].special % 10) % 3;
if (lines[i].args[2] != 1 && lines[i].flags & ML_NOCLIMB)
lines[i].args[4] |= 4;
if (lines[i].args[2] != TMS_SCROLLONLY && !(lines[i].flags & ML_NOCLIMB))
lines[i].args[4] |= TMST_NONEXCLUSIVE;
lines[i].special = 510;
break;
case 606: //Colormap

View file

@ -7645,11 +7645,11 @@ static void P_SpawnScrollers(void)
fixed_t dy = FixedMul(FixedDiv(l->dy, length), speed) >> SCROLL_SHIFT;
if (l->args[0] == 0)
P_SpawnPlaneScroller(l, dx, dy, control, (INT32)(l->frontsector - sectors), accel, l->args[4] & TMST_EXCLUSIVE);
P_SpawnPlaneScroller(l, dx, dy, control, (INT32)(l->frontsector - sectors), accel, l->args[4] & TMST_NONEXCLUSIVE);
else
{
TAG_ITER_SECTORS(l->args[0], s)
P_SpawnPlaneScroller(l, dx, dy, control, s, accel, l->args[4] & TMST_EXCLUSIVE);
P_SpawnPlaneScroller(l, dx, dy, control, s, accel, l->args[4] & TMST_NONEXCLUSIVE);
}
break;
}

View file

@ -132,7 +132,7 @@ typedef enum
TMST_ACCELERATIVE = 1,
TMST_DISPLACEMENT = 2,
TMST_TYPEMASK = 3,
TMST_EXCLUSIVE = 4,
TMST_NONEXCLUSIVE = 4,
} textmapscrolltype_t;
// GETSECSPECIAL (specialval, section)