TombEngine/TR5Main/Game/people.h
2021-09-14 11:22:59 +03:00

12 lines
520 B
C++

#pragma once
#include "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);