diff options
author | aap <aap@papnet.eu> | 2019-07-19 11:57:12 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-07-19 11:57:12 +0200 |
commit | 59145cea83da6d0ade8221dbe8c1469be8084ea0 (patch) | |
tree | 3f6dde8e3840e5ebe641f6666c6d790f4a1f1950 /src/vehicles/Door.h | |
parent | *cough* (diff) | |
download | re3-59145cea83da6d0ade8221dbe8c1469be8084ea0.tar re3-59145cea83da6d0ade8221dbe8c1469be8084ea0.tar.gz re3-59145cea83da6d0ade8221dbe8c1469be8084ea0.tar.bz2 re3-59145cea83da6d0ade8221dbe8c1469be8084ea0.tar.lz re3-59145cea83da6d0ade8221dbe8c1469be8084ea0.tar.xz re3-59145cea83da6d0ade8221dbe8c1469be8084ea0.tar.zst re3-59145cea83da6d0ade8221dbe8c1469be8084ea0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/vehicles/Door.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vehicles/Door.h b/src/vehicles/Door.h index fc771a40..7bb7bba3 100644 --- a/src/vehicles/Door.h +++ b/src/vehicles/Door.h @@ -26,6 +26,12 @@ struct CDoor CVector m_vecSpeed; CDoor(void); + void Init(float minAngle, float maxAngle, int8 dir, int8 axis) { + m_fMinAngle = minAngle; + m_fMaxAngle = maxAngle; + m_nDirn = dir; + m_nAxis = axis; + } void Open(float ratio); void Process(CVehicle *veh); float RetAngleWhenClosed(void); |