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 ab535c0a86
Codechange: Add base() method to StrongType to allow access to the base type without casting. (#11445)
This removes the ability to explicitly cast to the base type, but the requirement
to use .base() means the conversion is still explicit.
7 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: [Script] GSAsyncMode to set async mode of gamescript commands (#10913) 1 year 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 Fix: Some Script::IsValidVehicle checks need to be complemented with IsPrimaryVehicle 1 year ago
doxygen_filter.awk
doxygen_filter.sh
game_changelog.hpp Add: [Script] Game script control of industry production level. 9 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 Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
script_airport.hpp Codechange: use GSCompanyMode::IsValid, IsDeity, and the precondition helpers 1 year ago
script_asyncmode.cpp Add: [Script] GSAsyncMode to set async mode of gamescript commands (#10913) 1 year ago
script_asyncmode.hpp Codechange: Add missing override specifiers. 8 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 Codechange: Add base() method to StrongType to allow access to the base type without casting. (#11445) 7 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 Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
script_cargo.hpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 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 Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
script_company.hpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 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 Codechange: Add base() method to StrongType to allow access to the base type without casting. (#11445) 7 months ago
script_date.hpp Codechange: Add base() method to StrongType to allow access to the base type without casting. (#11445) 7 months ago
script_depotlist.cpp Codechange: Add base() method to StrongType to allow access to the base type without casting. (#11445) 7 months ago
script_depotlist.hpp
script_engine.cpp Codechange: Add base() method to StrongType to allow access to the base type without casting. (#11445) 7 months ago
script_engine.hpp Codechange: use std::string as script API return type 1 year ago
script_enginelist.cpp Add: precondition checks to functions that work with both valid company and deity 1 year ago
script_enginelist.hpp
script_error.cpp Codechange: use std::string as script API return type 1 year 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: vendor the nlohmann-json library (#11290) 9 months ago
script_event_types.hpp Codechange: keep how we convert string <-> JSON private (#11269) 9 months ago
script_execmode.cpp
script_execmode.hpp Codechange: Add missing override specifiers. 8 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: automatic adding of _t to (u)int types, and WChar to char32_t 11 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 Change: Allow GS access to ScriptGroup functions 1 year ago
script_grouplist.hpp Change: Allow GS access to ScriptGroup functions 1 year 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 Add: [Script] Custom news message text for industry SetProductionLevel. 9 months ago
script_industrylist.cpp Codechange: Add IsCargoAccepted/Produced() helpers. 1 year ago
script_industrylist.hpp
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 Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 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 Codechange: Add missing override specifiers. 8 months ago
script_list.hpp Codechange: Move includes for common STL headers to stdafx. 1 year ago
script_log.cpp Codechange: use std::string for script log calls 1 year ago
script_log.hpp Codechange: use std::string for script log calls 1 year ago
script_log_types.hpp Codechange: Move includes for common STL headers to stdafx. 1 year 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: [Script] GSAsyncMode to set async mode of gamescript commands (#10913) 1 year ago
script_object.hpp Codechange: add tests for GS <-> AdminPort JSON conversion (#11252) 9 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 Add: company mode enforcement checks to functions with command or company access 1 year 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: Rename *Railtype* to *RailType* for consistency. (#11287) 9 months ago
script_rail.hpp Codechange: use std::string as script API return type 1 year ago
script_railtypelist.cpp Codechange: Rename *Railtype* to *RailType* for consistency. (#11287) 9 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 Fix: Don't list unavailable road types for game scripts. 1 year 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
script_signlist.hpp
script_station.cpp Codechange: cleanup CargoPacket in terms of variable/function names (#11278) 9 months ago
script_station.hpp Add: company mode enforcement checks to functions with command or company access 1 year ago
script_stationlist.cpp Codechange: cleanup CargoPacket in terms of variable/function names (#11278) 9 months ago
script_stationlist.hpp
script_story_page.cpp Codechange: Add base() method to StrongType to allow access to the base type without casting. (#11445) 7 months ago
script_story_page.hpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
script_storypageelementlist.cpp
script_storypageelementlist.hpp
script_storypagelist.cpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
script_storypagelist.hpp
script_subsidy.cpp Add: deity mode enforcement checks to functions with command or company access 1 year ago
script_subsidy.hpp Codechange: Make SpriteType, CargoSortType, SourceType and ScriptType enum classes. (#10663) 1 year ago
script_subsidylist.cpp
script_subsidylist.hpp
script_testmode.cpp
script_testmode.hpp Codechange: Add missing override specifiers. 8 months ago
script_text.cpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
script_text.hpp Codechange: Add missing override specifiers. 8 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_town.cpp Codechange: Move Ticks into their own class 9 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
script_townlist.hpp
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: Add base() method to StrongType to allow access to the base type without casting. (#11445) 7 months ago
script_vehicle.hpp Codechange: use std::string as script API return type 1 year ago
script_vehiclelist.cpp Change: Allow GS access to ScriptGroup functions 1 year ago
script_vehiclelist.hpp Change: Allow GS access to ScriptGroup functions 1 year 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 Add: precondition checks to functions that work with both valid company and deity 1 year ago
script_waypoint.hpp
script_waypointlist.cpp Add: precondition checks to functions that work with both valid company and deity 1 year 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