mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-22 20:11:17 +00:00
Merge branch 'master' of https://github.com/coelckers/gzdoom
This commit is contained in:
commit
59103868ce
6 changed files with 6 additions and 6 deletions
|
@ -809,7 +809,7 @@ void D_Display ()
|
||||||
{
|
{
|
||||||
StatusBar->DrawBottomStuff (HUD_AltHud);
|
StatusBar->DrawBottomStuff (HUD_AltHud);
|
||||||
if (DrawFSHUD || automapactive) DrawHUD();
|
if (DrawFSHUD || automapactive) DrawHUD();
|
||||||
if (players[consoleplayer].camera && players[consoleplayer].camera->player)
|
if (players[consoleplayer].camera && players[consoleplayer].camera->player && !automapactive)
|
||||||
{
|
{
|
||||||
StatusBar->DrawCrosshair();
|
StatusBar->DrawCrosshair();
|
||||||
}
|
}
|
||||||
|
|
|
@ -1080,7 +1080,7 @@ void G_DoLoadLevel (int position, bool autosave)
|
||||||
}
|
}
|
||||||
E_PlayerEntered(ii, finishstate == FINISH_SameHub);
|
E_PlayerEntered(ii, finishstate == FINISH_SameHub);
|
||||||
// ENTER scripts are being handled when the player gets spawned, this cannot be changed due to its effect on voodoo dolls.
|
// ENTER scripts are being handled when the player gets spawned, this cannot be changed due to its effect on voodoo dolls.
|
||||||
if (level.FromSnapshot) FBehavior::StaticStartTypedScripts(SCRIPT_Return, players[ii].mo, true);
|
if (level.FromSnapshot && !savegamerestore) FBehavior::StaticStartTypedScripts(SCRIPT_Return, players[ii].mo, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,8 @@ enum
|
||||||
{
|
{
|
||||||
DM_MAINVIEW,
|
DM_MAINVIEW,
|
||||||
DM_OFFSCREEN,
|
DM_OFFSCREEN,
|
||||||
DM_PORTAL
|
DM_PORTAL,
|
||||||
|
DM_SKYPORTAL
|
||||||
};
|
};
|
||||||
|
|
||||||
class FGLRenderer
|
class FGLRenderer
|
||||||
|
|
|
@ -655,7 +655,7 @@ void GLSkyboxPortal::DrawContents()
|
||||||
SaveMapSection();
|
SaveMapSection();
|
||||||
currentmapsection[mapsection >> 3] |= 1 << (mapsection & 7);
|
currentmapsection[mapsection >> 3] |= 1 << (mapsection & 7);
|
||||||
|
|
||||||
GLRenderer->DrawScene(DM_PORTAL);
|
GLRenderer->DrawScene(DM_SKYPORTAL);
|
||||||
portal->mFlags &= ~PORTSF_INSKYBOX;
|
portal->mFlags &= ~PORTSF_INSKYBOX;
|
||||||
inskybox = false;
|
inskybox = false;
|
||||||
gl_RenderState.SetDepthClamp(oldclamp);
|
gl_RenderState.SetDepthClamp(oldclamp);
|
||||||
|
|
|
@ -491,7 +491,7 @@ void FGLRenderer::DrawScene(int drawmode)
|
||||||
{
|
{
|
||||||
ssao_portals_available = 0;
|
ssao_portals_available = 0;
|
||||||
}
|
}
|
||||||
else if (ssao_portals_available > 0)
|
else if (drawmode == DM_PORTAL && ssao_portals_available > 0)
|
||||||
{
|
{
|
||||||
applySSAO = true;
|
applySSAO = true;
|
||||||
ssao_portals_available--;
|
ssao_portals_available--;
|
||||||
|
|
|
@ -561,7 +561,6 @@ void FRemapTable::AddToTranslation(const char *range)
|
||||||
}
|
}
|
||||||
|
|
||||||
sc.MustGetAnyToken();
|
sc.MustGetAnyToken();
|
||||||
Printf(0, "token type: %d", sc.TokenType);
|
|
||||||
|
|
||||||
if (sc.TokenType == '[')
|
if (sc.TokenType == '[')
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue