Simutrans-Squirrel-API OTRP v63_4
Loading...
Searching...
No Matches
api_const.cc
Go to the documentation of this file.
1
116
120 shift_pressed,
121 ctrl_pressed,
122};
123
150
164
185
200enum {
203};
281
288
293 cl_water,
294 cl_desert,
295 cl_tropic,
296 cl_mediterran,
297 cl_temperate,
298 cl_tundra,
299 cl_rocky,
300 cl_arctic,
301};
302
overtaking_modes
Definition api_const.cc:167
@ exclusive_area_mode
like prohibited, but only one convoy at a time in the connected area
Definition api_const.cc:181
@ halt_mode
vehicles can stop on passing lane
Definition api_const.cc:169
@ inverted_mode
vehicles can go only on passing lane
Definition api_const.cc:179
@ twoway_mode
condition for two-way road
Definition api_const.cc:173
@ loading_only_mode
overtake a loading convoy only
Definition api_const.cc:175
@ passing_lane_stop_only_mode
like prohibited, but a convoy may stop on the passing lane
Definition api_const.cc:183
@ oneway_mode
condition for one-way road
Definition api_const.cc:171
@ prohibited_mode
overtaking is completely forbidden
Definition api_const.cc:177
units
Definition api_const.cc:284
@ CARUNITS_PER_TILE
The length of one side of a tile in car units.
Definition api_const.cc:286
way_types
Definition api_const.cc:126
@ wt_narrowgauge
narrow gauge
Definition api_const.cc:142
@ wt_monorail
monorail
Definition api_const.cc:136
@ wt_air
aircrafts and airports
Definition api_const.cc:144
@ wt_rail
rail
Definition api_const.cc:132
@ wt_all
catch all value: used to forbid tools for all waytypes
Definition api_const.cc:128
@ wt_water
water
Definition api_const.cc:134
@ wt_power
powerlines
Definition api_const.cc:146
@ wt_tram
trams
Definition api_const.cc:140
@ wt_maglev
maglev
Definition api_const.cc:138
@ wt_invalid
invalid
Definition api_const.cc:148
@ wt_road
road
Definition api_const.cc:130
tool_flags
Definition api_const.cc:119
street_flags
Definition api_const.cc:188
@ road_no_building
no building can be built adjacent to this road
Definition api_const.cc:194
@ road_citycar_no_entry
citycar cannot enter this road.
Definition api_const.cc:192
@ road_allow_branch_cityroad
allow branch cityroad from avoid-cityroad
Definition api_const.cc:196
@ road_avoid_cityroad
this street avoid becoming cityroad.
Definition api_const.cc:190
@ road_pedestrian_no_entry
pedestrian cannot enter this road.
Definition api_const.cc:198
@ player_all
constant to forbid/allow tools for all players (except public player)
Definition api_const.cc:202
signal_states
Definition api_const.cc:305
@ state_red
Signal shows red.
Definition api_const.cc:307
@ state_green
Signal shows green.
Definition api_const.cc:309
@ state_yellow
Signal shows yellow.
Definition api_const.cc:311
climates
Definition api_const.cc:292
map_objects
Definition api_const.cc:207
@ mo_label
text label
Definition api_const.cc:251
@ mo_pillar
bridge pillar
Definition api_const.cc:237
@ mo_pointer
pointer (bulldozers etc)
Definition api_const.cc:211
@ mo_airplane
airplane
Definition api_const.cc:277
@ mo_depot_monorail
depot: monorail
Definition api_const.cc:241
@ mo_transformer_c
transformer at factory
Definition api_const.cc:233
@ mo_transformer_s
transformer at powerplant
Definition api_const.cc:231
@ mo_depot_maglev
depot: maglev
Definition api_const.cc:245
@ mo_wayobj
way object (overhead wires)
Definition api_const.cc:247
@ mo_way
way
Definition api_const.cc:249
@ mo_depot_water
depot: ship
Definition api_const.cc:227
@ mo_depot_rail
depot: rail
Definition api_const.cc:223
@ mo_building
building (houses, halts, factories ...)
Definition api_const.cc:215
@ mo_groundobj
decorative objects (rocks, lakes ...)
Definition api_const.cc:257
@ mo_bridge
bridge
Definition api_const.cc:219
@ mo_train
rail vehicle
Definition api_const.cc:267
@ mo_maglev
maglev vehicle
Definition api_const.cc:271
@ mo_crossing
crossing
Definition api_const.cc:255
@ mo_depot_air
depot: airplanes
Definition api_const.cc:239
@ mo_field
field
Definition api_const.cc:253
@ mo_depot_tram
depot: tram
Definition api_const.cc:243
@ mo_pedestrian
pedestrian
Definition api_const.cc:261
@ mo_cloud
cloud and smoke
Definition api_const.cc:213
@ mo_city_car
city car - not player owned
Definition api_const.cc:263
@ mo_narrowgauge
narrowgauge vehicle
Definition api_const.cc:273
@ mo_ship
ship
Definition api_const.cc:275
@ mo_roadsign
road-sign
Definition api_const.cc:235
@ mo_powerline
powerline
Definition api_const.cc:229
@ mo_depot_road
depot: road
Definition api_const.cc:225
@ mo_car
road vehicle
Definition api_const.cc:265
@ mo_monorail
monorail vehicle
Definition api_const.cc:269
@ mo_moving_object
moving object (sheep ...)
Definition api_const.cc:279
@ mo_tunnel
tunnel
Definition api_const.cc:221
@ mo_signal
signal
Definition api_const.cc:217
@ mo_depot_narrowgauge
depot: narrowgauge
Definition api_const.cc:259
@ mo_tree
tree
Definition api_const.cc:209
way_system_types
Definition api_const.cc:154
@ st_elevated
elevated ways
Definition api_const.cc:158
@ st_flat
flat ways
Definition api_const.cc:156
@ st_tram
tram tracks (here way type has to be wt_tram)
Definition api_const.cc:162
@ st_runway
runway (for wt_air), equal to st_elevated
Definition api_const.cc:160
tool_ids
Definition api_const.cc:6
@ tool_step_year
step year forward
Definition api_const.cc:100
@ tool_headquarter
build headquarters
Definition api_const.cc:60
@ dialog_edit_tree
open tree editor window
Definition api_const.cc:112
@ tool_remove_house
remove city buildings (not factories, attractions, halts, or cityhalls)
Definition api_const.cc:74
@ tool_change_water_height
alter water height
Definition api_const.cc:80
@ tool_lower_land
lower land tool
Definition api_const.cc:12
@ tool_build_wayobj
build overhead wires
Definition api_const.cc:40
@ tool_increase_industry
increase industry density
Definition api_const.cc:96
@ tool_city_chain
create industry chain with end consumer in cities
Definition api_const.cc:54
@ dialog_edit_attraction
open tourist attraction editor window
Definition api_const.cc:108
@ tool_buy_house
buy a house
Definition api_const.cc:76
@ tool_land_chain
create industry chain with end consumer not in cities
Definition api_const.cc:52
@ tool_clear_reservation
clear block reservation
Definition api_const.cc:20
@ tool_build_transformer
build transformer
Definition api_const.cc:22
@ tool_remove_pillar
remove bridge pillars only
Definition api_const.cc:94
@ tool_merge_stop
merge two stops
Definition api_const.cc:88
@ tool_set_traffic_level
set traffic level
Definition api_const.cc:104
@ tool_remove_halt
remove halt (two-click: ctrl=area, no ctrl/shift=route, drag=route)
Definition api_const.cc:86
@ tool_build_groundobj
build ground object
Definition api_const.cc:30
@ dialog_enlarge_map
open map enlargement window
Definition api_const.cc:114
@ tool_fill_trees
fill area with trees
Definition api_const.cc:102
@ tool_build_factory
build a factory
Definition api_const.cc:56
@ tool_link_factory
link factories
Definition api_const.cc:58
@ tool_remove_signal
remove signals
Definition api_const.cc:46
@ tool_plant_tree
plant a tree
Definition api_const.cc:28
@ tool_make_stop_public
make stop public
Definition api_const.cc:70
@ tool_change_city_size
change city size
Definition api_const.cc:26
@ tool_raise_land
raise land tool
Definition api_const.cc:10
@ tool_remover
remover tool
Definition api_const.cc:8
@ tool_build_house
build city houses
Definition api_const.cc:50
@ tool_restoreslope
restore natural slope
Definition api_const.cc:16
@ tool_build_tunnel
build tunnel
Definition api_const.cc:36
@ tool_remove_wayobj
remove way objects like overheadwires
Definition api_const.cc:72
@ tool_forest
create forest
Definition api_const.cc:66
@ tool_build_station
build stations
Definition api_const.cc:42
@ tool_build_roadsign
build signals and road signs
Definition api_const.cc:44
@ dialog_edit_factory
open factory editor window
Definition api_const.cc:106
@ tool_build_depot
build depot
Definition api_const.cc:48
@ tool_add_city
add city
Definition api_const.cc:24
@ tool_switch_player
switch player
Definition api_const.cc:98
@ dialog_edit_house
open house editor window
Definition api_const.cc:110
@ tool_build_cityroad
build city road with pavement
Definition api_const.cc:78
@ tool_set_climate
change climate of tiles
Definition api_const.cc:82
@ tool_rotate_building
rotate a building
Definition api_const.cc:84
@ tool_add_citycar
add city car
Definition api_const.cc:64
@ tool_build_way
build ways
Definition api_const.cc:32
@ tool_exec_script
scripted tool (one-click)
Definition api_const.cc:90
@ tool_setslope
artificial slope
Definition api_const.cc:14
@ tool_set_marker
set marker
Definition api_const.cc:18
@ tool_lock_game
lock map: switching players not allowed anymore
Definition api_const.cc:62
@ tool_stop_mover
move stop tool
Definition api_const.cc:68
@ tool_build_bridge
build bridges
Definition api_const.cc:34
@ tool_remove_way
remove way
Definition api_const.cc:38
@ tool_exec_two_click_script
scripted tool (two-click)
Definition api_const.cc:92