- scriptified a_thingstoblowup.cpp.
- changed the power crystal floor movement to use DFloor instead of an incomplete in-place hack to ensure that everything is processed properly.
This commit is contained in:
parent
dd5494d848
commit
caef5344b0
9 changed files with 194 additions and 174 deletions
|
|
@ -492,6 +492,21 @@ bool P_CreateFloor(sector_t *sec, DFloor::EFloor floortype, line_t *line,
|
|||
return true;
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(DFloor, CreateFloor)
|
||||
{
|
||||
PARAM_PROLOGUE;
|
||||
PARAM_POINTER(sec, sector_t);
|
||||
PARAM_INT(floortype);
|
||||
PARAM_POINTER(ln, line_t);
|
||||
PARAM_FLOAT(speed);
|
||||
PARAM_FLOAT_DEF(height);
|
||||
PARAM_INT_DEF(crush);
|
||||
PARAM_INT_DEF(change);
|
||||
PARAM_BOOL_DEF(hereticlower);
|
||||
PARAM_BOOL_DEF(hexencrush);
|
||||
ACTION_RETURN_BOOL(P_CreateFloor(sec, (DFloor::EFloor)floortype, ln, speed, height, crush, change, hexencrush, hereticlower));
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// HANDLE FLOOR TYPES
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue