Simutrans-Squirrel-API OTRP v63_4
Loading...
Searching...
No Matches
api_map_objects.cc
Go to the documentation of this file.
1
2 ();
8public:
18 map_object_x(integer x, integer y, integer z, map_objects type);
22 bool is_valid();
30 string get_name();
51 void mark();
55 void unmark();
59 bool is_marked();
60};
61
64class tree_x : public map_object_x {
65public:
69 integer get_age();
74};
75
123
127class depot_x : public building_x {
128public:
150 array<convoy_x> get_convoy_list();
157 static array<depot_x> get_depot_list(player_x pl, way_types wt);
158};
159
219
222class street_x : public way_x {
223public:
232};
233
236class label_x : public map_object_x {
237public:
245 static string create(coord pos, player_x pl, string text);
251 void set_text(string text);
256 string get_text();
257};
258
334
338class powerline_x : public map_object_x {
339public:
345};
346
351public:
356};
357
360class field_x : public map_object_x {
361public:
373};
374
377class wayobj_x : public map_object_x {
378public:
383};
384
387class bridge_x : public map_object_x {
388public:
393};
394
397class tunnel_x : public map_object_x {
398public:
403};
way_types
Definition api_const.cc:126
map_objects
Definition api_const.cc:207
bridge_desc_x get_desc()
building_desc_x get_desc()
bool is_monument()
integer get_passenger_level()
array< tile_x > get_tile_list()
city_x get_city()
integer get_mail_level()
bool is_headquarter()
bool is_same_building(building_x)
factory_x get_factory()
bool is_townhall()
integer x
x-coordinate
Definition api_simple.cc:73
integer y
y-coordinate
Definition api_simple.cc:75
integer z
z-coordinate - height
Definition api_simple.cc:77
array< convoy_x > get_convoy_list()
static array< depot_x > get_depot_list(player_x pl, way_types wt)
factory_x get_factory()
bool is_deletable()
string get_text()
string get_name()
coord3d get_pos()
string is_removable(player_x)
player_x get_owner()
way_types get_waytype()
bool is_valid()
map_object_x(integer x, integer y, integer z, map_objects type)
bool is_marked()
map_objects get_type()
bool is_connected(powerline_x pl)
sign_desc_x get_desc()
bool can_pass(player_x player)
void is_length_based()
bool is_stop_before_check()
bool is_advance_to_end()
bool is_start_signal()
void is_skip_default_route()
void get_margin_length()
void is_guide_signal()
bool get_two_ways()
void is_choose_signal()
integer get_state()
integer get_overtaking_mode()
integer get_street_flags()
factory_x get_factory()
integer get_age()
tree_desc_x get_desc()
tunnel_desc_x get_desc()
dir get_dirs()
bool has_sign()
bool is_crossing()
integer get_max_speed()
way_desc_x get_desc()
bool has_wayobj()
array< integer > get_convoys_passed()
array< integer > get_transported_goods()
bool is_electrified()
bool has_signal()
dir get_dirs_masked()
bool has_sidewalk()
wayobj_desc_x get_desc()
static string create(coord pos, player_x pl, string text)
void start_convoy(player_x, convoy_x)
void append_vehicle(player_x pl, convoy_x cnv, vehicle_desc_x desc)
void start_all_convoys(player_x)
void set_text(string text)