OpenTTD/src/script/api
2025-04-12 18:50:11 +01:00
..
ai Revert d7bd67cda3: [Scripts] "_typeof" metamethod negatively affects old scripts 2025-02-19 19:21:50 +01:00
game Revert d7bd67cda3: [Scripts] "_typeof" metamethod negatively affects old scripts 2025-02-19 19:21:50 +01:00
ai_changelog.hpp Codechange: Add vehicle owner to crash event (#13878) 2025-03-25 22:53:44 +01:00
CMakeLists.txt Revert bbdbf9a: ScriptTimeMode was not the best solution for economy/calendar support 2024-03-23 21:17:40 +01:00
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 #13875: [Script] be less strict about empty constructor format for doxygen (#13882) 2025-03-24 13:38:10 +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: Add vehicle owner to crash event (#13878) 2025-03-25 22:53:44 +01:00
script_accounting.cpp
script_accounting.hpp
script_admin.cpp Codefix: move or pass by reference instead of copy 2025-03-13 21:16:16 +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 Fix: [Script] Properly store the previous AsyncMode state (#11587) 2023-12-14 21:29:44 +00:00
script_asyncmode.hpp Codechange: Add missing override specifiers. 2023-09-25 21:27:45 +01:00
script_base.cpp Codechange: Silence warnings about intentionally unused parameters. 2023-09-19 22:49:59 +02:00
script_base.hpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
script_basestation.cpp Codechange: Include table/strings.h in files that use StringIDs. 2025-03-21 12:53:40 +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: Include table/strings.h in files that use StringIDs. 2025-03-21 12:53:40 +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 Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
script_bridgelist.hpp
script_cargo.cpp Codechange: Include table/strings.h in files that use StringIDs. 2025-03-21 12:53:40 +00:00
script_cargo.hpp Add: [Script] Newer Cargo Classes (#13779) 2025-03-15 16:51:56 +01:00
script_cargolist.cpp Codechange: Use EnumBitSet for GoodsEntry status. (#13899) 2025-03-26 21:22:33 +00: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: Include table/strings.h in files that use StringIDs. 2025-03-21 12:53:40 +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 Add: [Script] Saving/loading ScriptList 2025-03-02 13:41:12 +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: Include table/strings.h in files that use StringIDs. 2025-03-21 12:53:40 +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 Codefix: do not use an invalid iterator 2025-03-15 21:43:56 +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: Include table/strings.h in files that use StringIDs. 2025-03-21 12:53:40 +00:00
script_event_types.hpp Codechange: Add vehicle owner to crash event (#13878) 2025-03-25 22:53:44 +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 Fix #11585: Crash when cleaning AI/GS with nested AsyncMode. 2023-12-14 20:54:31 +00:00
script_execmode.hpp Codechange: Add missing override specifiers. 2023-09-25 21:27:45 +01:00
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 Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
script_goal.cpp Codechange: simplify some complicated logic 2025-03-16 15:12:02 +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: Include table/strings.h in files that use StringIDs. 2025-03-21 12:53:40 +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 Fix: [Script] Prevent cloning of API instances (#13947) 2025-04-02 12:30:57 +02:00
script_industry.cpp Codechange: Include table/strings.h in files that use StringIDs. 2025-03-21 12:53:40 +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: Rename short CargoType parameters cargo. (#13848) 2025-03-24 18:18:21 +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: Pass encoded script strings as EncodedString. 2025-03-04 21:40:39 +00:00
script_league.hpp Codechange: replace INVALID_X with XID::Invalid() for PoolIDs 2025-02-16 20:23:00 +01:00
script_list.cpp Add: [Script] Saving/loading ScriptList 2025-03-02 13:41:12 +01:00
script_list.hpp Add: [Script] Saving/loading ScriptList 2025-03-02 13:41:12 +01:00
script_log_types.hpp Add: Horizontal scroll for script debug log (#11597) 2023-12-20 22:50:03 +01:00
script_log.cpp Codechange: remove unused alloc_func.hpp includes 2025-02-24 20:00:19 +01:00
script_log.hpp Codechange: use std::string for script log calls 2023-05-14 22:54:10 +02:00
script_map.cpp
script_map.hpp Codechange: Add base() method to StrongType to allow access to the base type without casting. (#11445) 2023-11-06 20:29:35 +00:00
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 Codechange: use std::string as script API return type 2023-05-14 22:54:10 +02:00
script_news.cpp Codechange: Pass encoded script strings as EncodedString. 2025-03-04 21:40:39 +00: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 EnumBitSet for StringValidationSettings. (#13974) 2025-04-08 21:19:17 +01: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: simplify logic and prevent invalid bit 2025-03-16 14:14:21 +01:00
script_order.hpp Codechange: simplify logic and prevent invalid bit 2025-03-16 14:14:21 +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 std::swap() instead of Swap() (#13883) 2025-03-24 23:47:34 +00:00
script_rail.hpp Codechange: remove unused INVALID_TRACK_BIT 2025-03-15 22:03:17 +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 Fix #13980: Allow diagonal selection for road convert (#13983) 2025-04-12 18:50:11 +01: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: Include table/strings.h in files that use StringIDs. 2025-03-21 12:53:40 +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 Add: [Script] Optional filter parameter to more ScriptXXXList constructors (#11698) 2024-01-09 09:39:13 +01:00
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: Use EnumBitSet for RoadTypes. 2025-03-25 20:15:48 +00: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: Pass encoded script strings as EncodedString. 2025-03-04 21:40:39 +00: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 Fix: [Script] Getting expiry date could cause out of bounds access 2025-03-08 16:14:18 +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 Add: [Script] Optional filter parameter to more ScriptXXXList constructors (#11698) 2024-01-09 09:39:13 +01:00
script_subsidylist.hpp Codefix: broken links and syntax issues in script API documentation 2024-05-10 13:17:19 +01:00
script_testmode.cpp Fix #11585: Crash when cleaning AI/GS with nested AsyncMode. 2023-12-14 20:54:31 +00:00
script_testmode.hpp Codechange: Add missing override specifiers. 2023-09-25 21:27:45 +01:00
script_text.cpp Codechange: Use StringBuilder to create encoded strings. 2025-04-08 23:10:58 +02:00
script_text.hpp Codechange: Use StringBuilder to create encoded strings. 2025-04-08 23:10:58 +02:00
script_tile.cpp Codechange: Handle SnowTile state separately from ClearGround. 2025-02-25 08:22:46 +00: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 Add: [Script] Saving/loading ScriptList 2025-03-02 13:41:12 +01:00
script_tilelist.hpp Add: [Script] Saving/loading ScriptList 2025-03-02 13:41:12 +01:00
script_town.cpp Codechange: Include table/strings.h in files that use StringIDs. 2025-03-21 12:53:40 +00:00
script_town.hpp Codechange: Use EnumBitSet for TownActions. (#13542) 2025-02-13 18:02:39 +00:00
script_townlist.cpp Codechange: Rename TownEffect to TownAcceptanceEffect. 2024-02-02 20:37:49 +00:00
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: Include table/strings.h in files that use StringIDs. 2025-03-21 12:53:40 +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 Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
squirrel_export.hpp.sq.in