This commit is contained in:
Fire-Head
2020-04-17 08:54:14 +03:00
parent 435a9ca7f2
commit a4922d5cb7
139 changed files with 1350 additions and 1400 deletions

View File

@ -49,7 +49,7 @@ bool bAllCarCheat; // unused
RwObject *GetCurrentAtomicObjectCB(RwObject *object, void *data);
bool CAutomobile::m_sAllTaxiLights;// = *(bool*)0x95CD21;
bool CAutomobile::m_sAllTaxiLights;
CAutomobile::CAutomobile(int32 id, uint8 CreatedBy)
: CVehicle(CreatedBy)

View File

@ -21,16 +21,16 @@
#define INVALID_ORIENTATION (-9999.99f)
float fShapeLength = 0.4f;// *(float*)0x600E78;
float fShapeTime = 0.05f;// *(float*)0x600E7C;
float fRangeMult = 0.75f; // = *(float*)0x600E80; //0.6f; // 0.75f gta 3
float fTimeMult;// = *(float*)0x943008;
float fShapeLength = 0.4f;
float fShapeTime = 0.05f;
float fRangeMult = 0.75f; //0.6f; // 0.75f gta 3
float fTimeMult;
float MAX_WAKE_LENGTH = 50.0f;
float MIN_WAKE_INTERVAL = 1.0f;
float WAKE_LIFETIME = 400.0f;
CBoat *CBoat::apFrameWakeGeneratingBoats[4];// = *(CBoat * (*)[4]) * (uintptr*)0x8620E0;
CBoat *CBoat::apFrameWakeGeneratingBoats[4];
CBoat::CBoat(int mi, uint8 owner) : CVehicle(owner)
{

View File

@ -7,9 +7,9 @@
#include "Vehicle.h"
#include "Floater.h"
cBuoyancy mod_Buoyancy;// = *(cBuoyancy*)0x8F2674;
cBuoyancy mod_Buoyancy;
static float fVolMultiplier = 1.0f; // 0x601394;
static float fVolMultiplier = 1.0f;
// amount of boat volume in bounding box
// 1.0-volume is the empty space in the bbox
static float fBoatVolumeDistribution[9] = {

View File

@ -4,7 +4,7 @@
#include "FileMgr.h"
#include "HandlingMgr.h"
cHandlingDataMgr mod_HandlingManager;// = *(cHandlingDataMgr*)0x728060;
cHandlingDataMgr mod_HandlingManager;
const char *HandlingFilename = "HANDLING.CFG";

View File

@ -34,13 +34,13 @@ enum
HELI_STATUS_HOVER2,
};
CHeli *CHeli::pHelis[NUM_HELIS];// = (CHeli**)0x72CF50;
int16 CHeli::NumRandomHelis;// = *(int16*)0x95CCAA;
uint32 CHeli::TestForNewRandomHelisTimer;// = *(uint32*)0x8F1A7C;
CHeli *CHeli::pHelis[NUM_HELIS];
int16 CHeli::NumRandomHelis;
uint32 CHeli::TestForNewRandomHelisTimer;
int16 CHeli::NumScriptHelis; // unused
bool CHeli::CatalinaHeliOn;// = *(bool*)0x95CD85;
bool CHeli::CatalinaHasBeenShotDown;// = *(bool*)0x95CD56;
bool CHeli::ScriptHeliOn;// = *(bool*)0x95CD43;
bool CHeli::CatalinaHeliOn;
bool CHeli::CatalinaHasBeenShotDown;
bool CHeli::ScriptHeliOn;
CHeli::CHeli(int32 id, uint8 CreatedBy)
: CVehicle(CreatedBy)

View File

@ -16,35 +16,35 @@
#include "HandlingMgr.h"
#include "Plane.h"
CPlaneNode *pPathNodes;// = *(CPlaneNode**)0x8F1B68;
CPlaneNode *pPath2Nodes;// = *(CPlaneNode**)0x885B8C;
CPlaneNode *pPath3Nodes;// = *(CPlaneNode**)0x885B78;
CPlaneNode *pPath4Nodes;// = *(CPlaneNode**)0x885AD8;
int32 NumPathNodes;// = *(int32*)0x8F2BE4;
int32 NumPath2Nodes;// = *(int32*)0x941498;
int32 NumPath3Nodes;// = *(int32*)0x9414D8;
int32 NumPath4Nodes;// = *(int32*)0x9412C8;
float TotalLengthOfFlightPath;// = *(float*)0x8F2C6C;
float TotalLengthOfFlightPath2;// = *(float*)0x64CFBC;
float TotalLengthOfFlightPath3;// = *(float*)0x64CFD0;
float TotalLengthOfFlightPath4;// = *(float*)0x64CFDC;
float TotalDurationOfFlightPath;// = *(float*)0x64CFB8;
float TotalDurationOfFlightPath2;// = *(float*)0x64CFC0;
float TotalDurationOfFlightPath3;// = *(float*)0x64CFD4;
float TotalDurationOfFlightPath4;// = *(float*)0x64CFE0;
float LandingPoint;// = *(float*)0x8F2C7C;
float TakeOffPoint;// = *(float*)0x8E28A4;
CPlaneInterpolationLine aPlaneLineBits[6]; // = (CPlaneInterpolationLine*)0x734168;
CPlaneNode *pPathNodes;
CPlaneNode *pPath2Nodes;
CPlaneNode *pPath3Nodes;
CPlaneNode *pPath4Nodes;
int32 NumPathNodes;
int32 NumPath2Nodes;
int32 NumPath3Nodes;
int32 NumPath4Nodes;
float TotalLengthOfFlightPath;
float TotalLengthOfFlightPath2;
float TotalLengthOfFlightPath3;
float TotalLengthOfFlightPath4;
float TotalDurationOfFlightPath;
float TotalDurationOfFlightPath2;
float TotalDurationOfFlightPath3;
float TotalDurationOfFlightPath4;
float LandingPoint;
float TakeOffPoint;
CPlaneInterpolationLine aPlaneLineBits[6];
float PlanePathPosition[3];// = (float*)0x8F5FC8; //[3]
float OldPlanePathPosition[3];// = (float*)0x8F5FBC; //[3]
float PlanePathSpeed[3];// = (float*)0x941538; //[3]
float PlanePath2Position[3];// = (float*)0x64CFC4; //[3]
float PlanePath3Position;// = *(float*)0x64CFD8;
float PlanePath4Position;// = *(float*)0x64CFE4;
float PlanePath2Speed[3];// = (float*)0x8F1A54; //[3]
float PlanePath3Speed;// = *(float*)0x8F1A94;
float PlanePath4Speed;// = *(float*)0x8F1AFC;
float PlanePathPosition[3];
float OldPlanePathPosition[3];
float PlanePathSpeed[3];
float PlanePath2Position[3];
float PlanePath3Position;
float PlanePath4Position;
float PlanePath2Speed[3];
float PlanePath3Speed;
float PlanePath4Speed;
enum
@ -55,12 +55,12 @@ enum
CESNA_STATUS_LANDED,
};
int32 &CesnaMissionStatus = *(int32*)0x64CFE8;
int32 &CesnaMissionStartTime = *(int32*)0x64CFEC;
CPlane *&pDrugRunCesna = *(CPlane**)0x8F5F80;
int32 &DropOffCesnaMissionStatus = *(int32*)0x64CFF0;
int32 &DropOffCesnaMissionStartTime = *(int32*)0x64CFF4;
CPlane *&pDropOffCesna = *(CPlane**)0x8E2A38;
int32 CesnaMissionStatus;
int32 CesnaMissionStartTime;
CPlane *pDrugRunCesna;
int32 DropOffCesnaMissionStatus;
int32 DropOffCesnaMissionStartTime;
CPlane *pDropOffCesna;
CPlane::CPlane(int32 id, uint8 CreatedBy)