Simutrans-Squirrel-API
api_halt.cc
Go to the documentation of this file.
1 
13 class halt_list_x {
14 public:
18 private:
19  void _nexti();
20 public:
24 private:
25  halt_x _get();
26 public:
27 };
32 public:
36  bool is_valid();
41  string get_name();
46  void set_name(string);
57 private:
58  integer _cmp(halt_x halt);
59 public:
66  integer is_connected(halt_x halt, good_desc_x freight_type);
72  bool accepts_good(good_desc_x freight_type);
77  array<integer> get_arrived();
82  array<integer> get_departed();
87  array<integer> get_waiting();
92  array<integer> get_happy();
99  array<integer> get_unhappy();
106  array<integer> get_noroute();
111  array<integer> get_convoys();
116  array<integer> get_walked();
128  array<tile_x> get_tile_list();
132  array<factory_x> get_factory_list();
138  integer get_freight_to_dest(good_desc_x freight, coord target);
144  integer get_freight_to_halt(good_desc_x freight, halt_x stop);
149  integer get_capacity(good_desc_x freight);
154  array<halt_x> get_connections(good_desc_x freight);
161  static halt_x get_halt(coord3d pos, player_x pl);
162 };
array< integer > get_departed()
array< integer > get_waiting()
array< halt_x > get_connections(good_desc_x freight)
integer get_freight_to_dest(good_desc_x freight, coord target)
array< integer > get_convoys()
void set_name(string)
array< factory_x > get_factory_list()
array< integer > get_noroute()
integer get_capacity(good_desc_x freight)
array< integer > get_happy()
line_list_x get_line_list()
convoy_list_x get_convoy_list()
player_x get_owner()
bool is_valid()
void _nexti()
string get_name()
halt_x _get()
array< tile_x > get_tile_list()
bool accepts_good(good_desc_x freight_type)
array< integer > get_walked()
integer is_connected(halt_x halt, good_desc_x freight_type)
static halt_x get_halt(coord3d pos, player_x pl)
array< integer > get_arrived()
array< integer > get_unhappy()
integer _cmp(halt_x halt)
integer get_freight_to_halt(good_desc_x freight, halt_x stop)