TombEngine/TR5Main/Game/people.h
2021-09-19 23:41:26 +03:00

12 lines
528 B
C++

#pragma once
#include "control/box.h"
constexpr auto MAX_VISIBILITY_DISTANCE = WALL_SIZE * 8;
int ShotLara(ITEM_INFO* item, AI_INFO* info, BITE_INFO* gun, short extra_rotation, int damage);
short GunMiss(int x, int y, int z, short speed, short yrot, short roomNumber);
short GunHit(int x, int y, int z, short speed, short yrot, short roomNumber);
short GunShot(int x, int y, int z, short speed, short yrot, short roomNumber);
int Targetable(ITEM_INFO* item, AI_INFO* info);
int TargetVisible(ITEM_INFO* item, AI_INFO* info);