diff --git a/src/k_terrain.h b/src/k_terrain.h index d91f20f3d..4e60cbaeb 100644 --- a/src/k_terrain.h +++ b/src/k_terrain.h @@ -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.