From 1592cca0cfb0d8f45748bf36f0badafb2f6b26d1 Mon Sep 17 00:00:00 2001 From: Alex Gravitos <63512006+gaussandhisgun@users.noreply.github.com> Date: Tue, 3 Feb 2026 15:57:13 +0300 Subject: [PATCH] Correctly indentify some fields in CPlane Field mappings were obtained with experiments. Turns out these four fields are all floats that represent the plane's control values. --- plugin_sa/game_sa/CPlane.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugin_sa/game_sa/CPlane.h b/plugin_sa/game_sa/CPlane.h index c88cc2ba..e7a25aed 100644 --- a/plugin_sa/game_sa/CPlane.h +++ b/plugin_sa/game_sa/CPlane.h @@ -42,10 +42,10 @@ class CPlane : public CAutomobile { protected: CPlane(plugin::dummy_func_t) : CAutomobile(plugin::dummy) {} public: - float field_988; - int field_98C; - int field_990; - int field_994; + float fLeftRightSkid; // field_988 + float fSteeringUpDown; // field_98C + float fSteeringLeftRight; // field_990 + float fAccelerationBreakStatus; // field_994 float field_998; int field_99C; int field_9A0; @@ -108,4 +108,4 @@ extern float &PLANE_DAMAGE_WAVE_COUNTER_VAR; extern float &PLANE_DAMAGE_THRESHHOLD; extern float &PLANE_DAMAGE_SCALE_MASS; extern float &PLANE_DAMAGE_DESTROY_THRESHHOLD; -extern CVector &vecRCBaronGunPos; \ No newline at end of file +extern CVector &vecRCBaronGunPos;