mirror of
https://github.com/ncblakely/GiantsTools
synced 2024-11-23 22:55:37 +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
|
||
|
};
|
||
|
}
|