Simutrans-Squirrel-API OTRP v63_4
Loading...
Searching...
No Matches
api_skeleton.cc
Go to the documentation of this file.
1
7void start();
17void start(int pl_num);
33void resume_game(int pl_num);
39void step();
46void new_month();
53void new_year();
63string get_map_file();
74string get_about_text(integer pl);
99string get_rule_text(integer pl);
108string get_goal_text(integer pl);
117string get_info_text(integer pl);
126string get_result_text(integer pl);
135string get_debug_text(integer pl);
161integer is_scenario_completed(integer pl);
176bool is_tool_allowed(integer pl, integer tool_id, way_types wt);
200string is_work_allowed_here(integer pl, integer tool_id, coord3d pos);
213string is_schedule_allowed(integer pl, schedule_x schedule);
227string is_convoy_allowed(integer pl, convoy_x convoy, depot_x depot);
245bool init(player_x pl);
253bool exit(player_x pl);
263string work(player_x pl, coord3d pos, int keys);
274string do_work(player_x pl, coord3d start, coord3d end, int keys);
285void mark_tiles(player_x pl, coord3d start, coord3d end, int keys);
way_types
Definition api_const.cc:126
void step()
void new_month()
void new_year()
string get_map_file()
string is_schedule_allowed(integer pl, schedule_x schedule)
bool is_tool_allowed(integer pl, integer tool_id, way_types wt)
string is_work_allowed_here(integer pl, integer tool_id, coord3d pos)
void resume_game()
string get_api_version()
string is_convoy_allowed(integer pl, convoy_x convoy, depot_x depot)
string jump_to_link_executed(coord3d pos)
string get_info_text(integer pl)
string get_goal_text(integer pl)
void start()
string get_about_text(integer pl)
string get_rule_text(integer pl)
string get_result_text(integer pl)
string get_debug_text(integer pl)
integer is_scenario_completed(integer pl)
bool mark_tile(coord3d pos)
void mark_tiles(player_x pl, coord3d start, coord3d end, int keys)
bool exit(player_x pl)
string do_work(player_x pl, coord3d start, coord3d end, int keys)
bool init(player_x pl)
string work(player_x pl, coord3d pos, int keys)
integer is_valid_pos(player_x pl, coord3d pos, coord3d start)