mirror of
https://github.com/pret/pmd-sky.git
synced 2026-04-25 07:24:42 -05:00
12 lines
489 B
C
12 lines
489 B
C
#ifndef PMDSKY_DUNGEON_VISIBILITY_H
|
|
#define PMDSKY_DUNGEON_VISIBILITY_H
|
|
|
|
#include "dungeon_mode.h"
|
|
|
|
// Checks if a given monster can see another monster.
|
|
// Calls IsPositionActuallyInSight. Also checks if the user is blinded, if the target is invisible, etc.
|
|
// This function is almost the same as CanTargetEntity, the only difference is that the latter calls IsPositionInSight instead.
|
|
bool8 CanSeeTarget(struct entity *user, struct entity *target);
|
|
|
|
#endif //PMDSKY_DUNGEON_VISIBILITY_H
|