From 41287f5399c0888d03a8475f2ab373ffd19c3ba0 Mon Sep 17 00:00:00 2001 From: aa15032261 Date: Sun, 7 Aug 2022 19:03:42 +0800 Subject: [PATCH] Removed unused classes from gta directory. (#392) --- BigBaseV2/src/gta/fwddec.hpp | 4 ---- BigBaseV2/src/gta/ped_factory.hpp | 9 --------- BigBaseV2/src/gta/replay.hpp | 29 +---------------------------- 3 files changed, 1 insertion(+), 41 deletions(-) diff --git a/BigBaseV2/src/gta/fwddec.hpp b/BigBaseV2/src/gta/fwddec.hpp index 3a6c1fba..edd9cea3 100644 --- a/BigBaseV2/src/gta/fwddec.hpp +++ b/BigBaseV2/src/gta/fwddec.hpp @@ -42,11 +42,7 @@ namespace rage class fwRefAwareBase; class fwExtensibleBase; - class fwEntity; class fwArchetype; - - class CVehicle; - class CPed; } class GtaThread; diff --git a/BigBaseV2/src/gta/ped_factory.hpp b/BigBaseV2/src/gta/ped_factory.hpp index 656cfe4a..881ab663 100644 --- a/BigBaseV2/src/gta/ped_factory.hpp +++ b/BigBaseV2/src/gta/ped_factory.hpp @@ -1,15 +1,6 @@ #pragma once #include "fwddec.hpp" -#pragma pack(push, 1) -class CPed -{ -public: - char m_padding[0x10B8]; - CPlayerInfo *m_playerinfo; -}; -#pragma pack(pop) - class CPedFactory { public: diff --git a/BigBaseV2/src/gta/replay.hpp b/BigBaseV2/src/gta/replay.hpp index 22d6b3bb..0ffb6ded 100644 --- a/BigBaseV2/src/gta/replay.hpp +++ b/BigBaseV2/src/gta/replay.hpp @@ -6,38 +6,11 @@ namespace rage { - class CVehicle : public fwEntity - { - public: - char pad_018C[2716]; //0x018C - //class CPed* m_driver; //0x0C28 - //class CPed* m_occupants[8]; //0x0C30 - }; //Size: 0x018C - - class CPed : public fwEntity - { - public: - char pad_018C[2972]; //0x018C - class CVehicle* m_last_vehicle; //0x0D28 - char pad_0D30[908]; //0x0D30 - int8_t m_decal_index; //0x10BC - int8_t m_decal_info; //0x10BD - char pad_10BE[10]; //0x10BE - class CPlayerInfo* m_player_info; //0x10C8 - }; - class CObject : public fwEntity { public: }; //Size: 0x018C - class CBaseModelInfo - { - public: - char pad_0000[24]; //0x0000 - uint32_t m_model; //0x0018 - }; //Size: 0x001C - class CPedFactory { public: @@ -122,7 +95,7 @@ namespace rage class CVehicleHandle { public: - class CVehicle* m_vehicle; //0x0000 + class CAutomobile* m_vehicle; //0x0000 int32_t m_handle; //0x0008 char pad_000C[4]; //0x000C }; //Size: 0x0010