22 #ifndef AGS_ENGINE_AC_ROUTEFND_H 23 #define AGS_ENGINE_AC_ROUTEFND_H 25 #include "ags/shared/ac/game_version.h" 43 virtual void init_pathfinder() = 0;
44 virtual void shutdown_pathfinder() = 0;
46 virtual int can_see_from(
int x1,
int y1,
int x2,
int y2) = 0;
47 virtual void get_lastcpos(
int &lastcx,
int &lastcy) = 0;
48 virtual int find_route(
short srcx,
short srcy,
short xx,
short yy,
int move_speed_x,
int move_speed_y,
AGS::Shared::Bitmap *onscreen,
int movlst,
int nocross = 0,
int ignore_walls = 0) = 0;
49 virtual void recalculate_move_speeds(
MoveList *mlsp,
int old_speed_x,
int old_speed_y,
int new_speed_x,
int new_speed_y) = 0;
50 virtual bool add_waypoint_direct(
MoveList *mlsp,
short x,
short y,
int move_speed_x,
int move_speed_y) = 0;
53 void init_pathfinder(GameDataVersion game_file_version);
54 void shutdown_pathfinder();
58 int can_see_from(
int x1,
int y1,
int x2,
int y2);
59 void get_lastcpos(
int &lastcx,
int &lastcy);
61 int find_route(
short srcx,
short srcy,
short xx,
short yy,
int move_speed_x,
int move_speed_y,
AGS::Shared::Bitmap *onscreen,
int movlst,
int nocross = 0,
int ignore_walls = 0);
62 void recalculate_move_speeds(
MoveList *mlsp,
int old_speed_x,
int old_speed_y,
int new_speed_x,
int new_speed_y);
64 bool add_waypoint_direct(
MoveList *mlsp,
short x,
short y,
int move_speed_x,
int move_speed_y);
Definition: achievements_tables.h:27
Definition: move_list.h:54
Definition: route_finder.h:38
Definition: allegro_bitmap.h:44