summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-05-27 20:50:01 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2020-05-27 20:50:01 +0200
commit63d0bdc863f76d018fc8cf3209a9210bc71f0421 (patch)
treebdaa4489e204cbad708a03f5d2dab991c8a7f41f /src/vehicles
parentfix linux build (diff)
downloadre3-63d0bdc863f76d018fc8cf3209a9210bc71f0421.tar
re3-63d0bdc863f76d018fc8cf3209a9210bc71f0421.tar.gz
re3-63d0bdc863f76d018fc8cf3209a9210bc71f0421.tar.bz2
re3-63d0bdc863f76d018fc8cf3209a9210bc71f0421.tar.lz
re3-63d0bdc863f76d018fc8cf3209a9210bc71f0421.tar.xz
re3-63d0bdc863f76d018fc8cf3209a9210bc71f0421.tar.zst
re3-63d0bdc863f76d018fc8cf3209a9210bc71f0421.zip
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Boat.cpp8
-rw-r--r--src/vehicles/Boat.h10
2 files changed, 9 insertions, 9 deletions
diff --git a/src/vehicles/Boat.cpp b/src/vehicles/Boat.cpp
index 66e83c8f..99b6cbb8 100644
--- a/src/vehicles/Boat.cpp
+++ b/src/vehicles/Boat.cpp
@@ -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];
diff --git a/src/vehicles/Boat.h b/src/vehicles/Boat.h
index c8168db0..c6f4b7ad 100644
--- a/src/vehicles/Boat.h
+++ b/src/vehicles/Boat.h
@@ -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; \ No newline at end of file
+}; \ No newline at end of file