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 9a3dbf3122
Fix 02e770ff: allow estimating CloneVehicle if short on money (#8748)
CheckCompanyHasMoney() was also executed when not using DC_EXEC,
resulting in an error about shortage of money instead of the
estimation.
This mostly is a problem for AI players, as they will have no
way to know how much it would have cost.
3 years ago
..
ai Change: rewrote squirrel_export in CMake 4 years ago
game Change: rewrote squirrel_export in CMake 4 years ago
template Change: rewrote squirrel_export in CMake 4 years ago
CMakeLists.txt Add: [CMake] Option to only build tools/docs 4 years ago
Doxyfile_AI.in Add: [CMake] targets to generate documentation 4 years ago
Doxyfile_GS.in Add: [CMake] targets to generate documentation 4 years ago
ai_changelog.hpp Fix 02e770ff: allow estimating CloneVehicle if short on money (#8748) 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 Feature: [GS] Allow non-question type windows to have no buttons 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 Cleanup: Removed SVN headers 5 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 Cleanup: Removed SVN headers 5 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 Cleanup: Removed SVN headers 5 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 5 years ago
script_clientlist.hpp Cleanup: Removed SVN headers 5 years ago
script_company.cpp Feature: Add tile parameter for GSCompany.ChangeBankBalance to show text effect if needed (#8573) 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 Cleanup: Removed SVN headers 5 years ago
script_controller.cpp Codechange: use C++11 constructs for for-each loops (#8432) 4 years ago
script_controller.hpp Doc: for over 10 years now, we do not load the exact AI version first (#8431) 4 years ago
script_date.cpp Cleanup: Removed SVN headers 5 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 5 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 5 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 5 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 Cleanup: Removed SVN headers 5 years ago
script_event_types.hpp Feature: Push-buttons on storybook pages (#7896) 4 years ago
script_execmode.cpp Cleanup: Removed SVN headers 5 years ago
script_execmode.hpp Cleanup: Removed SVN headers 5 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 Cleanup: Removed SVN headers 5 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 Codechange: Replace vehicle related FOR_ALL with range-based for loops 5 years ago
script_group.hpp Cleanup: Removed SVN headers 5 years ago
script_grouplist.cpp Codechange: Replace FOR_ALL_GROUPS with range-based for loops 5 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 Feature: Allow GameScripts to add additional text to Industry view window 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 5 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 Codechange: [Script] Improve copying a list into another empty list. 4 years ago
script_list.hpp Cleanup: Removed SVN headers 5 years ago
script_log.cpp Cleanup: Removed SVN headers 5 years ago
script_log.hpp Cleanup: Removed SVN headers 5 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_news.cpp Cleanup: Removed SVN headers 5 years ago
script_news.hpp Cleanup: Removed SVN headers 5 years ago
script_object.cpp Cleanup: Removed SVN headers 5 years ago
script_object.hpp Cleanup: Removed SVN headers 5 years ago
script_order.cpp Fix #8039: [AI/GS] SetOrderFlags and GetOrderDestination didn't work for oil rigs 4 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 Add: [Script] Native priority queue; useful e.g. for pathfinders. 4 years ago
script_rail.cpp Codechange: Remove min/max functions in favour of STL variants (#8502) 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 5 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 5 years ago
script_stationlist.hpp Cleanup: Removed SVN headers 5 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 5 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 5 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 5 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 Cleanup: Removed SVN headers 5 years ago
script_text.cpp Cleanup: Removed SVN headers 5 years ago
script_text.hpp Cleanup: Removed SVN headers 5 years ago
script_tile.cpp Cleanup: Removed SVN headers 5 years ago
script_tile.hpp Add #7801: [Script] more error mappings 5 years ago
script_tilelist.cpp Fix: [AI/GS] Consider neutral station setting when creating tile lists 4 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 5 years ago
script_townlist.cpp Codechange: Replace FOR_ALL_TOWNS with range-based for loops 5 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 4 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 5 years ago
script_waypointlist.hpp Cleanup: Removed SVN headers 5 years ago
script_window.cpp Cleanup: Removed SVN headers 5 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