#ifndef __WL_STATE_H__
#define __WL_STATE_H__

/*
=============================================================================

							WL_STATE DEFINITIONS

=============================================================================
*/

void    InitHitRect (AActor *ob, unsigned radius);

bool TryWalk (AActor *ob);
void    SelectChaseDir (AActor *ob);
void    SelectDodgeDir (AActor *ob);
void    SelectRunDir (AActor *ob);
void    MoveObj (AActor *ob, int32_t move);
bool SightPlayer (AActor *ob, double minseedist, double maxseedist, double maxheardist, double fov);

void    DamageActor (AActor *ob, unsigned damage);

bool CheckLine (AActor *ob);

#endif
