mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 04:51:19 +00:00
SVN r68 (trunk)
This commit is contained in:
parent
9b5f9a1d70
commit
19a7cf743e
6 changed files with 11 additions and 5 deletions
|
@ -1,4 +1,7 @@
|
|||
April 23, 2006 (Changes by Graf Zahl)
|
||||
- Added a clipmidtextures level flag which exposes the ML_CLIP_MIDTEX
|
||||
feature globally per level. Also moved the setting of this flag for Strife
|
||||
into MAPINFO.
|
||||
- Added MBF's logic to move monsters away from a dropoff but changed it
|
||||
so that it doesn't require a general change in the movement code.
|
||||
- Added: The Trace function needs a compatibility option to exclude
|
||||
|
|
|
@ -240,6 +240,7 @@ static const char *MapInfoMapLevel[] =
|
|||
"sndseq",
|
||||
"sndinfo",
|
||||
"soundinfo",
|
||||
"clipmidtextures",
|
||||
NULL
|
||||
};
|
||||
|
||||
|
@ -351,6 +352,7 @@ MapHandlers[] =
|
|||
{ MITYPE_LUMPNAME, lioffset(sndseq), 0 },
|
||||
{ MITYPE_LUMPNAME, lioffset(soundinfo), 0 },
|
||||
{ MITYPE_LUMPNAME, lioffset(soundinfo), 0 },
|
||||
{ MITYPE_SETFLAG, LEVEL_CLIPMIDTEX, 0 },
|
||||
};
|
||||
|
||||
static const char *MapInfoClusterLevel[] =
|
||||
|
|
|
@ -100,6 +100,8 @@
|
|||
|
||||
#define LEVEL_MUSICDEFINED UCONST64(0x8000000000) // a marker to disable the $map command in SNDINFO for this map
|
||||
#define LEVEL_MONSTERFALLINGDAMAGE UCONST64(0x10000000000)
|
||||
#define LEVEL_CLIPMIDTEX UCONST64(0x20000000000)
|
||||
|
||||
struct acsdefered_s;
|
||||
class FBehavior;
|
||||
|
||||
|
|
|
@ -1477,6 +1477,7 @@ void P_LoadLineDefs (int lump)
|
|||
|
||||
P_AdjustLine (ld);
|
||||
P_SaveLineSpecial (ld);
|
||||
if (level.flags&LEVEL_CLIPMIDTEX) ld.flags|=ML_CLIP_MIDTEX;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1547,6 +1548,7 @@ void P_LoadLineDefs2 (int lump)
|
|||
|
||||
P_AdjustLine (ld);
|
||||
P_SaveLineSpecial (ld);
|
||||
if (level.flags&LEVEL_CLIPMIDTEX) ld.flags|=ML_CLIP_MIDTEX;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -71,9 +71,6 @@ void P_TranslateLineDef (line_t *ld, maplinedef_t *mld)
|
|||
BOOL passthrough;
|
||||
int i;
|
||||
|
||||
// In Doom format maps, the tag is always the same as the line's id.
|
||||
ld->id = tag;
|
||||
|
||||
if (flags & ML_TRANSLUCENT_STRIFE)
|
||||
{
|
||||
ld->alpha = 255*3/4;
|
||||
|
@ -91,7 +88,7 @@ void P_TranslateLineDef (line_t *ld, maplinedef_t *mld)
|
|||
{
|
||||
flags |= ML_BLOCK_FLOATERS;
|
||||
}
|
||||
flags |= ML_CLIP_MIDTEX;
|
||||
//flags |= ML_CLIP_MIDTEX; moved to MAPINFO
|
||||
passthrough = 0;
|
||||
}
|
||||
else
|
||||
|
|
|
@ -4,7 +4,7 @@ defaultmap
|
|||
forcenoskystretch
|
||||
strifefallingdamage
|
||||
nointermission
|
||||
|
||||
clipmidtextures
|
||||
|
||||
map MAP01 "AREA 1: sanctuary"
|
||||
next MAP02
|
||||
|
|
Loading…
Reference in a new issue