2018-08-19 09:46:58 +02:00
|
|
|
#pragma once
|
2018-11-01 09:10:32 +01:00
|
|
|
|
2018-11-15 18:39:13 +01:00
|
|
|
#include "..\Global\global.h"
|
|
|
|
|
2018-11-01 09:10:32 +01:00
|
|
|
#define HARPOON_DRAW_ANIM 1
|
|
|
|
#define ROCKET_DRAW_ANIM 0
|
|
|
|
|
|
|
|
#define PELLET_SCATTER ANGLE(20)
|
|
|
|
#define HARPOON_SPEED 256
|
|
|
|
#define HARPOON_TIME 256
|
|
|
|
#define ROCKET_SPEED 512
|
|
|
|
#define GRENADE_SPEED 128
|
|
|
|
#define MAX_GRENADE_FALLSPEED 128
|
2018-11-19 23:29:30 +01:00
|
|
|
#define GRENADE_YOFF 180
|
|
|
|
#define GRENADE_ZOFF 80
|
2018-11-24 09:39:37 +01:00
|
|
|
#define GRENADE_BLAST_RADIUS (WALL_SIZE * 2)
|
2018-11-19 23:29:30 +01:00
|
|
|
#define CROSSBOW_DAMAGE 5
|
|
|
|
#define CROSSBOW_AMMO1 1
|
|
|
|
#define CROSSBOW_AMMO2 2
|
2018-11-21 09:34:01 +01:00
|
|
|
#define CROSSBOW_AMMO3 2
|
2018-11-19 23:29:30 +01:00
|
|
|
#define CROSSBOW_HIT_RADIUS 128
|
|
|
|
#define CROSSBOW_EXPLODE_RADIUS 2048
|
2018-11-24 09:39:37 +01:00
|
|
|
#define GRENADE_EXPLODE_RADIUS 2048
|
2018-11-01 22:45:59 +01:00
|
|
|
|
2019-12-02 09:11:21 +01:00
|
|
|
//#define ReadyShotgun ((void (__cdecl*)(int)) 0x0044DC30)
|
|
|
|
//#define DrawShotgunMeshes ((void (__cdecl*)(int)) 0x0044DBB0)
|
|
|
|
//#define UndrawShotgunMeshes ((void (__cdecl*)(int)) 0x0044DBF0)
|
|
|
|
//#define FireHK ((void (__cdecl*)(int)) 0x0044E4B0)
|
2019-12-01 08:13:19 +01:00
|
|
|
//#define FireShotgun ((void (__cdecl*)()) 0x0044E110)
|
2019-12-02 09:11:21 +01:00
|
|
|
//#define UndrawShotgun ((void (__cdecl*)(int)) 0x0044ECA0)
|
|
|
|
//#define CrossbowHitSwitchType78 ((void (__cdecl*)(ITEM_INFO*, ITEM_INFO*, int)) 0x0044E5E0)
|
2019-12-01 08:13:19 +01:00
|
|
|
//#define DoGrenadeDamageOnBaddie ((void (__cdecl*)(ITEM_INFO*, ITEM_INFO*)) 0x0044F690)
|
2018-11-01 22:45:59 +01:00
|
|
|
|
2019-12-02 14:49:19 +01:00
|
|
|
void FireGrenade();
|
|
|
|
void ControlGrenade(short itemNumber);
|
|
|
|
void GrenadeExplosionEffects(int x, int y, int z, short roomNumber);
|
|
|
|
void FireHarpoon();
|
|
|
|
void ControlHarpoonBolt(short itemNumber);
|
|
|
|
void DrawShotgun(int weaponType);
|
|
|
|
void AnimateShotgun(int weaponType);
|
|
|
|
void ControlCrossbowBolt(short itemNumber);
|
|
|
|
void FireCrossbow(PHD_3DPOS* pos);
|
|
|
|
void RifleHandler(int weaponType);
|
|
|
|
void DoGrenadeDamageOnBaddie(ITEM_INFO* src, ITEM_INFO* dest);
|
|
|
|
void TriggerUnderwaterExplosion(ITEM_INFO* item);
|
|
|
|
void undraw_shotgun_meshes(int weapon);
|
|
|
|
void undraw_shotgun(int weapon);
|
|
|
|
void draw_shotgun_meshes(int weaponType);
|
|
|
|
void FireHK(int mode);
|
|
|
|
void FireShotgun();
|
|
|
|
void CrossbowHitSwitchType78(ITEM_INFO* item1, ITEM_INFO* item2, signed int search);
|
|
|
|
void ready_shotgun(int weaponType);
|
2018-11-14 20:54:18 +01:00
|
|
|
|
2019-12-02 14:49:19 +01:00
|
|
|
void Inject_Lara1Gun();
|