OpenTTD/src/script/api
Niels Martin Hansen 0549a81c30 Fix b3fd7879: Ignore command flags when verifying script commands
Multiplayer games has the server add some flags to the cmd value during the handling.
These flags should not be included in the verification, mask them out. Without this
masking out, scripts tend to die when executing their first command in multiplayer.
2019-09-07 19:38:13 +02:00
..
ai Add: New RoadType API functions. 2019-05-01 21:36:27 +02:00
game Fix b870596f15: forgotten squirrel_export run (#7715) 2019-09-01 18:54:01 +02:00
template Add: New RoadType API functions. 2019-05-01 21:36:27 +02:00
ai_changelog.hpp Add: New RoadType API functions. 2019-05-01 21:36:27 +02:00
Doxyfile_AI
Doxyfile_Game
doxygen_filter.awk
doxygen_filter.sh
game_changelog.hpp Feature: Add NotRoadTypes (NRT) 2019-05-01 21:36:27 +02:00
generate_widget.awk Fix: keep the line ending when generating widget enums with bash/gawk on windows 2019-01-23 19:44:43 +01:00
generate_widget.sh Fix: line ending issues with MSYS2 2019-02-10 12:44:10 +01:00
generate_widget.vbs Add: generate_widget.vbs to allow script_window.hpp enums generation for users unable to run bash/gawk scripts 2019-01-23 19:44:43 +01:00
script_accounting.cpp
script_accounting.hpp
script_admin.cpp Remove: ENABLE_NETWORK switch 2019-03-20 19:24:55 +01:00
script_admin.hpp
script_airport.cpp Codechange: Check airport layout would fit within map bounds before iterating tiles. (#7429) 2019-03-30 22:20:26 +00:00
script_airport.hpp Add: AI/GS GetMonthlyMaintenanceCost (#6897) 2018-11-01 18:06:08 +01:00
script_base.cpp
script_base.hpp
script_basestation.cpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_basestation.hpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_bridge.cpp Feature: Add NotRoadTypes (NRT) 2019-05-01 21:36:27 +02:00
script_bridge.hpp Change: Give AI/GSBridge::GetName an extra parameter to refer the vehicle type (#6988) 2019-01-31 23:08:03 +00:00
script_bridgelist.cpp
script_bridgelist.hpp
script_cargo.cpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_cargo.hpp (svn r27316) -Doc: Improve documentation on ScriptCargo::GetCargoLabel 2015-06-21 18:53:23 +00:00
script_cargolist.cpp
script_cargolist.hpp
script_cargomonitor.cpp Codechange: Remove Company/OwnerByte types 2019-04-29 17:40:22 +01:00
script_cargomonitor.hpp
script_client.cpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_client.hpp Feature #6459: API for querying network clients from GS (#6736) 2018-04-22 15:42:29 +02:00
script_clientlist.cpp Remove: ENABLE_NETWORK switch 2019-03-20 19:24:55 +01:00
script_clientlist.hpp Feature #6459: API for querying network clients from GS (#6736) 2018-04-22 15:42:29 +02:00
script_company.cpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_company.hpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_companymode.cpp Fix #6966: Only allow switching to a valid company. 2018-12-29 16:15:44 +01:00
script_companymode.hpp
script_controller.cpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_controller.hpp (svn r27111) -Doc: Extend script documentation with Save and Load functions. 2015-01-04 15:14:13 +00:00
script_date.cpp
script_date.hpp
script_depotlist.cpp
script_depotlist.hpp
script_engine.cpp Add: New RoadType API functions. 2019-05-01 21:36:27 +02:00
script_engine.hpp Add: New RoadType API functions. 2019-05-01 21:36:27 +02:00
script_enginelist.cpp
script_enginelist.hpp
script_error.cpp (svn r27893) -Codechange: Use fallthrough attribute. (LordAro) 2017-08-13 18:38:42 +00:00
script_error.hpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_event_types.cpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_event_types.hpp Fix: Spelling in code comment (#6984) 2018-11-28 16:24:01 +01:00
script_event.cpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_event.hpp
script_execmode.cpp (svn r27379) -Codechange: Do not throw in the destructors of ScriptTest/ExecMode. 2015-08-10 20:04:31 +00:00
script_execmode.hpp (svn r27543) -Fix (r27379): ScriptExec/TestMode::FinalRelease is not part of the API. 2016-04-17 17:10:07 +00:00
script_game.cpp Remove: ENABLE_NETWORK switch 2019-03-20 19:24:55 +01:00
script_game.hpp
script_gamesettings.cpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_gamesettings.hpp
script_goal.cpp Fix: Make GSGoal.QuestionClient work correctly at least for clients with ID < 2**16 2019-07-14 13:32:08 +01:00
script_goal.hpp Fix: Make GSGoal.QuestionClient work correctly at least for clients with ID < 2**16 2019-07-14 13:32:08 +01:00
script_group.cpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_group.hpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_grouplist.cpp
script_grouplist.hpp
script_industry.cpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_industry.hpp
script_industrylist.cpp
script_industrylist.hpp
script_industrytype.cpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_industrytype.hpp
script_industrytypelist.cpp
script_industrytypelist.hpp
script_info_docs.hpp
script_infrastructure.cpp Feature: Add NotRoadTypes (NRT) 2019-05-01 21:36:27 +02:00
script_infrastructure.hpp
script_list.cpp Fix: typo in ScriptList::Valuate param error (#7687) 2019-08-07 21:15:53 +02:00
script_list.hpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_log.cpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_log.hpp
script_map.cpp
script_map.hpp
script_marine.cpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_marine.hpp
script_news.cpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_news.hpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_object.cpp Fix b3fd7879: Ignore command flags when verifying script commands 2019-09-07 19:38:13 +02:00
script_object.hpp Fix #7188: check the validity of command callback for scripts (#7701) 2019-09-07 17:37:01 +01:00
script_order.cpp Fix #7593: Crash in ScriptOrder::GetOrderDistance in VT_AIR mode 2019-07-22 20:26:36 +01:00
script_order.hpp Doc: [AI] UnshareOrders empties the orders list of the vehicle. 2019-02-19 15:25:53 +01:00
script_rail.cpp Codechange: Remove RailTypeByte type 2019-04-29 17:40:22 +01:00
script_rail.hpp Feature: Add NotRoadTypes (NRT) 2019-05-01 21:36:27 +02:00
script_railtypelist.cpp
script_railtypelist.hpp
script_road.cpp Add: New RoadType API functions. 2019-05-01 21:36:27 +02:00
script_road.hpp Add: New RoadType API functions. 2019-05-01 21:36:27 +02:00
script_roadtypelist.cpp Add: New RoadType API functions. 2019-05-01 21:36:27 +02:00
script_roadtypelist.hpp Add: New RoadType API functions. 2019-05-01 21:36:27 +02:00
script_sign.cpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_sign.hpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_signlist.cpp
script_signlist.hpp
script_station.cpp Feature: Add NotRoadTypes (NRT) 2019-05-01 21:36:27 +02:00
script_station.hpp Remove: Unused string "STR_ERROR_TOO_CLOSE_TO_ANOTHER_STATION" 2018-10-31 19:24:21 +01:00
script_stationlist.cpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_stationlist.hpp (svn r27003) -Cleanup: fix the use of spaces and asterices "around" some comments 2014-10-12 18:41:53 +00:00
script_story_page.cpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_story_page.hpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_storypageelementlist.cpp
script_storypageelementlist.hpp
script_storypagelist.cpp
script_storypagelist.hpp
script_subsidy.cpp
script_subsidy.hpp
script_subsidylist.cpp
script_subsidylist.hpp
script_testmode.cpp (svn r27379) -Codechange: Do not throw in the destructors of ScriptTest/ExecMode. 2015-08-10 20:04:31 +00:00
script_testmode.hpp (svn r27543) -Fix (r27379): ScriptExec/TestMode::FinalRelease is not part of the API. 2016-04-17 17:10:07 +00:00
script_text.cpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_text.hpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_tile.cpp Feature: Add NotRoadTypes (NRT) 2019-05-01 21:36:27 +02:00
script_tile.hpp
script_tilelist.cpp Fix: Industry coverage area is no longer rectangular. (#7464) 2019-04-13 14:27:57 +01:00
script_tilelist.hpp (svn r27287) -Doc: Clarify radius and semantics of the industry producing/accepting tile functions. 2015-05-16 14:40:45 +00:00
script_town.cpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_town.hpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_townlist.cpp
script_townlist.hpp
script_tunnel.cpp Feature: Add NotRoadTypes (NRT) 2019-05-01 21:36:27 +02:00
script_tunnel.hpp
script_types.hpp (svn r27757) -Change: Make StringID 32bit. 2017-02-26 19:41:14 +00:00
script_vehicle.cpp Feature: Add NotRoadTypes (NRT) 2019-05-01 21:36:27 +02:00
script_vehicle.hpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_vehiclelist.cpp Fix #5685: Check for free wagons in ScriptVehicleList 2019-07-07 16:02:11 +01:00
script_vehiclelist.hpp
script_viewport.cpp Feature: GS methods to scroll viewport for players (#6745) 2018-04-24 19:19:00 +02:00
script_viewport.hpp Feature: GS methods to scroll viewport for players (#6745) 2018-04-24 19:19:00 +02:00
script_waypoint.cpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_waypoint.hpp
script_waypointlist.cpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_waypointlist.hpp
script_window.cpp Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
script_window.hpp Add #6887: Option to show zone inside local authority boundary of towns 2019-08-17 21:45:20 +01:00
squirrel_export.awk Codechange: Replace NULL with nullptr in squirrel interface. 2019-04-11 22:42:11 +01:00
squirrel_export.sh Fix: line ending issues with MSYS2 2019-02-10 12:44:10 +01:00
squirrel_export.vbs Codechange: Replace NULL with nullptr in squirrel interface. 2019-04-11 22:42:11 +01:00