Skip to content
Snippets Groups Projects
Commit ea4e8cbf authored by Maru's avatar Maru :speech_balloon:
Browse files

Replace doomstat.h

parent d4f9bd29
No related branches found
No related tags found
No related merge requests found
Pipeline #5320 canceled
...@@ -291,6 +291,23 @@ typedef struct ...@@ -291,6 +291,23 @@ typedef struct
char value[256]; // 255 usable characters. If this seriously isn't enough then wtf. char value[256]; // 255 usable characters. If this seriously isn't enough then wtf.
} customoption_t; } customoption_t;
// rr
extern struct maplighting
{
UINT8 contrast;
SINT8 backlight;
boolean directional;
angle_t angle;
} maplighting;
typedef struct
{
UINT8 light_contrast; ///< Range of wall lighting. 0 is no lighting.
SINT8 sprite_backlight; ///< Subtract from wall lighting for sprites only.
boolean use_light_angle; ///< When false, wall lighting is evenly distributed. When true, wall lighting is directional.
angle_t light_angle; ///< Angle of directional wall lighting.
} mapheader_lighting_t;
/** Map header information. /** Map header information.
*/ */
typedef struct typedef struct
...@@ -361,6 +378,11 @@ typedef struct ...@@ -361,6 +378,11 @@ typedef struct
SINT8 musforcereset; ///< Force resetmusic (-1 for default; 0 for force off; 1 for force on) SINT8 musforcereset; ///< Force resetmusic (-1 for default; 0 for force off; 1 for force on)
// rr
//fixed_t darkness; ///< Pohbee darkness multiplier
//fixed_t mobj_scale; ///< Defines the size all object calculations are relative to
mapheader_lighting_t lighting; ///< Wall and sprite lighting
// Lua stuff. // Lua stuff.
// (This is not ifdeffed so the map header structure can stay identical, just in case.) // (This is not ifdeffed so the map header structure can stay identical, just in case.)
UINT8 numCustomOptions; ///< Internal. For Lua custom value support. UINT8 numCustomOptions; ///< Internal. For Lua custom value support.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment