Added GetPixelStretch to LevelLocals struct.
This commit is contained in:
parent
2eb51e5f79
commit
1e7df5505e
3 changed files with 19 additions and 0 deletions
|
|
@ -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());
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue