mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +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.
|
fixed_t speed; // Speed-up based on object speed. 0 plays the animation at a constant rate.
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef enum
|
typedef INT32 terrain_flags_t;
|
||||||
{
|
// Terrain flag values.
|
||||||
// Terrain flag values.
|
#define TRF_LIQUID (1) // Texture has water properties (wavy, slippery, etc)
|
||||||
TRF_LIQUID = 1, // Texture has water properties (wavy, slippery, etc)
|
#define TRF_SNEAKERPANEL (1<<1) // Texture is a booster
|
||||||
TRF_SNEAKERPANEL = 1<<1, // Texture is a booster
|
#define TRF_STAIRJANK (1<<2) // Texture is bumpy road
|
||||||
TRF_STAIRJANK = 1<<2, // Texture is bumpy road
|
#define TRF_TRIPWIRE (1<<3) // Texture is a tripwire when used as a midtexture
|
||||||
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
|
||||||
TRF_REMAP = 1<<4, // Texture colors may be remapped with ENCOREMAP or TWEAKMAP
|
|
||||||
} terrain_flags_t;
|
|
||||||
|
|
||||||
struct terrain_t
|
struct terrain_t
|
||||||
{
|
{
|
||||||
|
|
@ -435,7 +433,7 @@ terrain_t *K_GetTerrainForTextureName(const char *checkName);
|
||||||
|
|
||||||
Returns the ID of the terrain definition applied
|
Returns the ID of the terrain definition applied
|
||||||
to the texture name inputted.
|
to the texture name inputted.
|
||||||
|
|
||||||
Input Arguments:-
|
Input Arguments:-
|
||||||
checkName - The texture's name.
|
checkName - The texture's name.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue