mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 12:11:25 +00:00
- Fixed: If the sector behind a seg was closed, but it was closed between the
ceiling and floor of the front sector, the renderer did not add it to the solid clip list. - Blends created with the ACS fade commands now degrade to transparent overlays when the console is visible, just as they do for the menu. SVN r240 (trunk)
This commit is contained in:
parent
5541dc69f1
commit
d027aafb4c
4 changed files with 28 additions and 1 deletions
|
@ -1,9 +1,16 @@
|
|||
July 9, 2006
|
||||
- Fixed: If the sector behind a seg was closed, but it was closed between the
|
||||
ceiling and floor of the front sector, the renderer did not add it to the
|
||||
solid clip list.
|
||||
|
||||
July 8, 2006 (Changes by Graf Zahl)
|
||||
- Fixed: Specifying 'strifefallingdamage' in MAPINFO cleared all other flags.
|
||||
- Fixed: maxstepheight and maxdropoffheight were stored as ints instead of
|
||||
fixed_t's by the DECORATE parser.
|
||||
|
||||
July 7, 2006
|
||||
- Blends created with the ACS fade commands now degrade to transparent overlays
|
||||
when the console is visible, just as they do for the menu.
|
||||
- Added actor replacement for DECORATE. This works at a higher level than
|
||||
using duplicate DoomEdNums and will affect all attempts to spawn the
|
||||
replaced actor. However, because this happens for all spawns and not just
|
||||
|
|
|
@ -1193,6 +1193,18 @@ void C_DrawConsole ()
|
|||
TickerVisible = false;
|
||||
}
|
||||
}
|
||||
|
||||
// Apply palette blend effects
|
||||
if (StatusBar != NULL)
|
||||
{
|
||||
player_t *player = StatusBar->CPlayer;
|
||||
if (player->camera != NULL && player->camera->player != NULL)
|
||||
{
|
||||
player = player->camera->player;
|
||||
}
|
||||
screen->Dim (PalEntry (player->BlendR*255, player->BlendG*255, player->BlendB*255),
|
||||
player->BlendA, 0, ConBottom, screen->GetWidth(), screen->GetHeight() - ConBottom);
|
||||
}
|
||||
}
|
||||
|
||||
if (menuactive != MENU_Off)
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
#include "sbar.h"
|
||||
#include "c_cvars.h"
|
||||
#include "c_dispatch.h"
|
||||
#include "c_console.h"
|
||||
#include "v_video.h"
|
||||
#include "m_swap.h"
|
||||
#include "r_draw.h"
|
||||
|
@ -1370,7 +1371,7 @@ void FBaseStatusBar::BlendView (float blend[4])
|
|||
AddBlend (0.25f, 0.25f, 0.853f, 0.4f, blend);
|
||||
}
|
||||
|
||||
if (CPlayer->camera != NULL && menuactive == MENU_Off)
|
||||
if (CPlayer->camera != NULL && menuactive == MENU_Off && ConsoleState == c_up)
|
||||
{
|
||||
player_t *player = (CPlayer->camera->player != NULL) ? CPlayer->camera->player : CPlayer;
|
||||
AddBlend (player->BlendR, player->BlendG, player->BlendB, player->BlendA, blend);
|
||||
|
|
|
@ -748,6 +748,13 @@ void R_AddLine (seg_t *line)
|
|||
{
|
||||
solid = true;
|
||||
}
|
||||
// [RH] Check for completely closed back sector. This worked in
|
||||
// 1.22, so I assume I accidentally broke it when I added slopes.
|
||||
else if (rw_backcz1 <= rw_backfz1 && rw_backcz2 <= rw_backfz2)
|
||||
{
|
||||
solid = true;
|
||||
doorclosed = true;
|
||||
}
|
||||
else if (
|
||||
(backsector->ceilingpic != skyflatnum ||
|
||||
frontsector->ceilingpic != skyflatnum)
|
||||
|
|
Loading…
Reference in a new issue