2024-08-13 23:29:34 +08:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "game.h"
|
|
|
|
#include "entity.h"
|
|
|
|
|
|
|
|
//-----------------------------------------------------------
|
|
|
|
|
|
|
|
class CVehicle : public CEntity
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
2024-08-20 22:48:22 +08:00
|
|
|
char _gap48[4];
|
|
|
|
|
|
|
|
VEHICLE_TYPE *m_pVehicle;
|
|
|
|
|
|
|
|
char _gap50[104];
|
2024-08-20 22:44:22 +08:00
|
|
|
|
2024-08-13 23:29:34 +08:00
|
|
|
CVehicle( int iType, float fPosX, float fPosY, float fPosZ, float fRotation = 0.0f, BOOL bKeepModelLoaded = FALSE, int a8 = 0);
|
|
|
|
|
2024-08-20 22:48:22 +08:00
|
|
|
void ResetPointers();
|
|
|
|
|
2024-08-20 22:55:12 +08:00
|
|
|
void SetLockedState(int iLocked);
|
|
|
|
|
2024-08-20 22:51:36 +08:00
|
|
|
BOOL HasADriver();
|
|
|
|
|
2024-08-20 22:58:42 +08:00
|
|
|
void SetEngineState(BOOL bState);
|
2024-08-20 22:48:22 +08:00
|
|
|
|
2024-08-20 22:44:22 +08:00
|
|
|
void LinkToInterior(int iInterior);
|
|
|
|
|
2024-08-20 22:52:44 +08:00
|
|
|
BOOL IsOccupied();
|
|
|
|
|
|
|
|
|
2024-08-13 23:29:34 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
//-----------------------------------------------------------
|