summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Floater.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-07-01 18:03:39 +0200
committeraap <aap@papnet.eu>2020-07-01 18:04:02 +0200
commit2141247e0829baec36c9011f0c660ad7d8e40dd8 (patch)
treef413928cb6dd07e5447113cac0b84e32d45b1318 /src/vehicles/Floater.h
parentfix (diff)
downloadre3-2141247e0829baec36c9011f0c660ad7d8e40dd8.tar
re3-2141247e0829baec36c9011f0c660ad7d8e40dd8.tar.gz
re3-2141247e0829baec36c9011f0c660ad7d8e40dd8.tar.bz2
re3-2141247e0829baec36c9011f0c660ad7d8e40dd8.tar.lz
re3-2141247e0829baec36c9011f0c660ad7d8e40dd8.tar.xz
re3-2141247e0829baec36c9011f0c660ad7d8e40dd8.tar.zst
re3-2141247e0829baec36c9011f0c660ad7d8e40dd8.zip
Diffstat (limited to '')
-rw-r--r--src/vehicles/Floater.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vehicles/Floater.h b/src/vehicles/Floater.h
index 1cfb46fb..91ab70ae 100644
--- a/src/vehicles/Floater.h
+++ b/src/vehicles/Floater.h
@@ -36,10 +36,12 @@ public:
CVector m_impulsePoint;
bool ProcessBuoyancy(CPhysical *phys, float buoyancy, CVector *point, CVector *impulse);
+ bool ProcessBuoyancyBoat(CVehicle *phys, float buoyancy, CVector *point, CVector *impulse, bool bNoTurnForce);
void PreCalcSetup(CPhysical *phys, float buoyancy);
void SimpleCalcBuoyancy(void);
float SimpleSumBuoyancyData(CVector &waterLevel, tWaterLevel waterPosition);
void FindWaterLevel(const CVector &zpos, CVector *waterLevel, tWaterLevel *waterPosition);
+ void FindWaterLevelNorm(const CVector &zpos, CVector *waterLevel, tWaterLevel *waterPosition, CVector *normal);
bool CalcBuoyancyForce(CPhysical *phys, CVector *impulse, CVector *point);
};
extern cBuoyancy mod_Buoyancy;