OpenTTD/src/script/api
Peter Nelson ea74ca0a76
Fix #12347: Crash attempting to find catchment tiles of a station with no catchment area. (#12348)
2024-03-23 13:03:59 +01:00
..
ai Codechange: Make SpriteType, CargoSortType, SourceType and ScriptType enum classes. (#10663) 2023-04-16 20:00:55 +01:00
game Codechange: Make SpriteType, CargoSortType, SourceType and ScriptType enum classes. (#10663) 2023-04-16 20:00:55 +01:00
CMakeLists.txt Add: AI/GS Time Mode to choose between economy (default) and calendar time (#11603) 2024-01-23 10:42:10 -05:00
Doxyfile_AI.in Fix: warnings about obsolete settings/setting values in Doxygen configurations 2023-01-26 16:07:14 +01:00
Doxyfile_GS.in Fix: warnings about obsolete settings/setting values in Doxygen configurations 2023-01-26 16:07:14 +01:00
ai_changelog.hpp Remove: [Script] random_deviation from setting description table (#12221) 2024-03-05 12:41:04 +01:00
doxygen_filter.awk Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
doxygen_filter.sh Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
game_changelog.hpp Remove: [Script] random_deviation from setting description table (#12221) 2024-03-05 12:41:04 +01:00
script_accounting.cpp Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
script_accounting.hpp Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
script_admin.cpp Codechange: vendor the nlohmann-json library (#11290) 2023-09-13 16:11:34 +02:00
script_admin.hpp Codechange: keep how we convert string <-> JSON private (#11269) 2023-09-08 19:03:10 +02:00
script_airport.cpp Add: [Script] GetAirportNumHelipads (#12085) 2024-02-14 21:38:32 +01:00
script_airport.hpp Add: [Script] GetAirportNumHelipads (#12085) 2024-02-14 21:38:32 +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 Fix: Add missing includes to timers from script implementation files (#11604) 2023-12-19 14:09:46 +00:00
script_basestation.hpp Codechange: use std::string as script API return type 2023-05-14 22:54:10 +02:00
script_bridge.cpp 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_bridge.hpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
script_bridgelist.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
script_bridgelist.hpp Codechange: Use SQInteger for generic numbers in script_bridgelist 2023-03-06 00:32:12 +01:00
script_cargo.cpp Change: Decouple and remove landscape-dependent cargo types. (#11719) 2024-02-04 10:16:08 +00:00
script_cargo.hpp Codechange: Rename TownEffect to TownAcceptanceEffect. 2024-02-02 20:37:49 +00:00
script_cargolist.cpp Change: Reorganise industry accept/produce arrays. (#10853) 2023-05-25 21:25:46 +01:00
script_cargolist.hpp Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
script_cargomonitor.cpp Codechange: Use SQInteger for generic numbers in script_cargomonitor 2023-03-06 00:32:12 +01:00
script_cargomonitor.hpp Codechange: Use SQInteger for generic numbers in script_cargomonitor 2023-03-06 00:32:12 +01:00
script_client.cpp 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_client.hpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
script_clientlist.cpp Codechange: Replace network related FOR_ALL with range-based for loops 2019-12-21 20:13:03 +01:00
script_clientlist.hpp Fix: missing/duplicate documentation tags for scripts 2023-01-26 16:07:14 +01:00
script_company.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
script_company.hpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
script_companymode.cpp Fix: crashes to desktop from game scripts when companies disappear 2023-03-08 22:33:47 +01:00
script_companymode.hpp Fix: crashes to desktop from game scripts when companies disappear 2023-03-08 22:33:47 +01:00
script_controller.cpp Codechange: replace 'const char *' script API parameters with std::string 2023-05-14 22:54:10 +02:00
script_controller.hpp Codechange: Move includes for common STL headers to stdafx. 2023-05-17 10:14:41 +01:00
script_date.cpp Add: AI/GS Time Mode to choose between economy (default) and calendar time (#11603) 2024-01-23 10:42:10 -05:00
script_date.hpp Fix: Add missing includes to timers from script implementation files (#11604) 2023-12-19 14:09:46 +00:00
script_depotlist.cpp Codechange: Use locals for company/deity mode during script loops. (#11686) 2024-01-05 08:32:43 +00:00
script_depotlist.hpp Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
script_engine.cpp Codechange: Replace GroupStatistics' num_engines with std::map. (#11849) 2024-01-21 14:09:44 +00:00
script_engine.hpp Codechange: use std::string as script API return type 2023-05-14 22:54:10 +02:00
script_enginelist.cpp Codechange: Use locals for company/deity mode during script loops. (#11686) 2024-01-05 08:32:43 +00:00
script_enginelist.hpp Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
script_error.cpp Codechange: Replace old non-standard attributes with C++17/20 standard attributes. 2024-02-02 22:29:28 +01:00
script_error.hpp Codechange: Move includes for common STL headers to stdafx. 2023-05-17 10:14:41 +01:00
script_event.cpp Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
script_event.hpp Fix: missing/duplicate documentation tags for scripts 2023-01-26 16:07:14 +01:00
script_event_types.cpp Codechange: Split CT_INVALID into CT_INVALID and INVALID_CARGO. 2024-01-09 18:56:05 +00:00
script_event_types.hpp Codechange: Replace mishmash of types for widget index with WidgetID. 2023-12-30 00:23:57 +00: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 Add: precondition checks to functions that work with both valid company and deity 2023-03-08 22:33:47 +01:00
script_game.hpp Fix: missing/duplicate documentation tags for scripts 2023-01-26 16:07:14 +01:00
script_gamesettings.cpp Codechange: replace 'const char *' script API parameters with std::string 2023-05-14 22:54:10 +02: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: use std::popcount instead of hand written loop 2024-01-19 06:48:55 +01:00
script_goal.hpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
script_group.cpp Fix #10405, a3dd750: [Script] Test engine and vehicle type validity for ScriptGroup::GetNumEngines (#11887) 2024-02-11 22:09:23 +01:00
script_group.hpp Fix #10405, a3dd750: [Script] Test engine and vehicle type validity for ScriptGroup::GetNumEngines (#11887) 2024-02-11 22:09:23 +01:00
script_grouplist.cpp Add: [Script] Optional filter parameter to more ScriptXXXList constructors (#11698) 2024-01-09 09:39:13 +01:00
script_grouplist.hpp Add: [Script] Optional filter parameter to more ScriptXXXList constructors (#11698) 2024-01-09 09:39:13 +01:00
script_includes.hpp.in Change: rewrote squirrel_export in CMake 2020-07-16 00:53:26 +02:00
script_industry.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
script_industry.hpp Codechange: Split CT_INVALID into CT_INVALID and INVALID_CARGO. 2024-01-09 18:56:05 +00:00
script_industrylist.cpp Add: [Script] Optional filter parameter to more ScriptXXXList constructors (#11698) 2024-01-09 09:39:13 +01:00
script_industrylist.hpp Add: [Script] Optional filter parameter to more ScriptXXXList constructors (#11698) 2024-01-09 09:39:13 +01:00
script_industrytype.cpp Codechange: Use iterators and/or range-for on cargo related loops. 2023-10-19 17:03:25 +01:00
script_industrytype.hpp Codechange: use std::string as script API return type 2023-05-14 22:54:10 +02:00
script_industrytypelist.cpp Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
script_industrytypelist.hpp Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
script_info_docs.hpp Remove: [Script] random_deviation from setting description table (#12221) 2024-03-05 12:41:04 +01:00
script_infrastructure.cpp Codechange: Use existing functions in GetMonthlyInfrastructureCosts. (#11237) 2023-08-27 22:12:44 +02:00
script_infrastructure.hpp Codechange: Use SQInteger for generic numbers in script_infrastructure 2023-03-06 00:32:12 +01:00
script_league.cpp Codechange: use std::string without const as return 2023-07-03 18:08:03 +02:00
script_league.hpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
script_list.cpp Revert a2edf52: SQOpsLimiter does a more precise job (#11754) 2024-01-12 17:04:43 +01:00
script_list.hpp Fix 48b6b18: Increase MAX_VALUATE_OPS to match the previous limit 2024-01-30 19:15:54 +01:00
script_log.cpp Change: Allow opening multiple script debug windows by holding Ctrl. 2023-12-20 20:39:07 +00:00
script_log.hpp Codechange: use std::string for script log calls 2023-05-14 22:54:10 +02:00
script_log_types.hpp Add: Horizontal scroll for script debug log (#11597) 2023-12-20 22:50:03 +01:00
script_map.cpp Codechange: Use SQInteger for generic numbers in script_map 2023-03-06 00:32:12 +01:00
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: use GSCompanyMode::IsValid, IsDeity, and the precondition helpers 2023-03-06 22:34:09 +01:00
script_marine.hpp Codechange: use GSCompanyMode::IsValid, IsDeity, and the precondition helpers 2023-03-06 22:34:09 +01:00
script_newgrf.cpp Codechange: use std::string as script API return type 2023-05-14 22:54:10 +02: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: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
script_news.hpp Add: deity mode enforcement checks to functions with command or company access 2023-03-08 22:33:47 +01:00
script_object.cpp Add: AI/GS Time Mode to choose between economy (default) and calendar time (#11603) 2024-01-23 10:42:10 -05:00
script_object.hpp Add: AI/GS Time Mode to choose between economy (default) and calendar time (#11603) 2024-01-23 10:42:10 -05:00
script_objecttype.cpp Codechange: use std::string as script API return type 2023-05-14 22:54:10 +02:00
script_objecttype.hpp Codechange: use std::string as script API return type 2023-05-14 22:54:10 +02:00
script_objecttypelist.cpp Change: Expose ObjectSpec vector to simplify iteration. 2023-04-02 22:42:38 +01:00
script_objecttypelist.hpp Add: allow gamescripts to build neutral objects (#9568) 2021-09-25 13:39:40 +02:00
script_order.cpp Codechange: Redefine some cargo-related values in terms of CargoID instead of CargoType. 2024-01-09 18:56:05 +00:00
script_order.hpp Change: Allow GS access to more ScriptOrder functions 2023-04-17 17:59:16 +02:00
script_priorityqueue.cpp Codechange: Use SQInteger for generic numbers in script_priorityqueue 2023-03-06 00:32:12 +01:00
script_priorityqueue.hpp Change: include fmt.h C++ headers in stdafx.h 2023-05-08 16:49:23 +02:00
script_rail.cpp Codechange: Make command constant names consistent with command proc (#11920) 2024-01-29 13:41:36 +01:00
script_rail.hpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
script_railtypelist.cpp Codechange: Use locals for company/deity mode during script loops. (#11686) 2024-01-05 08:32:43 +00:00
script_railtypelist.hpp Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
script_road.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
script_road.hpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
script_roadtypelist.cpp Codechange: Use locals for company/deity mode during script loops. (#11686) 2024-01-05 08:32:43 +00:00
script_roadtypelist.hpp Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
script_sign.cpp Codechange: use std::string as script API return type 2023-05-14 22:54:10 +02:00
script_sign.hpp Codechange: use std::string as script API return type 2023-05-14 22:54:10 +02: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 Add: [Script] Optional filter parameter to more ScriptXXXList constructors (#11698) 2024-01-09 09:39:13 +01:00
script_station.cpp Codechange: switch our codebase to C++20 2024-01-17 00:25:08 +01:00
script_station.hpp Add: company mode enforcement checks to functions with command or company access 2023-03-08 22:33:47 +01:00
script_stationlist.cpp Codechange: Replace old non-standard attributes with C++17/20 standard attributes. 2024-02-02 22:29:28 +01:00
script_stationlist.hpp Change: Use gender-neutral pronouns in console command messages (and comments) (#9203) 2021-05-08 11:02:30 +01:00
script_story_page.cpp Fix #10439: [GS] Validate story page button colour, flags, cursor and vehicle type (#11892) 2024-01-28 00:29:10 +01:00
script_story_page.hpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
script_storypageelementlist.cpp Codechange: [Script] Use ScriptList::FillList() in more locations (#11762) 2024-01-12 21:19:08 +01:00
script_storypageelementlist.hpp Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
script_storypagelist.cpp Codechange: [Script] Use ScriptList::FillList() in more locations (#11762) 2024-01-12 21:19:08 +01:00
script_storypagelist.hpp Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
script_subsidy.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
script_subsidy.hpp Codechange: Make SpriteType, CargoSortType, SourceType and ScriptType enum classes. (#10663) 2023-04-16 20:00:55 +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 Add: [Script] Optional filter parameter to more ScriptXXXList constructors (#11698) 2024-01-09 09:39:13 +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 Change: [Script] Match FormatString behaviour more closely 2024-03-09 12:15:03 +01:00
script_text.hpp Change: [Script] Match FormatString behaviour more closely 2024-03-09 12:15:03 +01:00
script_tile.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
script_tile.hpp Codechange: use GSCompanyMode::IsValid, IsDeity, and the precondition helpers 2023-03-06 22:34:09 +01:00
script_tilelist.cpp Fix #12347: Crash attempting to find catchment tiles of a station with no catchment area. (#12348) 2024-03-23 13:03:59 +01:00
script_tilelist.hpp Add: [Script] ScriptTileList_StationCoverage (#12015) 2024-02-06 20:22:18 +01:00
script_timemode.cpp Add: AI/GS Time Mode to choose between economy (default) and calendar time (#11603) 2024-01-23 10:42:10 -05:00
script_timemode.hpp Add: AI/GS Time Mode to choose between economy (default) and calendar time (#11603) 2024-01-23 10:42:10 -05:00
script_town.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
script_town.hpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
script_townlist.cpp Codechange: Rename TownEffect to TownAcceptanceEffect. 2024-02-02 20:37:49 +00:00
script_townlist.hpp Add: [Script] Optional filter parameter to more ScriptXXXList constructors (#11698) 2024-01-09 09:39:13 +01:00
script_tunnel.cpp Codechange: Use std::tuple for slope functions with two return values 2024-03-08 18:08:55 +01:00
script_tunnel.hpp Codechange: use GSCompanyMode::IsValid, IsDeity, and the precondition helpers 2023-03-06 22:34:09 +01:00
script_types.hpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
script_vehicle.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
script_vehicle.hpp Codechange: use std::string as script API return type 2023-05-14 22:54:10 +02:00
script_vehiclelist.cpp Add: [Script] Optional filter parameter to more ScriptXXXList constructors (#11698) 2024-01-09 09:39:13 +01:00
script_vehiclelist.hpp Fix #11689: properly close DOXYGEN_API block 2024-01-05 19:17:08 +01:00
script_viewport.cpp Codechange: use GSCompanyMode::IsValid, IsDeity, and the precondition helpers 2023-03-06 22:34:09 +01:00
script_viewport.hpp Codechange: use GSCompanyMode::IsValid, IsDeity, and the precondition helpers 2023-03-06 22:34:09 +01:00
script_waypoint.cpp Codechange: switch our codebase to C++20 2024-01-17 00:25:08 +01:00
script_waypoint.hpp Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
script_waypointlist.cpp Codechange: switch our codebase to C++20 2024-01-17 00:25:08 +01:00
script_waypointlist.hpp Change: Use gender-neutral pronouns 2021-05-15 10:16:48 +02:00
script_window.cpp Codechange: Use SQInteger for generic numbers in script_window 2023-03-06 00:32:12 +01:00
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 Change: rewrote squirrel_export in CMake 2020-07-16 00:53:26 +02:00