Add MSF_FLATLIGHTING

This commit is contained in:
James R 2023-07-27 17:49:26 -07:00
parent 9a262a308c
commit 49e7357704
3 changed files with 5 additions and 0 deletions

View file

@ -6004,6 +6004,7 @@ const char *const MSF_LIST[] = {
"RIPPLE_FLOOR",
"RIPPLE_CEILING",
"INVERTENCORE",
"FLATLIGHTING",
NULL
};

View file

@ -1705,6 +1705,8 @@ static void ParseTextmapSectorParameter(UINT32 i, const char *param, const char
sectors[i].flags |= MSF_RIPPLE_CEILING;
else if (fastcmp(param, "invertencore") && fastcmp("true", val))
sectors[i].flags |= MSF_INVERTENCORE;
else if (fastcmp(param, "flatlighting") && fastcmp("true", val))
sectors[i].flags |= MSF_FLATLIGHTING;
else if (fastcmp(param, "nostepup") && fastcmp("true", val))
sectors[i].specialflags |= SSF_NOSTEPUP;
else if (fastcmp(param, "doublestepup") && fastcmp("true", val))

View file

@ -350,6 +350,8 @@ typedef enum
MSF_RIPPLE_CEILING = 1<<11,
// invert encore color remap status
MSF_INVERTENCORE = 1<<12,
// turn off directional lighting
MSF_FLATLIGHTING = 1<<13,
} sectorflags_t;
typedef enum