CAutomobile ctor, car spawner, fixes

This commit is contained in:
aap 2019-07-19 11:57:12 +02:00
commit 59145cea83
10 changed files with 230 additions and 48 deletions

View file

@ -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);