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 eca73a810c Change: rebrand 1.12.0 to 12.0
One question that keeps popping up: "when do we release 2.0?".
NewGRF will force that at least 1.16 will be 2.0, but to not wait
for this, let's drop the "1." and be for ever done with that
conversation.

We are following in the footstep of giants here.
3 years ago
..
ai Change: rewrote squirrel_export in CMake 4 years ago
game Change: rewrote squirrel_export in CMake 4 years ago
CMakeLists.txt Add: [Script] Basic information about loaded NewGRFs for scripts. (#9464) 3 years ago
Doxyfile_AI.in Add: [CMake] targets to generate documentation 3 years ago
Doxyfile_GS.in Add: [CMake] targets to generate documentation 3 years ago
ai_changelog.hpp Change: rebrand 1.12.0 to 12.0 3 years ago
doxygen_filter.awk Cleanup: Removed SVN headers 5 years ago
doxygen_filter.sh Cleanup: Removed SVN headers 5 years ago
game_changelog.hpp Change: rebrand 1.12.0 to 12.0 3 years ago
script_accounting.cpp Cleanup: Removed SVN headers 5 years ago
script_accounting.hpp Cleanup: Removed SVN headers 5 years ago
script_admin.cpp Codechange: [Network] Let admin-game script use std::string 3 years ago
script_admin.hpp Cleanup: Removed SVN headers 5 years ago
script_airport.cpp Cleanup: Removed SVN headers 5 years ago
script_airport.hpp Cleanup: Removed SVN headers 5 years ago
script_base.cpp Cleanup: Removed SVN headers 5 years ago
script_base.hpp Cleanup: Removed SVN headers 5 years ago
script_basestation.cpp Cleanup: Removed SVN headers 5 years ago
script_basestation.hpp Cleanup: Removed SVN headers 5 years ago
script_bridge.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
script_bridge.hpp Cleanup: Removed SVN headers 5 years ago
script_bridgelist.cpp Cleanup: Removed SVN headers 5 years ago
script_bridgelist.hpp Cleanup: Removed SVN headers 5 years ago
script_cargo.cpp Fix 218f40e: Warning about 32-bit shift implicitly converted to 64 bits 3 years ago
script_cargo.hpp Add: [Script] ScriptCargo::GetName, to get the human readable name of a cargo (#8544) 3 years ago
script_cargolist.cpp Codechange: Replace FOR_ALL_CARGOSPECS with range-based for loops 3 years ago
script_cargolist.hpp Cleanup: Removed SVN headers 5 years ago
script_cargomonitor.cpp Cleanup: Removed SVN headers 5 years ago
script_cargomonitor.hpp Cleanup: Removed SVN headers 5 years ago
script_client.cpp Codechange: [Network] Let NetworkClientInfo use std::string 3 years ago
script_client.hpp Cleanup: Removed SVN headers 5 years ago
script_clientlist.cpp Codechange: Replace network related FOR_ALL with range-based for loops 4 years ago
script_clientlist.hpp Cleanup: Removed SVN headers 5 years ago
script_company.cpp Codechange: Remove (unused) ability to specify min/max of OverflowSafeInt 3 years ago
script_company.hpp Feature: Add tile parameter for GSCompany.ChangeBankBalance to show text effect if needed (#8573) 3 years ago
script_companymode.cpp Cleanup: Removed SVN headers 5 years ago
script_companymode.hpp Change: Use gender-neutral pronouns in console command messages (and comments) (#9203) 3 years ago
script_controller.cpp Change: Use gender-neutral pronouns 3 years ago
script_controller.hpp Change: rebrand 1.12.0 to 12.0 3 years ago
script_date.cpp Fix: [MinGW] Set minimum OS version to Windows XP (#9135) 3 years ago
script_date.hpp Cleanup: Removed SVN headers 5 years ago
script_depotlist.cpp Codechange: Replace FOR_ALL_DEPOTS with range-based for loops 4 years ago
script_depotlist.hpp Cleanup: Removed SVN headers 5 years ago
script_engine.cpp Feature: GS method to control engine availability for a specific company (#7791) 4 years ago
script_engine.hpp Feature: GS method to control engine availability for a specific company (#7791) 4 years ago
script_enginelist.cpp Codechange: Replace FOR_ALL_ENGINES with range-based for loops 4 years ago
script_enginelist.hpp Cleanup: Removed SVN headers 5 years ago
script_error.cpp Cleanup: Removed SVN headers 5 years ago
script_error.hpp Add #7801: [Script] more error mappings 4 years ago
script_event.cpp Cleanup: Removed SVN headers 5 years ago
script_event.hpp Feature: Push-buttons on storybook pages (#7896) 4 years ago
script_event_types.cpp Codechange: [Network] Let admin-game script use std::string 3 years ago
script_event_types.hpp Codechange: [Network] Let admin-game script use std::string 3 years ago
script_execmode.cpp Cleanup: Removed SVN headers 5 years ago
script_execmode.hpp Change: Use gender-neutral pronouns in console command messages (and comments) (#9203) 3 years ago
script_game.cpp Cleanup: Removed SVN headers 5 years ago
script_game.hpp Cleanup: Removed SVN headers 5 years ago
script_gamesettings.cpp Codechange: access the name of a setting via an accessor function 3 years ago
script_gamesettings.hpp Cleanup: Removed SVN headers 5 years ago
script_goal.cpp Feature: [GS] Allow non-question type windows to have no buttons 3 years ago
script_goal.hpp Codechange: Make sure script enums are the same size as their normal counterparts 4 years ago
script_group.cpp Add: [AI] Get the number of vehicles in a given group (#9462) 3 years ago
script_group.hpp Add: [AI] Get the number of vehicles in a given group (#9462) 3 years ago
script_grouplist.cpp Codechange: Replace FOR_ALL_GROUPS with range-based for loops 4 years ago
script_grouplist.hpp Cleanup: Removed SVN headers 5 years ago
script_includes.hpp.in Change: rewrote squirrel_export in CMake 4 years ago
script_industry.cpp Codechange: Replace TILE_AREA_LOOP with range-based for loops 3 years ago
script_industry.hpp Feature: Allow GameScripts to add additional text to Industry view window 3 years ago
script_industrylist.cpp Codechange: Replace FOR_ALL_INDUSTRIES with range-based for loops 4 years ago
script_industrylist.hpp Cleanup: Removed SVN headers 5 years ago
script_industrytype.cpp Cleanup: Removed SVN headers 5 years ago
script_industrytype.hpp Cleanup: Removed SVN headers 5 years ago
script_industrytypelist.cpp Cleanup: Removed SVN headers 5 years ago
script_industrytypelist.hpp Cleanup: Removed SVN headers 5 years ago
script_info_docs.hpp Doc: [Script] Make it clear random_deviation and CONFIG_RANDOM range upper bounds are inclusive 4 years ago
script_infrastructure.cpp Cleanup: Removed SVN headers 5 years ago
script_infrastructure.hpp Cleanup: Removed SVN headers 5 years ago
script_list.cpp Fix 14f197c: [Script] int64 values don't fit into int (#9465) 3 years ago
script_list.hpp Cleanup: Removed SVN headers 5 years ago
script_log.cpp Codechange: convert printf DEBUG statements to fmt Debug statements 3 years ago
script_log.hpp Codechange: convert printf DEBUG statements to fmt Debug statements 3 years ago
script_map.cpp Cleanup: Removed SVN headers 5 years ago
script_map.hpp Cleanup: Removed SVN headers 5 years ago
script_marine.cpp Fix: [Script] ScriptMarine::AreWaterTilesConnected failed for aqueducts (#8074) 4 years ago
script_marine.hpp Cleanup: Removed SVN headers 5 years ago
script_newgrf.cpp Fix 8706dcd9: [Script] Byte-swap grfids to match normal expectations. 3 years ago
script_newgrf.hpp Fix 8706dcd9: [Script] Byte-swap grfids to match normal expectations. 3 years ago
script_news.cpp Cleanup: Removed SVN headers 5 years ago
script_news.hpp Cleanup: Removed SVN headers 5 years ago
script_object.cpp Codechange: convert printf DEBUG statements to fmt Debug statements 3 years ago
script_object.hpp Cleanup: Removed SVN headers 5 years ago
script_order.cpp Codechange: convert printf DEBUG statements to fmt Debug statements 3 years ago
script_order.hpp Cleanup: Correct typographic errors in code comments. 4 years ago
script_priorityqueue.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
script_priorityqueue.hpp Fix: [Script] doxygen_filter is very strict about DOXYGEN_API usage (#9351) 3 years ago
script_rail.cpp Codechange: convert printf DEBUG statements to fmt Debug statements 3 years ago
script_rail.hpp Codechange: Make sure script enums are the same size as their normal counterparts 4 years ago
script_railtypelist.cpp Cleanup: Removed SVN headers 5 years ago
script_railtypelist.hpp Cleanup: Removed SVN headers 5 years ago
script_road.cpp Fix: [AI/GS] CanBuildConnectedRoadPartsHere neighbours tiles were at times incorrect 4 years ago
script_road.hpp Update: Disuse of STR_ERROR_INCOMPATIBLE_ROAD 4 years ago
script_roadtypelist.cpp Cleanup: Removed SVN headers 5 years ago
script_roadtypelist.hpp Cleanup: Removed SVN headers 5 years ago
script_sign.cpp Cleanup: Removed SVN headers 5 years ago
script_sign.hpp Cleanup: Removed SVN headers 5 years ago
script_signlist.cpp Codechange: Replace FOR_ALL_SIGNS with range-based for loops 4 years ago
script_signlist.hpp Cleanup: Removed SVN headers 5 years ago
script_station.cpp Cleanup: Removed SVN headers 5 years ago
script_station.hpp Cleanup: Removed SVN headers 5 years ago
script_stationlist.cpp Codechange: Replace station related FOR_ALL with range-based for loops 4 years ago
script_stationlist.hpp Change: Use gender-neutral pronouns in console command messages (and comments) (#9203) 3 years ago
script_story_page.cpp Fix: Warning about using the wrong enum type 4 years ago
script_story_page.hpp Codechange: Make sure script enums are the same size as their normal counterparts 4 years ago
script_storypageelementlist.cpp Codechange: Replace story related FOR_ALL with range-based for loops 4 years ago
script_storypageelementlist.hpp Cleanup: Removed SVN headers 5 years ago
script_storypagelist.cpp Codechange: Replace story related FOR_ALL with range-based for loops 4 years ago
script_storypagelist.hpp Cleanup: Removed SVN headers 5 years ago
script_subsidy.cpp Cleanup: Removed SVN headers 5 years ago
script_subsidy.hpp Cleanup: Removed SVN headers 5 years ago
script_subsidylist.cpp Codechange: Replace FOR_ALL_SUBSIDIES with range-based for loops 4 years ago
script_subsidylist.hpp Cleanup: Removed SVN headers 5 years ago
script_testmode.cpp Cleanup: Removed SVN headers 5 years ago
script_testmode.hpp Change: Use gender-neutral pronouns in console command messages (and comments) (#9203) 3 years ago
script_text.cpp Cleanup: [Script] Use nullptr instead of 0 or NULL 3 years ago
script_text.hpp Fix: [Script] doxygen_filter is very strict about DOXYGEN_API usage (#9351) 3 years ago
script_tile.cpp Cleanup: Removed SVN headers 5 years ago
script_tile.hpp Add #7801: [Script] more error mappings 4 years ago
script_tilelist.cpp Codechange: Replace TILE_AREA_LOOP with range-based for loops 3 years ago
script_tilelist.hpp Cleanup: Removed SVN headers 5 years ago
script_town.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
script_town.hpp Feature: Script API to change town rating of companies 4 years ago
script_townlist.cpp Codechange: Replace FOR_ALL_TOWNS with range-based for loops 4 years ago
script_townlist.hpp Cleanup: Removed SVN headers 5 years ago
script_tunnel.cpp Cleanup: Removed SVN headers 5 years ago
script_tunnel.hpp Cleanup: Removed SVN headers 5 years ago
script_types.hpp Cleanup: Removed SVN headers 5 years ago
script_vehicle.cpp Cleanup: Removed SVN headers 5 years ago
script_vehicle.hpp Doc: [Script] Add a note about how wagon connectivity works for scripts 4 years ago
script_vehiclelist.cpp Codechange: Replace FOR_VEHICLE_ORDERS with range-based for loops 3 years ago
script_vehiclelist.hpp Cleanup: Removed SVN headers 5 years ago
script_viewport.cpp Cleanup: Removed SVN headers 5 years ago
script_viewport.hpp Cleanup: Removed SVN headers 5 years ago
script_waypoint.cpp Cleanup: Removed SVN headers 5 years ago
script_waypoint.hpp Cleanup: Removed SVN headers 5 years ago
script_waypointlist.cpp Codechange: Replace station related FOR_ALL with range-based for loops 4 years ago
script_waypointlist.hpp Change: Use gender-neutral pronouns 3 years ago
script_window.cpp Codechange: Rename window related DeleteXXX to match new behaviour 3 years ago
script_window.hpp.in Change: rewrote generate_widget in CMake 4 years ago
squirrel_export.hpp.sq.in Change: rewrote squirrel_export in CMake 4 years ago