You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OpenTTD-patches/src/script/api
Peter Nelson 2fd9096070
Change: Decouple and remove landscape-dependent cargo types. (#11719)
Cargo types of default engines, industries and houses are now specified in terms of label.
4 months ago
..
ai Codechange: Make SpriteType, CargoSortType, SourceType and ScriptType enum classes. (#10663) 1 year ago
game Codechange: Make SpriteType, CargoSortType, SourceType and ScriptType enum classes. (#10663) 1 year ago
CMakeLists.txt Add: AI/GS Time Mode to choose between economy (default) and calendar time (#11603) 5 months ago
Doxyfile_AI.in Fix: warnings about obsolete settings/setting values in Doxygen configurations 1 year ago
Doxyfile_GS.in Fix: warnings about obsolete settings/setting values in Doxygen configurations 1 year ago
ai_changelog.hpp Change: [Script] replace easy/medium/hard values with default value (#11959) 4 months ago
doxygen_filter.awk
doxygen_filter.sh
game_changelog.hpp Change: [Script] replace easy/medium/hard values with default value (#11959) 4 months ago
script_accounting.cpp
script_accounting.hpp
script_admin.cpp Codechange: vendor the nlohmann-json library (#11290) 9 months ago
script_admin.hpp Codechange: keep how we convert string <-> JSON private (#11269) 9 months ago
script_airport.cpp Fix #11629: AirportGetNearestTown for rotated airports (#11631) 5 months ago
script_airport.hpp Codechange: use GSCompanyMode::IsValid, IsDeity, and the precondition helpers 1 year ago
script_asyncmode.cpp Fix: [Script] Properly store the previous AsyncMode state (#11587) 6 months ago
script_asyncmode.hpp Codechange: Add missing override specifiers. 9 months ago
script_base.cpp Codechange: Silence warnings about intentionally unused parameters. 9 months ago
script_base.hpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
script_basestation.cpp Fix: Add missing includes to timers from script implementation files (#11604) 6 months ago
script_basestation.hpp Codechange: use std::string as script API return type 1 year ago
script_bridge.cpp Codechange: Add base() method to StrongType to allow access to the base type without casting. (#11445) 7 months ago
script_bridge.hpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
script_bridgelist.cpp Codechange: Use SQInteger for generic numbers in script_bridgelist 1 year ago
script_bridgelist.hpp Codechange: Use SQInteger for generic numbers in script_bridgelist 1 year ago
script_cargo.cpp Change: Decouple and remove landscape-dependent cargo types. (#11719) 4 months ago
script_cargo.hpp Codechange: Rename TownEffect to TownAcceptanceEffect. 4 months ago
script_cargolist.cpp Change: Reorganise industry accept/produce arrays. (#10853) 1 year ago
script_cargolist.hpp
script_cargomonitor.cpp Codechange: Use SQInteger for generic numbers in script_cargomonitor 1 year ago
script_cargomonitor.hpp Codechange: Use SQInteger for generic numbers in script_cargomonitor 1 year ago
script_client.cpp Codechange: Add base() method to StrongType to allow access to the base type without casting. (#11445) 7 months ago
script_client.hpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
script_clientlist.cpp
script_clientlist.hpp Fix: missing/duplicate documentation tags for scripts 1 year ago
script_company.cpp Add: [GS] Allow to set max loan for each company separately (#11224) 4 months ago
script_company.hpp Add: [GS] Allow to set max loan for each company separately (#11224) 4 months ago
script_companymode.cpp Fix: crashes to desktop from game scripts when companies disappear 1 year ago
script_companymode.hpp Fix: crashes to desktop from game scripts when companies disappear 1 year ago
script_controller.cpp Codechange: replace 'const char *' script API parameters with std::string 1 year ago
script_controller.hpp Codechange: Move includes for common STL headers to stdafx. 1 year ago
script_date.cpp Add: AI/GS Time Mode to choose between economy (default) and calendar time (#11603) 5 months ago
script_date.hpp Fix: Add missing includes to timers from script implementation files (#11604) 6 months ago
script_depotlist.cpp Codechange: Use locals for company/deity mode during script loops. (#11686) 5 months ago
script_depotlist.hpp
script_engine.cpp Codechange: Replace GroupStatistics' num_engines with std::map. (#11849) 5 months ago
script_engine.hpp Codechange: use std::string as script API return type 1 year ago
script_enginelist.cpp Codechange: Use locals for company/deity mode during script loops. (#11686) 5 months ago
script_enginelist.hpp
script_error.cpp Codechange: Replace old non-standard attributes with C++17/20 standard attributes. 4 months ago
script_error.hpp Codechange: Move includes for common STL headers to stdafx. 1 year ago
script_event.cpp
script_event.hpp Fix: missing/duplicate documentation tags for scripts 1 year ago
script_event_types.cpp Codechange: Split CT_INVALID into CT_INVALID and INVALID_CARGO. 5 months ago
script_event_types.hpp Codechange: Replace mishmash of types for widget index with WidgetID. 5 months ago
script_execmode.cpp Fix #11585: Crash when cleaning AI/GS with nested AsyncMode. 6 months ago
script_execmode.hpp Codechange: Add missing override specifiers. 9 months ago
script_game.cpp Add: precondition checks to functions that work with both valid company and deity 1 year ago
script_game.hpp Fix: missing/duplicate documentation tags for scripts 1 year ago
script_gamesettings.cpp Codechange: replace 'const char *' script API parameters with std::string 1 year ago
script_gamesettings.hpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
script_goal.cpp Codechange: use std::popcount instead of hand written loop 5 months ago
script_goal.hpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
script_group.cpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
script_group.hpp Codechange: use std::string as script API return type 1 year ago
script_grouplist.cpp Add: [Script] Optional filter parameter to more ScriptXXXList constructors (#11698) 5 months ago
script_grouplist.hpp Add: [Script] Optional filter parameter to more ScriptXXXList constructors (#11698) 5 months ago
script_includes.hpp.in
script_industry.cpp Codechange: Add base() method to StrongType to allow access to the base type without casting. (#11445) 7 months ago
script_industry.hpp Codechange: Split CT_INVALID into CT_INVALID and INVALID_CARGO. 5 months ago
script_industrylist.cpp Add: [Script] Optional filter parameter to more ScriptXXXList constructors (#11698) 5 months ago
script_industrylist.hpp Add: [Script] Optional filter parameter to more ScriptXXXList constructors (#11698) 5 months ago
script_industrytype.cpp Codechange: Use iterators and/or range-for on cargo related loops. 8 months ago
script_industrytype.hpp Codechange: use std::string as script API return type 1 year ago
script_industrytypelist.cpp
script_industrytypelist.hpp
script_info_docs.hpp Change: [Script] replace easy/medium/hard values with default value (#11959) 4 months ago
script_infrastructure.cpp Codechange: Use existing functions in GetMonthlyInfrastructureCosts. (#11237) 9 months ago
script_infrastructure.hpp Codechange: Use SQInteger for generic numbers in script_infrastructure 1 year ago
script_league.cpp Codechange: use std::string without const as return 11 months ago
script_league.hpp Codechange: use GSCompanyMode::IsValid, IsDeity, and the precondition helpers 1 year ago
script_list.cpp Revert a2edf52: SQOpsLimiter does a more precise job (#11754) 5 months ago
script_list.hpp Fix 48b6b18: Increase MAX_VALUATE_OPS to match the previous limit 4 months ago
script_log.cpp Change: Allow opening multiple script debug windows by holding Ctrl. 6 months ago
script_log.hpp Codechange: use std::string for script log calls 1 year ago
script_log_types.hpp Add: Horizontal scroll for script debug log (#11597) 6 months ago
script_map.cpp Codechange: Use SQInteger for generic numbers in script_map 1 year ago
script_map.hpp Codechange: Add base() method to StrongType to allow access to the base type without casting. (#11445) 7 months ago
script_marine.cpp Codechange: use GSCompanyMode::IsValid, IsDeity, and the precondition helpers 1 year ago
script_marine.hpp Codechange: use GSCompanyMode::IsValid, IsDeity, and the precondition helpers 1 year ago
script_newgrf.cpp Codechange: use std::string as script API return type 1 year ago
script_newgrf.hpp Codechange: use std::string as script API return type 1 year ago
script_news.cpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
script_news.hpp Add: deity mode enforcement checks to functions with command or company access 1 year ago
script_object.cpp Add: AI/GS Time Mode to choose between economy (default) and calendar time (#11603) 5 months ago
script_object.hpp Add: AI/GS Time Mode to choose between economy (default) and calendar time (#11603) 5 months ago
script_objecttype.cpp Codechange: use std::string as script API return type 1 year ago
script_objecttype.hpp Codechange: use std::string as script API return type 1 year ago
script_objecttypelist.cpp Change: Expose ObjectSpec vector to simplify iteration. 1 year ago
script_objecttypelist.hpp Add: allow gamescripts to build neutral objects (#9568) 3 years ago
script_order.cpp Codechange: Redefine some cargo-related values in terms of CargoID instead of CargoType. 5 months ago
script_order.hpp Change: Allow GS access to more ScriptOrder functions 1 year ago
script_priorityqueue.cpp Codechange: Use SQInteger for generic numbers in script_priorityqueue 1 year ago
script_priorityqueue.hpp Change: include fmt.h C++ headers in stdafx.h 1 year ago
script_rail.cpp Codechange: Make command constant names consistent with command proc (#11920) 4 months ago
script_rail.hpp Codechange: Rename SIGTYPE_NORMAL to SIGTYPE_BLOCK (#11788) 5 months ago
script_railtypelist.cpp Codechange: Use locals for company/deity mode during script loops. (#11686) 5 months ago
script_railtypelist.hpp
script_road.cpp Codechange: Add base() method to StrongType to allow access to the base type without casting. (#11445) 7 months ago
script_road.hpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
script_roadtypelist.cpp Codechange: Use locals for company/deity mode during script loops. (#11686) 5 months ago
script_roadtypelist.hpp
script_sign.cpp Codechange: use std::string as script API return type 1 year ago
script_sign.hpp Codechange: use std::string as script API return type 1 year ago
script_signlist.cpp Add: [Script] Optional filter parameter to more ScriptXXXList constructors (#11698) 5 months ago
script_signlist.hpp Add: [Script] Optional filter parameter to more ScriptXXXList constructors (#11698) 5 months ago
script_station.cpp Codechange: switch our codebase to C++20 5 months ago
script_station.hpp Add: company mode enforcement checks to functions with command or company access 1 year ago
script_stationlist.cpp Codechange: Replace old non-standard attributes with C++17/20 standard attributes. 4 months ago
script_stationlist.hpp Change: Use gender-neutral pronouns in console command messages (and comments) (#9203) 3 years ago
script_story_page.cpp Fix #10439: [GS] Validate story page button colour, flags, cursor and vehicle type (#11892) 4 months ago
script_story_page.hpp Fix #10439: [GS] Validate story page button colour, flags, cursor and vehicle type (#11892) 4 months ago
script_storypageelementlist.cpp Codechange: [Script] Use ScriptList::FillList() in more locations (#11762) 5 months ago
script_storypageelementlist.hpp
script_storypagelist.cpp Codechange: [Script] Use ScriptList::FillList() in more locations (#11762) 5 months ago
script_storypagelist.hpp
script_subsidy.cpp Codechange: Split CT_INVALID into CT_INVALID and INVALID_CARGO. 5 months ago
script_subsidy.hpp Codechange: Make SpriteType, CargoSortType, SourceType and ScriptType enum classes. (#10663) 1 year ago
script_subsidylist.cpp Add: [Script] Optional filter parameter to more ScriptXXXList constructors (#11698) 5 months ago
script_subsidylist.hpp Add: [Script] Optional filter parameter to more ScriptXXXList constructors (#11698) 5 months ago
script_testmode.cpp Fix #11585: Crash when cleaning AI/GS with nested AsyncMode. 6 months ago
script_testmode.hpp Codechange: Add missing override specifiers. 9 months ago
script_text.cpp Fix: [Script] Improve ScriptText validation (#11721) 5 months ago
script_text.hpp Fix: [Script] Improve ScriptText validation (#11721) 5 months ago
script_tile.cpp Add: precondition checks to functions that work with both valid company and deity 1 year ago
script_tile.hpp Codechange: use GSCompanyMode::IsValid, IsDeity, and the precondition helpers 1 year ago
script_tilelist.cpp Codechange: Add base() method to StrongType to allow access to the base type without casting. (#11445) 7 months ago
script_tilelist.hpp Doc: Fix spelling error in ScriptTileList::RemoveRectangle (#10937) 1 year ago
script_timemode.cpp Add: AI/GS Time Mode to choose between economy (default) and calendar time (#11603) 5 months ago
script_timemode.hpp Add: AI/GS Time Mode to choose between economy (default) and calendar time (#11603) 5 months ago
script_town.cpp Codechange: Rename TownEffect to TownAcceptanceEffect. 4 months ago
script_town.hpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
script_townlist.cpp Codechange: Rename TownEffect to TownAcceptanceEffect. 4 months ago
script_townlist.hpp Add: [Script] Optional filter parameter to more ScriptXXXList constructors (#11698) 5 months ago
script_tunnel.cpp Codechange: Add base() method to StrongType to allow access to the base type without casting. (#11445) 7 months ago
script_tunnel.hpp Codechange: use GSCompanyMode::IsValid, IsDeity, and the precondition helpers 1 year ago
script_types.hpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
script_vehicle.cpp Codechange: Split CT_INVALID into CT_INVALID and INVALID_CARGO. 5 months ago
script_vehicle.hpp Codechange: use std::string as script API return type 1 year ago
script_vehiclelist.cpp Add: [Script] Optional filter parameter to more ScriptXXXList constructors (#11698) 5 months ago
script_vehiclelist.hpp Fix #11689: properly close DOXYGEN_API block 5 months ago
script_viewport.cpp Codechange: use GSCompanyMode::IsValid, IsDeity, and the precondition helpers 1 year ago
script_viewport.hpp Codechange: use GSCompanyMode::IsValid, IsDeity, and the precondition helpers 1 year ago
script_waypoint.cpp Codechange: switch our codebase to C++20 5 months ago
script_waypoint.hpp
script_waypointlist.cpp Codechange: switch our codebase to C++20 5 months ago
script_waypointlist.hpp Change: Use gender-neutral pronouns 3 years ago
script_window.cpp Codechange: Use SQInteger for generic numbers in script_window 1 year ago
script_window.hpp.in Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
squirrel_export.hpp.sq.in