mirror of
https://github.com/ncblakely/GiantsTools
synced 2024-12-23 15:57:22 +01:00
27 lines
470 B
C
27 lines
470 B
C
|
#pragma once
|
||
|
|
||
|
namespace GameObj
|
||
|
{
|
||
|
struct ThrustParameters
|
||
|
{
|
||
|
float ThrustMaxHeight{};
|
||
|
float ThrustPower{};
|
||
|
float ThrustLowPct{};
|
||
|
float ThrustHighPct{};
|
||
|
float ThrustPowerMax{};
|
||
|
float ThrustFwdSlowMax{};
|
||
|
float ThrustDrowning{};
|
||
|
};
|
||
|
|
||
|
struct Jetpack
|
||
|
{
|
||
|
Jetpack(
|
||
|
const ThrustParameters& thrustParameters)
|
||
|
: ThrustParameters(thrustParameters)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
ThrustParameters ThrustParameters;
|
||
|
SBYTE ThrustControl{}; // Thrust control state
|
||
|
};
|
||
|
}
|