api Directory Reference

Files

file  ai_changelog.hpp [code]
 

Lists all changes / additions to the API.


file  game_changelog.hpp [code]
 

Lists all changes / additions to the API.


file  script_accounting.cpp [code]
 

Implementation of ScriptAccounting.


file  script_accounting.hpp [code]
 

Everything to handle AI accounting things.


file  script_admin.cpp [code]
 

Implementation of ScriptAdmin.


file  script_admin.hpp [code]
 

Everything to communicate with the AdminPort.


file  script_airport.cpp [code]
 

Implementation of ScriptAirport.


file  script_airport.hpp [code]
 

Everything to query and build airports.


file  script_base.cpp [code]
 

Implementation of ScriptBase.


file  script_base.hpp [code]
 

Everything to query basic things.


file  script_basestation.cpp [code]
 

Implementation of ScriptBaseStation.


file  script_basestation.hpp [code]
 

Base for stations/waypoint handling.


file  script_bridge.cpp [code]
 

Implementation of ScriptBridge.


file  script_bridge.hpp [code]
 

Everything to query and build bridges.


file  script_bridgelist.cpp [code]
 

Implementation of ScriptBridgeList and friends.


file  script_bridgelist.hpp [code]
 

List all the bridges.


file  script_cargo.cpp [code]
 

Implementation of ScriptCargo.


file  script_cargo.hpp [code]
 

Everything to query cargoes.


file  script_cargolist.cpp [code]
 

Implementation of ScriptCargoList and friends.


file  script_cargolist.hpp [code]
 

List all the cargoes.


file  script_company.cpp [code]
 

Implementation of ScriptCompany.


file  script_company.hpp [code]
 

Everything to query a company's financials and statistics or build company related buildings.


file  script_companymode.cpp [code]
 

Implementation of ScriptCompanyMode.


file  script_companymode.hpp [code]
 

Switch the company.


file  script_controller.cpp [code]
 

Implementation of AIControler.


file  script_controller.hpp [code]
 

The controller of the AI.


file  script_date.cpp [code]
 

Implementation of ScriptDate.


file  script_date.hpp [code]
 

Everything to query and manipulate date related information.


file  script_depotlist.cpp [code]
 

Implementation of ScriptDepotList and friends.


file  script_depotlist.hpp [code]
 

List all the depots (you own).


file  script_engine.cpp [code]
 

Implementation of ScriptEngine.


file  script_engine.hpp [code]
 

Everything to query and build engines.


file  script_enginelist.cpp [code]
 

Implementation of ScriptEngineList and friends.


file  script_enginelist.hpp [code]
 

List all the engines.


file  script_error.cpp [code]
 

Implementation of ScriptError.


file  script_error.hpp [code]
 

Everything to query errors.


file  script_event.cpp [code]
 

Implementation of ScriptEvent.


file  script_event.hpp [code]
 

Everything to handle events from the game.


file  script_event_types.cpp [code]
 

Implementation of all EventTypes.


file  script_event_types.hpp [code]
 

The detailed types of all events.


file  script_execmode.cpp [code]
 

Implementation of ScriptExecMode.


file  script_execmode.hpp [code]
 

Switch the AI to Execute Mode.


file  script_game.cpp [code]
 

Implementation of ScriptGame.


file  script_game.hpp [code]
 

Everything to manipulate the current running game.


file  script_gamesettings.cpp [code]
 

Implementation of ScriptGameSettings.


file  script_gamesettings.hpp [code]
 

Everything to read game settings.


file  script_goal.cpp [code]
 

Implementation of ScriptGoal.


file  script_goal.hpp [code]
 

Everything to manipulate the current running goal.


file  script_group.cpp [code]
 

Implementation of ScriptGroup.


file  script_group.hpp [code]
 

Everything to put vehicles into groups.


file  script_grouplist.cpp [code]
 

Implementation of ScriptGroupList and friends.


file  script_grouplist.hpp [code]
 

List all the groups (you own).


file  script_industry.cpp [code]
 

Implementation of ScriptIndustry.


file  script_industry.hpp [code]
 

Everything to query and build industries.


file  script_industrylist.cpp [code]
 

Implementation of ScriptIndustryList and friends.


file  script_industrylist.hpp [code]
 

List all the industries.


file  script_industrytype.cpp [code]
 

Implementation of ScriptIndustryType.


file  script_industrytype.hpp [code]
 

Everything to query and build industries.


file  script_industrytypelist.cpp [code]
 

Implementation of ScriptIndustryTypeList.


file  script_industrytypelist.hpp [code]
 

List all available industry types.


file  script_info_docs.hpp [code]
 

Description of the functions an Script can/must provide in ScriptInfo.


file  script_infrastructure.cpp [code]
 

Implementation of ScriptInfrastructure.


file  script_infrastructure.hpp [code]
 

Everything to query a company's infrastructure.


file  script_list.cpp [code]
 

Implementation of ScriptList.


file  script_list.hpp [code]
 

A list which can keep item/value pairs, which you can walk.


file  script_log.cpp [code]
 

Implementation of ScriptLog.


file  script_log.hpp [code]
 

Everything to handle and issue log messages.


file  script_map.cpp [code]
 

Implementation of ScriptMap.


file  script_map.hpp [code]
 

Everything to query and manipulate map metadata.


file  script_marine.cpp [code]
 

Implementation of ScriptMarine.


file  script_marine.hpp [code]
 

Everything to query and build marine.


file  script_news.cpp [code]
 

Implementation of ScriptNews.


file  script_news.hpp [code]
 

Everything to handle news messages.


file  script_object.cpp [code]
 

Implementation of ScriptObject.


file  script_object.hpp [code]
 

Main object, on which all objects depend.


file  script_order.cpp [code]
 

Implementation of ScriptOrder.


file  script_order.hpp [code]
 

Everything to query and build orders.


file  script_rail.cpp [code]
 

Implementation of ScriptRail.


file  script_rail.hpp [code]
 

Everything to query and build rails.


file  script_railtypelist.cpp [code]
 

Implementation of ScriptRailTypeList and friends.


file  script_railtypelist.hpp [code]
 

List all available railtypes.


file  script_road.cpp [code]
 

Implementation of ScriptRoad.


file  script_road.hpp [code]
 

Everything to query and build roads.


file  script_sign.cpp [code]
 

Implementation of ScriptSign.


file  script_sign.hpp [code]
 

Everything to query and build signs.


file  script_signlist.cpp [code]
 

Implementation of ScriptSignList and friends.


file  script_signlist.hpp [code]
 

List all the signs of your company.


file  script_station.cpp [code]
 

Implementation of ScriptStation.


file  script_station.hpp [code]
 

Everything to query and build stations.


file  script_stationlist.cpp [code]
 

Implementation of ScriptStationList and friends.


file  script_stationlist.hpp [code]
 

List all the stations (you own).


file  script_subsidy.cpp [code]
 

Implementation of ScriptSubsidy.


file  script_subsidy.hpp [code]
 

Everything to query subsidies.


file  script_subsidylist.cpp [code]
 

Implementation of ScriptSubsidyList.


file  script_subsidylist.hpp [code]
 

List all the subsidies.


file  script_testmode.cpp [code]
 

Implementation of ScriptTestMode.


file  script_testmode.hpp [code]
 

Switch the AI to Test Mode.


file  script_text.cpp [code]
 

Implementation of ScriptText.


file  script_text.hpp [code]
 

Everything to handle text which can be translated.


file  script_tile.cpp [code]
 

Implementation of ScriptTile.


file  script_tile.hpp [code]
 

Everything to query and manipulate tiles.


file  script_tilelist.cpp [code]
 

Implementation of ScriptTileList and friends.


file  script_tilelist.hpp [code]
 

List tiles.


file  script_town.cpp [code]
 

Implementation of ScriptTown.


file  script_town.hpp [code]
 

Everything to query towns.


file  script_townlist.cpp [code]
 

Implementation of ScriptTownList and friends.


file  script_townlist.hpp [code]
 

List all the towns.


file  script_tunnel.cpp [code]
 

Implementation of ScriptTunnel.


file  script_tunnel.hpp [code]
 

Everything to query and build tunnels.


file  script_types.hpp [code]
 

Defines all the types of the game, like IDs of various objects.


file  script_vehicle.cpp [code]
 

Implementation of ScriptVehicle.


file  script_vehicle.hpp [code]
 

Everything to query and build vehicles.


file  script_vehiclelist.cpp [code]
 

Implementation of ScriptVehicleList and friends.


file  script_vehiclelist.hpp [code]
 

List all the vehicles (you own).


file  script_viewport.cpp [code]
 

Implementation of ScriptViewport.


file  script_viewport.hpp [code]
 

Everything to manipulate the users viewport.


file  script_waypoint.cpp [code]
 

Implementation of ScriptWaypoint.


file  script_waypoint.hpp [code]
 

Everything to query and build waypoints.


file  script_waypointlist.cpp [code]
 

Implementation of ScriptWaypointList and friends.


file  script_waypointlist.hpp [code]
 

List all the waypoints (you own).


file  script_window.cpp [code]
 

Implementation of ScriptWindow.


file  script_window.hpp [code]
 

Everything to handle window interaction.