ScummVM API documentation
Ultima::Nuvie::SchedPathFinder Class Reference
Inheritance diagram for Ultima::Nuvie::SchedPathFinder:
Ultima::Nuvie::ActorPathFinder Ultima::Nuvie::PathFinder Ultima::Nuvie::DirFinder

Public Member Functions

 SchedPathFinder (Actor *a, MapCoord g, Path *path_type)
 
bool get_next_move (MapCoord &step) override
 
bool find_path () override
 
void actor_moved () override
 
bool check_loc (const MapCoord &loc) override
 
- Public Member Functions inherited from Ultima::Nuvie::ActorPathFinder
 ActorPathFinder (Actor *a, MapCoord g)
 
void set_actor (Actor *a)
 
virtual bool update_location ()
 
void get_closest_dir (MapCoord &rel_step)
 
- Public Member Functions inherited from Ultima::Nuvie::PathFinder
 PathFinder (const MapCoord &s, const MapCoord &g)
 
void set_search (Path *new_path)
 
virtual void set_start (const MapCoord &s)
 
virtual void set_goal (const MapCoord &g)
 
virtual void set_location (const MapCoord &l)
 
virtual MapCoord get_location ()
 
virtual MapCoord get_goal ()
 
virtual bool reached_goal ()
 
bool check_loc (uint16 x, uint16 y, uint8 z)
 
virtual bool have_path ()
 
virtual bool is_path_clear ()
 

Protected Member Functions

bool is_location_in_path ()
 
void incr_step ()
 
- Protected Member Functions inherited from Ultima::Nuvie::ActorPathFinder
bool search_towards_target (const MapCoord &g, MapCoord &rel_step)
 
bool check_dir (const MapCoord &loc, MapCoord &rel, sint8 rot=0) override
 
bool check_dir_and_distance (const MapCoord &loc, const MapCoord &g, MapCoord &rel_step, sint8 rotate)
 
- Protected Member Functions inherited from Ultima::Nuvie::PathFinder
void new_search (Path *new_path)
 

Protected Attributes

uint32 prev_step_i
 
uint32 next_step_i
 
- Protected Attributes inherited from Ultima::Nuvie::ActorPathFinder
Actoractor
 
- Protected Attributes inherited from Ultima::Nuvie::PathFinder
MapCoord start
 
MapCoord goal
 
MapCoord loc
 
Pathsearch
 

Additional Inherited Members

- Static Public Member Functions inherited from Ultima::Nuvie::DirFinder
static void get_adjacent_dir (sint8 &xdir, sint8 &ydir, sint8 rotate)
 
static NuvieDir get_nuvie_dir (sint16 xrel, sint16 yrel)
 
static NuvieDir get_nuvie_dir (uint16 sx, uint16 sy, uint16 tx, uint16 ty, uint8 z)
 
static sint8 get_turn_towards_dir (sint16 oxdir, sint16 oydir, sint8 txdir, sint8 tydir)
 
static void get_normalized_dir (const MapCoord &from, const MapCoord &to, sint8 &xdir, sint8 &ydir)
 

The documentation for this class was generated from the following file: