Skip to content
Permalink
Browse files

Change ML_NOSKYWALLS and add ML_DRAWFULLHEIGHT

ML_DRAWFULLHEIGHT will be used to draw walls from the front/back sector's floor to the other sector's ceiling.
  • Loading branch information
Talon1024 authored and coelckers committed Jan 10, 2020
1 parent 9b59801 commit b443d0755e798a81fccc69cc3bf7d128d0f79553
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/doomdata.h
@@ -156,6 +156,7 @@ enum ELineFlags : unsigned
ML_COMPATSIDE = 0x00000800, // for compatible PointOnLineSide checks. Using the global compatibility check would be a bit expensive for this check.

// Extended flags
ML_NOSKYWALLS = 0x00001000, // Don't draw sky above or below walls
ML_MONSTERSCANACTIVATE = 0x00002000, // [RH] Monsters (as well as players) can activate the line
ML_BLOCK_PLAYERS = 0x00004000,
ML_BLOCKEVERYTHING = 0x00008000, // [RH] Line blocks everything
@@ -173,7 +174,7 @@ enum ELineFlags : unsigned
ML_BLOCKHITSCAN = 0x08000000, // blocks hitscan attacks
ML_3DMIDTEX_IMPASS = 0x10000000, // [TP] if 3D midtex, behaves like a height-restricted ML_BLOCKING
ML_REVEALED = 0x20000000, // set if revealed in automap
ML_NOSKYWALLS = 0x40000000, // Don't draw sky above or below walls
ML_DRAWFULLHEIGHT = 0x40000000, // Draw the full height of the upper/lower sections
ML_PORTALCONNECT = 0x80000000, // for internal use only: This line connects to a sector with a linked portal (used to speed up sight checks.)
};

0 comments on commit b443d07

Please sign in to comment.
You can’t perform that action at this time.