- moved ENDOOM lump name definition into gameinfo.
- moved default item drop style into gameinfo. - moved default respawn time into gameinfo. - moved default inventory max amount into gameinfo. - turned Heretic's blocking of the sector for LS_Plat_RaiseAndStayTx0 into a parameter instead of having the game mode decide. SVN r1812 (trunk)
This commit is contained in:
parent
173646971d
commit
93166b86b3
16 changed files with 68 additions and 4874 deletions
|
|
@ -90,9 +90,9 @@ void DPlat::Tick ()
|
|||
|
||||
switch (m_Type)
|
||||
{
|
||||
case platRaiseAndStayLockout:
|
||||
break;
|
||||
case platRaiseAndStay:
|
||||
if (gameinfo.gametype == GAME_Heretic)
|
||||
break;
|
||||
case platDownByValue:
|
||||
case platDownWaitUpStay:
|
||||
case platDownWaitUpStayStone:
|
||||
|
|
@ -157,6 +157,7 @@ void DPlat::Tick ()
|
|||
{
|
||||
case platUpByValueStay:
|
||||
case platRaiseAndStay:
|
||||
case platRaiseAndStayLockout:
|
||||
Destroy ();
|
||||
default:
|
||||
break;
|
||||
|
|
@ -268,6 +269,7 @@ manual_plat:
|
|||
switch (type)
|
||||
{
|
||||
case DPlat::platRaiseAndStay:
|
||||
case DPlat::platRaiseAndStayLockout:
|
||||
newheight = sec->FindNextHighestFloor (&spot);
|
||||
plat->m_High = sec->floorplane.PointToDist (spot, newheight);
|
||||
plat->m_Low = sec->floorplane.d;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue