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;
|
|
|
|
bool hasGrenadeLauncher;
|
|
|
|
__int16 grenadeAmmo;
|
|
|
|
bool hasRocketLauncher;
|
|
|
|
__int16 rocketAmmo;
|
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)
|
|
|
|
#define LaraGun ((void (__cdecl*)()) 0x00452430)
|
2018-11-01 09:10:32 +01:00
|
|
|
#define GetLaraJointPosition ((void (__cdecl*)(PHD_VECTOR*, __int32)) 0x0041E2A0)
|
2018-08-19 09:46:58 +02:00
|
|
|
|
|
|
|
void lara_as_walk(ITEM_INFO* item, COLL_INFO* coll);
|
|
|
|
void __cdecl j_AnimateLara(ITEM_INFO* item);
|
|
|
|
void __cdecl AnimateLaraNew(ITEM_INFO* item);
|
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();
|