Hello im new to LFS how do you use Tweaks?
#define TURBO_ON 13 // On
#define TURBO_OFF 12 // Off
#define DRIVE_RWD 1
#define DRIVE_FWD 2
#define DRIVE_AWD 3
#define ENGINE_INLINE 0
#define ENGINE_FLAT 1
#define ENGINE_V 2
typedef struct _DEMOCAR
{
uint32_t uCartype;
uint32_t uGearbox;
uint32_t uDrive;
uint32_t uDummy0;
uint32_t uTurbo;
uint32_t uDummy1;
float flDisplacement;
uint8_t uCylinders;
uint8_t uEngineType;
uint16_t uDummy2;
float flTurboPressure;
float flPower;
float flDummy3;
float flDummy4;
float flTorque;
} DEMOCAR, *PDEMOCAR, *LPDEMOCAR;
// Usage (XRG -> 0058AF90)
DEMOCAR DemoCar;
ReadProcessMemory(hLFS, 0x0058AF90, (LPVOID)&DemoCar, sizeof(DEMOCAR), NULL);