- 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
|
|
@ -36,6 +36,7 @@
|
|||
#include "st_stuff.h"
|
||||
#include "a_hexenglobal.h"
|
||||
#include "g_game.h"
|
||||
#include "g_level.h"
|
||||
|
||||
#include "gi.h"
|
||||
#include "stats.h"
|
||||
|
|
@ -1773,7 +1774,15 @@ void R_DrawBorder (int x1, int y1, int x2, int y2)
|
|||
{
|
||||
int picnum;
|
||||
|
||||
picnum = TexMan.CheckForTexture (gameinfo.borderFlat, FTexture::TEX_Flat);
|
||||
if (level.info != NULL)
|
||||
{
|
||||
picnum = TexMan.CheckForTexture (level.info->bordertexture, FTexture::TEX_Flat);
|
||||
}
|
||||
else
|
||||
{
|
||||
picnum = TexMan.CheckForTexture (gameinfo.borderFlat, FTexture::TEX_Flat);
|
||||
}
|
||||
|
||||
if (picnum >= 0)
|
||||
{
|
||||
screen->FlatFill (x1, y1, x2, y2, TexMan(picnum));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue