mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-23 14:01:14 +00:00
Add MSF_FLATLIGHTING
This commit is contained in:
parent
9a262a308c
commit
49e7357704
3 changed files with 5 additions and 0 deletions
|
|
@ -6004,6 +6004,7 @@ const char *const MSF_LIST[] = {
|
|||
"RIPPLE_FLOOR",
|
||||
"RIPPLE_CEILING",
|
||||
"INVERTENCORE",
|
||||
"FLATLIGHTING",
|
||||
NULL
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue