mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 00:41:55 +00:00
- removed the scripting wrappers for floorz and ceilingz.
These won't be needed anymore with floating point values
This commit is contained in:
parent
044929ad06
commit
367a998b40
2 changed files with 0 additions and 26 deletions
|
@ -104,30 +104,6 @@ DEFINE_FIELD_X(tspritetype, tspritetype, time)
|
|||
DEFINE_GLOBAL(wall)
|
||||
DEFINE_GLOBAL(sector)
|
||||
|
||||
double sector_floorz(sectortype* sect)
|
||||
{
|
||||
if (!sect) ThrowAbortException(X_READ_NIL, nullptr);
|
||||
return sect->int_floorz() * zinttoworld;
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION_NATIVE(_sectortype, floorz, sector_floorz)
|
||||
{
|
||||
PARAM_SELF_STRUCT_PROLOGUE(sectortype);
|
||||
ACTION_RETURN_FLOAT(sector_floorz(self));
|
||||
}
|
||||
|
||||
double sector_ceilingz(sectortype* sect)
|
||||
{
|
||||
if (!sect) ThrowAbortException(X_READ_NIL, nullptr);
|
||||
return sect->int_ceilingz() * zinttoworld;
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION_NATIVE(_sectortype, ceilingz, sector_ceilingz)
|
||||
{
|
||||
PARAM_SELF_STRUCT_PROLOGUE(sectortype);
|
||||
ACTION_RETURN_FLOAT(sector_ceilingz(self));
|
||||
}
|
||||
|
||||
void sector_setfloorz(sectortype* sect, double val)
|
||||
{
|
||||
if (!sect) ThrowAbortException(X_READ_NIL, nullptr);
|
||||
|
|
|
@ -188,8 +188,6 @@ struct sectortype native
|
|||
}
|
||||
*/
|
||||
|
||||
native double floorz();
|
||||
native double ceilingz();
|
||||
native void setceilingz(double cc, bool temp = false);
|
||||
native void setfloorz(double cc, bool temp = false);
|
||||
native void addceilingz(double cc, bool temp = false);
|
||||
|
|
Loading…
Reference in a new issue