Changed all of the isometric functionality to mapinfo and playerinfo variables. Retained function of most of the CVars.

This commit is contained in:
Dileep V. Reddy 2024-01-19 22:30:31 -07:00 committed by Rachael Alexanderson
commit d3405837ce
15 changed files with 101 additions and 34 deletions

View file

@ -1694,6 +1694,22 @@ DEFINE_ACTION_FUNCTION_NATIVE(_Sector, SetXOffset, SetXOffset)
ACTION_RETURN_BOOL(self->IsFreelookAllowed());
}
//==========================================================================
//
//
//==========================================================================
static int IsIsometricMode(FLevelLocals *self)
{
return self->IsIsometricMode();
}
DEFINE_ACTION_FUNCTION_NATIVE(FLevelLocals, IsIsometricMode, IsIsometricMode)
{
PARAM_SELF_STRUCT_PROLOGUE(FLevelLocals);
ACTION_RETURN_BOOL(self->IsIsometricMode());
}
//==========================================================================
//
// ZScript counterpart to ACS ChangeSky, uses TextureIDs