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.
This commit is contained in:
Kevin Caccamo 2020-01-10 17:31:21 -05:00 committed by drfrag
parent 43264d9366
commit d69becfa57

View file

@ -154,6 +154,7 @@ enum ELineFlags : unsigned
ML_ADDTRANS = 0x00000400, // additive translucency (can only be set internally)
// 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
@ -171,7 +172,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.)
};