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
Patric Stout 199e41c762
Codechange: use default dtor instead of empty (#10826)
1 year 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 Change: Replace ScriptLog data array with std::deque. (#10770) 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 Change: Allow GS access to ScriptGroup functions 1 year ago
script_accounting.cpp
script_accounting.hpp
script_admin.cpp Codechange: Use {fmt} for script_admin JSON generation 1 year ago
script_admin.hpp Change: include fmt.h C++ headers in stdafx.h 1 year ago
script_airport.cpp Add: precondition checks to functions that work with both valid company and deity 1 year ago
script_airport.hpp Codechange: use GSCompanyMode::IsValid, IsDeity, and the precondition helpers 1 year ago
script_base.cpp Fix: [Script] ScriptBase::Rand() return value was between -MIN(int32) and MAX(int32) (#10443) 1 year ago
script_base.hpp Fix: [Script] ScriptBase::Rand() return value was between -MIN(int32) and MAX(int32) (#10443) 1 year ago
script_basestation.cpp Codechange: use std::string as script API return type 1 year ago
script_basestation.hpp Codechange: use std::string as script API return type 1 year ago
script_bridge.cpp Codechange: use std::string as script API return type 1 year ago
script_bridge.hpp Codechange: use std::string as script API return type 1 year 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: use std::string as script API return type 1 year ago
script_cargo.hpp Codechange: use std::string as script API return type 1 year ago
script_cargolist.cpp
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: use std::string as script API return type 1 year ago
script_client.hpp Codechange: use std::string as script API return type 1 year ago
script_clientlist.cpp
script_clientlist.hpp Fix: missing/duplicate documentation tags for scripts 1 year ago
script_company.cpp Codechange: use std::string as script API return type 1 year ago
script_company.hpp Codechange: use std::string as script API return type 1 year 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: replace 'const char *' script API parameters with std::string 1 year ago
script_date.cpp Codechange: Move calendar date functions inside TimerGameCalendar (#10753) 1 year ago
script_date.hpp Codechange: Use SQInteger for generic numbers in script_date 1 year ago
script_depotlist.cpp Add: precondition checks to functions that work with both valid company and deity 1 year ago
script_depotlist.hpp
script_engine.cpp Codechange: use std::string as script API return type 1 year 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: use std::string as script API return type 1 year ago
script_event.cpp
script_event.hpp Fix: missing/duplicate documentation tags for scripts 1 year ago
script_event_types.cpp Codechange: use std::string as script API return type 1 year ago
script_event_types.hpp Codechange: use std::string as script API return type 1 year ago
script_execmode.cpp
script_execmode.hpp
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: replace 'const char *' script API parameters with std::string 1 year ago
script_goal.cpp Codechange: use GSCompanyMode::IsValid, IsDeity, and the precondition helpers 1 year ago
script_goal.hpp Codechange: use GSCompanyMode::IsValid, IsDeity, and the precondition helpers 1 year ago
script_group.cpp Codechange: use std::string as script API return type 1 year 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: use std::string as script API return type 1 year ago
script_industry.hpp Codechange: use std::string as script API return type 1 year ago
script_industrylist.cpp
script_industrylist.hpp
script_industrytype.cpp Codechange: use std::string as script API return type 1 year 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 Add: [Script] Labels for negative values of a setting 1 year ago
script_infrastructure.cpp Codechange: Use SQInteger for generic numbers in script_infrastructure 1 year ago
script_infrastructure.hpp Codechange: Use SQInteger for generic numbers in script_infrastructure 1 year ago
script_league.cpp Codechange: use GSCompanyMode::IsValid, IsDeity, and the precondition helpers 1 year ago
script_league.hpp Codechange: use GSCompanyMode::IsValid, IsDeity, and the precondition helpers 1 year ago
script_list.cpp Codechange: use default dtor instead of empty (#10826) 1 year ago
script_list.hpp Codechange: Use SQInteger for generic numbers in script_list 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 Change: Replace ScriptLog data array with std::deque. (#10770) 1 year ago
script_map.cpp Codechange: Use SQInteger for generic numbers in script_map 1 year ago
script_map.hpp Codechange: Use SQInteger for generic numbers in script_map 1 year 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 Add: deity mode enforcement checks to functions with command or company access 1 year ago
script_news.hpp Add: deity mode enforcement checks to functions with command or company access 1 year ago
script_object.cpp Codechange: use std::string as script API return type 1 year ago
script_object.hpp Codechange: use std::string as script API return type 1 year 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: use std::string as script API return type 1 year ago
script_rail.hpp Codechange: use std::string as script API return type 1 year ago
script_railtypelist.cpp Add: precondition checks to functions that work with both valid company and deity 1 year ago
script_railtypelist.hpp
script_road.cpp Cleanup: the need for SQAutoFreePointers has gone 1 year ago
script_road.hpp Cleanup: the need for SQAutoFreePointers has gone 1 year 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 Add: company mode enforcement checks to functions with command or company access 1 year ago
script_station.hpp Add: company mode enforcement checks to functions with command or company access 1 year ago
script_stationlist.cpp Add: precondition checks to functions that work with both valid company and deity 1 year ago
script_stationlist.hpp
script_story_page.cpp Codechange: use GSCompanyMode::IsValid, IsDeity, and the precondition helpers 1 year ago
script_story_page.hpp Codechange: use GSCompanyMode::IsValid, IsDeity, and the precondition helpers 1 year ago
script_storypageelementlist.cpp
script_storypageelementlist.hpp
script_storypagelist.cpp
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
script_text.cpp Codechange: replace 'const char *' script API parameters with std::string 1 year ago
script_text.hpp Codechange: replace 'const char *' script API parameters with std::string 1 year 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: Use SQInteger for generic numbers in script_tilelist 1 year ago
script_tilelist.hpp Codechange: Use SQInteger for generic numbers in script_tilelist 1 year ago
script_town.cpp Codechange: use std::string as script API return type 1 year ago
script_town.hpp Codechange: use std::string as script API return type 1 year ago
script_townlist.cpp
script_townlist.hpp
script_tunnel.cpp Add: precondition checks to functions that work with both valid company and deity 1 year ago
script_tunnel.hpp Codechange: use GSCompanyMode::IsValid, IsDeity, and the precondition helpers 1 year ago
script_types.hpp Codechange: Make TileIndex a "strong" typedef to give it a distinct type. 2 years ago
script_vehicle.cpp Codechange: use std::string as script API return type 1 year 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: Use SQInteger for generic numbers in script_window 1 year ago
squirrel_export.hpp.sq.in