mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-13 15:27:56 +03:00
Added SetScale input to func_fake_worldportal
This commit is contained in:
parent
f638009797
commit
15f4d582f2
@ -54,6 +54,7 @@ public:
|
||||
void InputSetSkyMode( inputdata_t &inputdata ) { m_iSkyMode = inputdata.value.Int(); }
|
||||
void InputSetRenderTarget( inputdata_t &inputdata ) { m_iszRenderTarget = inputdata.value.StringID(); }
|
||||
void InputSetFogController( inputdata_t &inputdata ) { m_hFogController = inputdata.value.Entity(); if (m_hFogController) { m_iszFogController = m_hFogController->GetEntityName(); } }
|
||||
void InputSetScale( inputdata_t &inputdata ) { m_flScale = inputdata.value.Float(); }
|
||||
|
||||
private:
|
||||
|
||||
@ -83,6 +84,7 @@ BEGIN_DATADESC( CFuncFakeWorldPortal )
|
||||
DEFINE_INPUTFUNC( FIELD_INTEGER, "SetSkyMode", InputSetSkyMode ),
|
||||
DEFINE_INPUTFUNC( FIELD_STRING, "SetRenderTarget", InputSetRenderTarget ),
|
||||
DEFINE_INPUTFUNC( FIELD_EHANDLE, "SetFogController", InputSetFogController ),
|
||||
DEFINE_INPUTFUNC( FIELD_FLOAT, "SetScale", InputSetScale ),
|
||||
|
||||
END_DATADESC()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user