mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-25 19:43:22 +00:00
Fix bitflags enum terrain_flags_t for C++
This commit is contained in:
parent
e77b192d90
commit
2cff964080
1 changed files with 8 additions and 10 deletions
|
|
@ -93,15 +93,13 @@ struct t_overlay_t
|
|||
fixed_t speed; // Speed-up based on object speed. 0 plays the animation at a constant rate.
|
||||
};
|
||||
|
||||
typedef enum
|
||||
{
|
||||
// Terrain flag values.
|
||||
TRF_LIQUID = 1, // Texture has water properties (wavy, slippery, etc)
|
||||
TRF_SNEAKERPANEL = 1<<1, // Texture is a booster
|
||||
TRF_STAIRJANK = 1<<2, // Texture is bumpy road
|
||||
TRF_TRIPWIRE = 1<<3, // Texture is a tripwire when used as a midtexture
|
||||
TRF_REMAP = 1<<4, // Texture colors may be remapped with ENCOREMAP or TWEAKMAP
|
||||
} terrain_flags_t;
|
||||
typedef INT32 terrain_flags_t;
|
||||
// Terrain flag values.
|
||||
#define TRF_LIQUID (1) // Texture has water properties (wavy, slippery, etc)
|
||||
#define TRF_SNEAKERPANEL (1<<1) // Texture is a booster
|
||||
#define TRF_STAIRJANK (1<<2) // Texture is bumpy road
|
||||
#define TRF_TRIPWIRE (1<<3) // Texture is a tripwire when used as a midtexture
|
||||
#define TRF_REMAP (1<<4) // Texture colors may be remapped with ENCOREMAP or TWEAKMAP
|
||||
|
||||
struct terrain_t
|
||||
{
|
||||
|
|
@ -435,7 +433,7 @@ terrain_t *K_GetTerrainForTextureName(const char *checkName);
|
|||
|
||||
Returns the ID of the terrain definition applied
|
||||
to the texture name inputted.
|
||||
|
||||
|
||||
Input Arguments:-
|
||||
checkName - The texture's name.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue