2018-08-19 09:46:58 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "..\Global\global.h"
|
|
|
|
|
|
|
|
typedef struct LaraExtraInfo {
|
2018-11-01 09:10:32 +01:00
|
|
|
__int16 vehicle;
|
|
|
|
bool hasHarpoon;
|
|
|
|
__int16 harpoonAmmo;
|
2018-11-01 22:45:59 +01:00
|
|
|
__int16 numHarpoonAmmos;
|
2018-11-01 09:10:32 +01:00
|
|
|
bool hasGrenadeLauncher;
|
|
|
|
__int16 grenadeAmmo;
|
2018-11-01 22:45:59 +01:00
|
|
|
__int16 numGrenadeAmmos;
|
2018-11-01 09:10:32 +01:00
|
|
|
bool hasRocketLauncher;
|
|
|
|
__int16 rocketAmmo;
|
2018-11-01 22:45:59 +01:00
|
|
|
__int16 numRocketAmmos;
|
2018-11-12 20:15:55 +01:00
|
|
|
__int16 extraAnim;
|
2018-08-19 09:46:58 +02:00
|
|
|
};
|
|
|
|
|
2018-11-01 09:10:32 +01:00
|
|
|
extern LaraExtraInfo g_LaraExtra;
|
2018-08-19 09:46:58 +02:00
|
|
|
|
2018-09-16 15:05:16 +02:00
|
|
|
#define LookUpDown ((void (__cdecl*)()) 0x0044D310)
|
|
|
|
#define LookLeftRight ((void (__cdecl*)()) 0x0044D440)
|
|
|
|
#define ResetLook ((void (__cdecl*)()) 0x0044D220)
|
2018-08-19 09:46:58 +02:00
|
|
|
#define UpdateLaraRoom ((__int32 (__cdecl*)(ITEM_INFO*, __int32)) 0x004120F0)
|
2018-09-16 15:05:16 +02:00
|
|
|
#define LaraControl ((__int32 (__cdecl*)()) 0x00455830)
|
2018-11-01 09:10:32 +01:00
|
|
|
#define GetLaraJointPosition ((void (__cdecl*)(PHD_VECTOR*, __int32)) 0x0041E2A0)
|
2018-11-01 22:45:59 +01:00
|
|
|
#define CheckForHoldingState ((__int32 (__cdecl*)(__int16)) 0x00452AF0)
|
2018-11-12 20:15:55 +01:00
|
|
|
#define AnimateLara ((__int32 (__cdecl*)(ITEM_INFO*)) 0x004563F0)
|
2018-08-19 09:46:58 +02:00
|
|
|
|
2018-09-16 15:05:16 +02:00
|
|
|
void __cdecl LaraAboveWater(ITEM_INFO* item, COLL_INFO* coll);
|
2018-08-19 09:46:58 +02:00
|
|
|
|
|
|
|
void Inject_Lara();
|