mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
Merge branch 'master' of https://github.com/rheit/zdoom
This commit is contained in:
commit
d5e31aff1b
5 changed files with 14 additions and 4 deletions
|
@ -717,7 +717,11 @@ void M_Drawer (void)
|
|||
|
||||
if (DMenu::CurrentMenu != NULL && menuactive != MENU_Off)
|
||||
{
|
||||
if (DMenu::CurrentMenu->DimAllowed()) screen->Dim(fade);
|
||||
if (DMenu::CurrentMenu->DimAllowed())
|
||||
{
|
||||
screen->Dim(fade);
|
||||
V_SetBorderNeedRefresh();
|
||||
}
|
||||
DMenu::CurrentMenu->Drawer();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -342,7 +342,7 @@ bool P_CreateFloor(sector_t *sec, DFloor::EFloor floortype, line_t *line,
|
|||
ceilingheight = sec->FindLowestCeilingPoint(&spot2);
|
||||
floor->m_FloorDestDist = sec->floorplane.PointToDist(spot, newheight);
|
||||
if (sec->floorplane.ZatPointDist(spot2, floor->m_FloorDestDist) > ceilingheight)
|
||||
floor->m_FloorDestDist = sec->floorplane.PointToDist(spot2, floortype == ceilingheight - height);
|
||||
floor->m_FloorDestDist = sec->floorplane.PointToDist(spot2, ceilingheight - height);
|
||||
break;
|
||||
|
||||
case DFloor::floorRaiseToHighest:
|
||||
|
|
|
@ -753,8 +753,8 @@ static void CalcPosVel(int type, const AActor *actor, const sector_t *sector,
|
|||
if (type == SOURCE_Actor && actor != NULL)
|
||||
{
|
||||
vel->X = float(actor->Vel.X * TICRATE);
|
||||
vel->Y = float(actor->Vel.Y * TICRATE);
|
||||
vel->Z = float(actor->Vel.Z * TICRATE);
|
||||
vel->Y = float(actor->Vel.Z * TICRATE);
|
||||
vel->Z = float(actor->Vel.Y * TICRATE);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -151,6 +151,7 @@ $alias switches/exitbutn switches/normbutn // Heretic has no special exit button
|
|||
plats/pt1_strt pstart
|
||||
plats/pt1_stop pstop
|
||||
plats/pt1_mid dormov
|
||||
plats/pt2_mid stnmov
|
||||
|
||||
//
|
||||
// Door Sounds
|
||||
|
|
5
wadsrc/static/filter/game-heretic/sndseq.txt
Normal file
5
wadsrc/static/filter/game-heretic/sndseq.txt
Normal file
|
@ -0,0 +1,5 @@
|
|||
:Platform
|
||||
playuntildone plats/pt1_strt
|
||||
playrepeat plats/pt2_mid
|
||||
stopsound plats/pt1_stop
|
||||
end
|
Loading…
Reference in a new issue