Simutrans-Squirrel-API OTRP v63_4
Loading...
Searching...
No Matches
api_pathfinding.cc
Go to the documentation of this file.
1
7public:
13 void clear();
15 integer len();
17 bool is_empty();
23 void insert(integer weight, integer value);
33 class node_x {
34 int weight;
35 int value;
36 }
37};
38
60
64public:
74 static coord3d find_end(player_x pl, coord3d pos, dir dir, bridge_desc_x bridge, integer min_length);
75};
static coord3d find_end(player_x pl, coord3d pos, dir dir, bridge_desc_x bridge, integer min_length)
int weight
heap is sorted with respect to weight
int value
the data to be stored
simple_heap_x::node_x pop()
void insert(integer weight, integer value)
void clear()
Clears the heap.
integer len()
void set_build_types(way_desc_x way)
way_planner_x(player_x pl)
bool is_allowed_step(tile_x from, tile_x to)