Simutrans-Squirrel-API
Functions
api_skeleton.cc File Reference

Go to the source code of this file.

Functions

string do_work (player_x pl, coord3d start, coord3d end, int keys)
 
bool exit (player_x pl)
 
string get_about_text (integer pl)
 
string get_api_version ()
 
string get_debug_text (integer pl)
 
string get_goal_text (integer pl)
 
string get_info_text (integer pl)
 
string get_map_file ()
 
string get_result_text (integer pl)
 
string get_rule_text (integer pl)
 
bool init (player_x pl)
 
string is_convoy_allowed (integer pl, convoy_x convoy, depot_x depot)
 
integer is_scenario_completed (integer pl)
 
string is_schedule_allowed (integer pl, schedule_x schedule)
 
bool is_tool_allowed (integer pl, integer tool_id, way_types wt)
 
void is_valid_pos (player_x pl, coord3d pos, coord3d start)
 
string is_work_allowed_here (integer pl, integer tool_id, coord3d pos)
 
string jump_to_link_executed (coord3d pos)
 
bool mark_tile (coord3d pos)
 
void mark_tiles (player_x pl, coord3d start, coord3d end, int keys)
 
void new_month ()
 
void new_year ()
 
void resume_game ()
 
void resume_game (int pl_num)
 
void start ()
 
void start (int pl_num)
 
void step ()
 
string work (player_x pl, coord3d pos, int keys)
 

Detailed Description

Documents the necessary functions to be implemented by a script

Definition in file api_skeleton.cc.