- Added customizable border textures. They will be defined with the
MAPINFO keyword 'bordertexture' and are settable per map. - Fixed: When used in DECORATE A_Explode must use A_ExplodeParms. - Added custom label support to A_Chase. To enable resurrection from the customizable version I also moved all A_VileChase stuff into p_enemy.cpp. SVN r437 (trunk)
This commit is contained in:
parent
34719e8d58
commit
ec2e63c6d3
15 changed files with 294 additions and 213 deletions
|
|
@ -278,6 +278,7 @@ static const char *MapInfoMapLevel[] =
|
|||
"compat_trace",
|
||||
"compat_dropoff",
|
||||
"compat_boomscroll",
|
||||
"bordertexture",
|
||||
|
||||
NULL
|
||||
};
|
||||
|
|
@ -408,6 +409,7 @@ MapHandlers[] =
|
|||
{ MITYPE_COMPATFLAG, COMPATF_TRACE},
|
||||
{ MITYPE_COMPATFLAG, COMPATF_DROPOFF},
|
||||
{ MITYPE_COMPATFLAG, COMPATF_BOOMSCROLL},
|
||||
{ MITYPE_LUMPNAME, lioffset(bordertexture), 0 },
|
||||
};
|
||||
|
||||
static const char *MapInfoClusterLevel[] =
|
||||
|
|
@ -475,6 +477,7 @@ static void SetLevelDefaults (level_info_t *levelinfo)
|
|||
strncpy (levelinfo->fadetable, "COLORMAP", 8);
|
||||
strcpy (levelinfo->skypic1, "-NOFLAT-");
|
||||
strcpy (levelinfo->skypic2, "-NOFLAT-");
|
||||
strcpy (levelinfo->bordertexture, gameinfo.borderFlat);
|
||||
if (gameinfo.gametype != GAME_Hexen)
|
||||
{
|
||||
// For maps without a BEHAVIOR, this will be cleared.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue