Added GetPixelStretch to LevelLocals struct.

This commit is contained in:
Major Cooke 2017-12-27 14:38:17 -06:00 committed by Rachael Alexanderson
commit 1e7df5505e
3 changed files with 19 additions and 0 deletions

View file

@ -1952,6 +1952,23 @@ DEFINE_ACTION_FUNCTION(FLevelLocals, SetInterMusic)
return 0;
}
//==========================================================================
//
//
//
//==========================================================================
float FLevelLocals::PixelStretch()
{
return level.info->pixelstretch;
}
DEFINE_ACTION_FUNCTION(FLevelLocals, GetPixelStretch)
{
PARAM_SELF_STRUCT_PROLOGUE(FLevelLocals);
ACTION_RETURN_FLOAT(self->PixelStretch());
}
//==========================================================================
//
//