This commit is contained in:
Fire-Head
2020-05-27 21:50:01 +03:00
parent 90947a608f
commit 63d0bdc863
11 changed files with 2168 additions and 652 deletions

View File

@ -27,12 +27,12 @@
float fShapeLength = 0.4f;
float fShapeTime = 0.05f;
float fRangeMult = 0.75f; //0.6f; // 0.75f gta 3
float fRangeMult = 0.6f;
float fTimeMult;
float MAX_WAKE_LENGTH = 50.0f;
float MIN_WAKE_INTERVAL = 1.0f;
float WAKE_LIFETIME = 400.0f;
float CBoat::MAX_WAKE_LENGTH = 50.0f;
float CBoat::MIN_WAKE_INTERVAL = 2.0f;
float CBoat::WAKE_LIFETIME = 150.0f;
CBoat *CBoat::apFrameWakeGeneratingBoats[4];

View File

@ -45,6 +45,10 @@ public:
CVector2D m_avec2dWakePoints[32];
float m_afWakePointLifeTime[32];
static float MAX_WAKE_LENGTH;
static float MIN_WAKE_INTERVAL;
static float WAKE_LIFETIME;
CBoat(int, uint8);
virtual void SetModelIndex(uint32 id);
@ -75,8 +79,4 @@ public:
#endif
static const uint32 nSaveStructSize;
};
extern float MAX_WAKE_LENGTH;
extern float MIN_WAKE_INTERVAL;
extern float WAKE_LIFETIME;
};