mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-13 16:07:40 +00:00
Merge remote-tracking branch 'remotes/zdoom/master'
This commit is contained in:
commit
dcc77e5fb2
4 changed files with 18 additions and 11 deletions
|
@ -1144,7 +1144,7 @@ static void AM_ScrollParchment (double dmapx, double dmapy)
|
||||||
mapystart = mapystart - dmapy * scale_mtof;
|
mapystart = mapystart - dmapy * scale_mtof;
|
||||||
|
|
||||||
mapxstart = clamp(mapxstart, -40000., 40000.);
|
mapxstart = clamp(mapxstart, -40000., 40000.);
|
||||||
mapystart = clamp(mapxstart, -40000., 40000.);
|
mapystart = clamp(mapystart, -40000., 40000.);
|
||||||
|
|
||||||
if (mapback.isValid())
|
if (mapback.isValid())
|
||||||
{
|
{
|
||||||
|
|
|
@ -81,6 +81,7 @@
|
||||||
#include "p_effect.h"
|
#include "p_effect.h"
|
||||||
#include "r_utility.h"
|
#include "r_utility.h"
|
||||||
#include "a_morph.h"
|
#include "a_morph.h"
|
||||||
|
#include "i_music.h"
|
||||||
|
|
||||||
#include "g_shared/a_pickups.h"
|
#include "g_shared/a_pickups.h"
|
||||||
|
|
||||||
|
@ -4500,6 +4501,8 @@ enum EACSFunctions
|
||||||
ACSF_SetSectorDamage,
|
ACSF_SetSectorDamage,
|
||||||
ACSF_SetSectorTerrain,
|
ACSF_SetSectorTerrain,
|
||||||
ACSF_SpawnParticle,
|
ACSF_SpawnParticle,
|
||||||
|
ACSF_SetMusicVolume,
|
||||||
|
// 2 more left...
|
||||||
|
|
||||||
/* Zandronum's - these must be skipped when we reach 99!
|
/* Zandronum's - these must be skipped when we reach 99!
|
||||||
-100:ResetMap(0),
|
-100:ResetMap(0),
|
||||||
|
@ -6087,6 +6090,10 @@ doplaysound: if (funcIndex == ACSF_PlayActorSound)
|
||||||
color, fullbright, startalpha/255., lifetime, size, fadestep/255.);
|
color, fullbright, startalpha/255., lifetime, size, fadestep/255.);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case ACSF_SetMusicVolume:
|
||||||
|
I_SetMusicVolume(ACSToFloat(args[0]));
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -547,15 +547,7 @@ void P_SerializePolyobjs (FArchive &arc)
|
||||||
arc << seg << po_NumPolyobjs;
|
arc << seg << po_NumPolyobjs;
|
||||||
for(i = 0, po = polyobjs; i < po_NumPolyobjs; i++, po++)
|
for(i = 0, po = polyobjs; i < po_NumPolyobjs; i++, po++)
|
||||||
{
|
{
|
||||||
arc << po->tag << po->Angle << po->StartSpot.pos << po->interpolation;
|
arc << po->tag << po->Angle << po->StartSpot.pos << po->interpolation << po->bBlocked;
|
||||||
if (SaveVersion >= 4537)
|
|
||||||
{
|
|
||||||
arc << po->bBlocked;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
po->bBlocked = false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -581,6 +573,15 @@ void P_SerializePolyobjs (FArchive &arc)
|
||||||
I_Error ("UnarchivePolyobjs: Invalid polyobj tag");
|
I_Error ("UnarchivePolyobjs: Invalid polyobj tag");
|
||||||
}
|
}
|
||||||
arc << angle << delta << po->interpolation;
|
arc << angle << delta << po->interpolation;
|
||||||
|
if (SaveVersion >= 4537)
|
||||||
|
{
|
||||||
|
arc << po->bBlocked;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
po->bBlocked = false;
|
||||||
|
}
|
||||||
|
|
||||||
po->RotatePolyobj (angle, true);
|
po->RotatePolyobj (angle, true);
|
||||||
delta -= po->StartSpot.pos;
|
delta -= po->StartSpot.pos;
|
||||||
po->MovePolyobj (delta, true);
|
po->MovePolyobj (delta, true);
|
||||||
|
|
|
@ -463,7 +463,6 @@ bool FTraceInfo::LineCheck(intercept_t *in, double dist, DVector3 hit)
|
||||||
hit.Z < bf || hit.Z > bc ||
|
hit.Z < bf || hit.Z > bc ||
|
||||||
in->d.line->flags & WallMask)
|
in->d.line->flags & WallMask)
|
||||||
{
|
{
|
||||||
normalline:
|
|
||||||
// hit the wall
|
// hit the wall
|
||||||
Results->HitType = TRACE_HitWall;
|
Results->HitType = TRACE_HitWall;
|
||||||
Results->Tier =
|
Results->Tier =
|
||||||
|
|
Loading…
Reference in a new issue