OpenTTD/src/script/api
2025-02-18 21:19:15 +01:00
..
ai Add: [Scripts] "_typeof" metamethod 2025-02-18 21:19:15 +01:00
game Add: [Scripts] "_typeof" metamethod 2025-02-18 21:19:15 +01:00
ai_changelog.hpp Change: [Script] GetWaypointID to return the StationID of any waypoint 2025-02-03 08:41:59 +01:00
CMakeLists.txt
Doxyfile_AI.in Codechange: rename DECLARE_POSTFIX_INCREMENT to DECLARE_INCREMENT_DECREMENT_OPERATORS 2025-01-28 18:56:58 +01:00
Doxyfile_GS.in Codechange: rename DECLARE_POSTFIX_INCREMENT to DECLARE_INCREMENT_DECREMENT_OPERATORS 2025-01-28 18:56:58 +01:00
doxygen_filter.awk Fix #13520: [Script] doxygen ignored 'constexpr' constants (#13523) 2025-02-10 23:05:31 +01:00
doxygen_filter.sh Codefix: [Script] script_types was excluded from API documentation 2024-05-10 13:17:19 +01:00
game_changelog.hpp Codechange: Use enum class for NewsType. 2025-02-07 19:36:52 +00:00
script_accounting.cpp
script_accounting.hpp
script_admin.cpp Fix #13110: [Script] convert table keys to string when generating JSON (#13113) 2024-11-23 13:46:33 +01:00
script_admin.hpp Codechange: Unify naming of squirrel built-in types in Script API docs 2024-05-10 13:17:19 +01:00
script_airport.cpp Codechange: replace INVALID_X with XID::Invalid() for PoolIDs 2025-02-16 20:23:00 +01:00
script_airport.hpp Codechange: [Script] do not redefine types in the script API 2025-01-28 18:57:40 +01:00
script_asyncmode.cpp
script_asyncmode.hpp
script_base.cpp
script_base.hpp
script_basestation.cpp Codechange: Use GetString() with local parameters in script functions. (#13585) 2025-02-16 21:27:25 +00:00
script_basestation.hpp Codechange: replace INVALID_X with XID::Invalid() for PoolIDs 2025-02-16 20:23:00 +01:00
script_bridge.cpp Codechange: Use GetString() with local parameters in script functions. (#13585) 2025-02-16 21:27:25 +00:00
script_bridge.hpp Codechange: [Script] do not redefine types in the script API 2025-01-28 18:57:40 +01:00
script_bridgelist.cpp
script_bridgelist.hpp
script_cargo.cpp Codechange: Use GetString() with local parameters in script functions. (#13585) 2025-02-16 21:27:25 +00:00
script_cargo.hpp Codechange: Use EnumBitSet for CargoClasses. (#13491) 2025-02-08 08:46:38 +00:00
script_cargolist.cpp Codechange: rename CargoID to CargoType and amend related variables/comments 2025-01-26 18:07:10 +01:00
script_cargolist.hpp Codechange: [Script] do not redefine types in the script API 2025-01-28 18:57:40 +01:00
script_cargomonitor.cpp Codechange: [Script] Use helper function over direct casting CompanyID 2025-02-08 23:42:19 +01:00
script_cargomonitor.hpp Codechange: rename CargoID to CargoType and amend related variables/comments 2025-01-26 18:07:10 +01:00
script_client.cpp Codechange: [Script] Use helper function over direct casting CompanyID 2025-02-08 23:42:19 +01:00
script_client.hpp Doc: [Script] Extend API documentation on calendar- vs economy-time 2024-05-10 13:17:19 +01:00
script_clientlist.cpp Codechange: [Script] Use helper function over direct casting CompanyID 2025-02-08 23:42:19 +01:00
script_clientlist.hpp
script_company.cpp Codechange: Use GetString() with local parameters in script functions. (#13585) 2025-02-16 21:27:25 +00:00
script_company.hpp Codechange: replace INVALID_X with XID::Invalid() for PoolIDs 2025-02-16 20:23:00 +01:00
script_companymode.cpp Codechange: [Script] Use helper function over direct casting CompanyID 2025-02-08 23:42:19 +01:00
script_companymode.hpp Codechange: [Script] Use helper function over direct casting CompanyID 2025-02-08 23:42:19 +01:00
script_controller.cpp Codechange: Use EnumBitSet for PauseMode. (#13553) 2025-02-14 08:30:04 +00:00
script_controller.hpp Codechange: [Script] Use helper function over direct casting CompanyID 2025-02-08 23:42:19 +01:00
script_date.cpp Codechange: use Date/Year constructor explicitly 2025-01-01 16:25:32 +01:00
script_date.hpp Doc: [Script] Extend API documentation on calendar- vs economy-time 2024-05-10 13:17:19 +01:00
script_depotlist.cpp Codechange: [Script] Use helper function over direct casting CompanyID 2025-02-08 23:42:19 +01:00
script_depotlist.hpp
script_engine.cpp Codechange: Use GetString() with local parameters in script functions. (#13585) 2025-02-16 21:27:25 +00:00
script_engine.hpp Codechange: rename CargoID to CargoType and amend related variables/comments 2025-01-26 18:07:10 +01:00
script_enginelist.cpp Codechange: strongly type EngineID 2025-02-16 14:50:15 +01:00
script_enginelist.hpp
script_error.cpp Codechange: make the StringIndex (within a StringTab) a strong type 2025-01-02 21:19:00 +01:00
script_error.hpp Codechange: [Script] Document relation between ScriptErrorType and ErrorMessages enums 2024-05-10 13:17:19 +01:00
script_event_types.cpp Codechange: Use GetString() with local parameters in script functions. (#13585) 2025-02-16 21:27:25 +00:00
script_event_types.hpp Codechange: do not use ScriptCompany::CompanyID outside of the script API 2025-02-09 12:04:42 +01:00
script_event.cpp
script_event.hpp Add: [Script] Event for when a company's president name changes 2025-01-14 11:35:35 +01:00
script_execmode.cpp
script_execmode.hpp
script_game.cpp Codechange: Use EnumBitSet for PauseMode. (#13553) 2025-02-14 08:30:04 +00:00
script_game.hpp Codechange: Use EnumBitSet for LandscapeTypes and remove LandscapeID. (#13436) 2025-02-01 23:09:18 +00:00
script_gamesettings.cpp Codechange: Use EnumBitSet for SettingFlags. (#13429) 2025-02-01 15:46:51 +00:00
script_gamesettings.hpp
script_goal.cpp Codechange: replace INVALID_X with XID::Invalid() for PoolIDs 2025-02-16 20:23:00 +01:00
script_goal.hpp Codechange: replace INVALID_X with XID::Invalid() for PoolIDs 2025-02-16 20:23:00 +01:00
script_group.cpp Codechange: Use GetString() with local parameters in script functions. (#13585) 2025-02-16 21:27:25 +00:00
script_group.hpp Codechange: replace INVALID_X with XID::Invalid() for PoolIDs 2025-02-16 20:23:00 +01:00
script_grouplist.cpp Codechange: [Script] Use helper function over direct casting CompanyID 2025-02-08 23:42:19 +01:00
script_grouplist.hpp Codefix: broken links and syntax issues in script API documentation 2024-05-10 13:17:19 +01:00
script_includes.hpp.in
script_industry.cpp Codechange: Use GetString() with local parameters in script functions. (#13585) 2025-02-16 21:27:25 +00:00
script_industry.hpp Codechange: Use EnumBitSet for IndustryControlFlags. 2025-02-07 22:01:59 +00:00
script_industrylist.cpp Codechange: rename CargoID to CargoType and amend related variables/comments 2025-01-26 18:07:10 +01:00
script_industrylist.hpp Codechange: rename CargoID to CargoType and amend related variables/comments 2025-01-26 18:07:10 +01:00
script_industrytype.cpp Codechange: Use GetString() with local parameters in script functions. (#13585) 2025-02-16 21:27:25 +00:00
script_industrytype.hpp Codechange: [Script] do not redefine types in the script API 2025-01-28 18:57:40 +01:00
script_industrytypelist.cpp
script_industrytypelist.hpp
script_info_docs.hpp Codechange: Unify naming of squirrel built-in types in Script API docs 2024-05-10 13:17:19 +01:00
script_infrastructure.cpp Codechange: [Script] Use helper function over direct casting CompanyID 2025-02-08 23:42:19 +01:00
script_infrastructure.hpp Doc: [Script] Extend API documentation on calendar- vs economy-time 2024-05-10 13:17:19 +01:00
script_league.cpp Codechange: strongly type LeagueTableID and LeagueTableElementID 2025-02-09 15:07:29 +01:00
script_league.hpp Codechange: replace INVALID_X with XID::Invalid() for PoolIDs 2025-02-16 20:23:00 +01:00
script_list.cpp Codechange: Use std::unique_ptr for ScriptList::sorter. (#13517) 2025-02-10 19:20:52 +00:00
script_list.hpp Codechange: Use std::unique_ptr for ScriptList::sorter. (#13517) 2025-02-10 19:20:52 +00:00
script_log_types.hpp
script_log.cpp Codechange: strongly type CompanyID 2025-02-16 14:02:18 +01:00
script_log.hpp
script_map.cpp
script_map.hpp
script_marine.cpp Codechange: replace INVALID_X with XID::Invalid() for PoolIDs 2025-02-16 20:23:00 +01:00
script_marine.hpp Codechange: [Script] do not redefine types in the script API 2025-01-28 18:57:40 +01:00
script_newgrf.cpp Codechange: Use EnumBitSet for GRFConfigFlags. 2025-02-02 10:49:45 +00:00
script_newgrf.hpp
script_news.cpp Codechange: strongly type StationID 2025-02-16 18:25:51 +01:00
script_news.hpp Codechange: use std::variant instead of a custom version for news references 2025-02-16 14:50:15 +01:00
script_object.cpp Codechange: Use GetString() with local parameters in script functions. (#13585) 2025-02-16 21:27:25 +00:00
script_object.hpp Codechange: Use GetString() with local parameters in script functions. (#13585) 2025-02-16 21:27:25 +00:00
script_objecttype.cpp Codechange: Use GetString() with local parameters in script functions. (#13585) 2025-02-16 21:27:25 +00:00
script_objecttype.hpp Cleanup: Fix various spelling errors 2025-02-12 22:44:51 +01:00
script_objecttypelist.cpp
script_objecttypelist.hpp
script_order.cpp Codechange: replace INVALID_X with XID::Invalid() for PoolIDs 2025-02-16 20:23:00 +01:00
script_order.hpp Codechange: rename CargoID to CargoType and amend related variables/comments 2025-01-26 18:07:10 +01:00
script_priorityqueue.cpp
script_priorityqueue.hpp Codechange: Unify naming of squirrel built-in types in Script API docs 2024-05-10 13:17:19 +01:00
script_rail.cpp Codechange: Use GetString() with local parameters in script functions. (#13585) 2025-02-16 21:27:25 +00:00
script_rail.hpp Codechange: [Script] do not redefine types in the script API 2025-01-28 18:57:40 +01:00
script_railtypelist.cpp Codechange: [Script] Use helper function over direct casting CompanyID 2025-02-08 23:42:19 +01:00
script_railtypelist.hpp
script_road.cpp Codechange: Use GetString() with local parameters in script functions. (#13585) 2025-02-16 21:27:25 +00:00
script_road.hpp Codechange: strongly type StationID 2025-02-16 18:25:51 +01:00
script_roadtypelist.cpp Codechange: [Script] Use helper function over direct casting CompanyID 2025-02-08 23:42:19 +01:00
script_roadtypelist.hpp
script_sign.cpp Codechange: Use GetString() with local parameters in script functions. (#13585) 2025-02-16 21:27:25 +00:00
script_sign.hpp Codechange: [Script] do not redefine types in the script API 2025-01-28 18:57:40 +01:00
script_signlist.cpp
script_signlist.hpp Codefix: broken links and syntax issues in script API documentation 2024-05-10 13:17:19 +01:00
script_station.cpp Codechange: replace INVALID_X with XID::Invalid() for PoolIDs 2025-02-16 20:23:00 +01:00
script_station.hpp Codefix 75387b9e2b: Prefer using EnumBitSet.base() instead of shifting StationFacility. (#13575) 2025-02-16 11:52:40 +00:00
script_stationlist.cpp Codechange: replace INVALID_X with XID::Invalid() for PoolIDs 2025-02-16 20:23:00 +01:00
script_stationlist.hpp Codechange: replace INVALID_X with XID::Invalid() for PoolIDs 2025-02-16 20:23:00 +01:00
script_story_page.cpp Codechange: replace INVALID_X with XID::Invalid() for PoolIDs 2025-02-16 20:23:00 +01:00
script_story_page.hpp Codechange: replace INVALID_X with XID::Invalid() for PoolIDs 2025-02-16 20:23:00 +01:00
script_storypageelementlist.cpp Codechange: [Script] replace some enums with constexpr values of the internal type 2025-02-01 02:38:37 +01:00
script_storypageelementlist.hpp Codechange: [Script] replace some enums with constexpr values of the internal type 2025-02-01 02:38:37 +01:00
script_storypagelist.cpp Codechange: replace INVALID_X with XID::Invalid() for PoolIDs 2025-02-16 20:23:00 +01:00
script_storypagelist.hpp
script_subsidy.cpp Codechange: make IndustryID an enum 2025-02-16 14:50:15 +01:00
script_subsidy.hpp Codechange: [Script] do not redefine types in the script API 2025-01-28 18:57:40 +01:00
script_subsidylist.cpp
script_subsidylist.hpp Codefix: broken links and syntax issues in script API documentation 2024-05-10 13:17:19 +01:00
script_testmode.cpp
script_testmode.hpp
script_text.cpp Codechange: Use GetString() with local parameters in script functions. (#13585) 2025-02-16 21:27:25 +00:00
script_text.hpp Codechange: make the StringIndex (within a StringTab) a strong type 2025-01-02 21:19:00 +01:00
script_tile.cpp Codechange: replace INVALID_X with XID::Invalid() for PoolIDs 2025-02-16 20:23:00 +01:00
script_tile.hpp Codechange: rename CargoID to CargoType and amend related variables/comments 2025-01-26 18:07:10 +01:00
script_tilelist.cpp Codechange: Use EnumBitSet for StationFacility. 2025-02-13 18:03:13 +00:00
script_tilelist.hpp Codechange: [Script] do not redefine types in the script API 2025-01-28 18:57:40 +01:00
script_town.cpp Codechange: Use GetString() with local parameters in script functions. (#13585) 2025-02-16 21:27:25 +00:00
script_town.hpp Codechange: Use EnumBitSet for TownActions. (#13542) 2025-02-13 18:02:39 +00:00
script_townlist.cpp
script_townlist.hpp Codefix: broken links and syntax issues in script API documentation 2024-05-10 13:17:19 +01:00
script_tunnel.cpp Codechange: replace INVALID_X with XID::Invalid() for PoolIDs 2025-02-16 20:23:00 +01:00
script_tunnel.hpp Codechange: [Script] Document relation between ScriptErrorType and ErrorMessages enums 2024-05-10 13:17:19 +01:00
script_types.hpp Doc: [Script] some IDs were not mentioned in script_types.hpp 2025-01-28 18:57:40 +01:00
script_vehicle.cpp Codechange: Use GetString() with local parameters in script functions. (#13585) 2025-02-16 21:27:25 +00:00
script_vehicle.hpp Codechange: replace INVALID_X with XID::Invalid() for PoolIDs 2025-02-16 20:23:00 +01:00
script_vehiclelist.cpp Codechange: strongly type VehicleID 2025-02-16 14:50:15 +01:00
script_vehiclelist.hpp Codefix: broken links and syntax issues in script API documentation 2024-05-10 13:17:19 +01:00
script_viewport.cpp Codechange: strongly type CompanyID 2025-02-16 14:02:18 +01:00
script_viewport.hpp
script_waypoint.cpp Codechange: replace INVALID_X with XID::Invalid() for PoolIDs 2025-02-16 20:23:00 +01:00
script_waypoint.hpp Codefix 75387b9e2b: Prefer using EnumBitSet.base() instead of shifting StationFacility. (#13575) 2025-02-16 11:52:40 +00:00
script_waypointlist.cpp Codechange: strongly type StationID 2025-02-16 18:25:51 +01:00
script_waypointlist.hpp
script_window.cpp
script_window.hpp.in
squirrel_export.hpp.sq.in