OpenTTD-patches/src/script/api
2019-04-04 23:43:54 +01:00
..
ai Merge branch 'master' into jgrpp 2019-03-27 18:12:04 +00:00
game Merge branch 'master' into jgrpp 2019-03-27 18:12:04 +00:00
template Merge branch 'master' into jgrpp 2019-03-04 01:18:25 +00:00
ai_changelog.hpp Fix 6fc60d8c4f: forgot to update API changelog 2019-03-31 03:33:03 +02:00
Doxyfile_AI (svn r25595) -Fix-ish: move the Doxygen .tag files into objs, so they are automatically ignored and removed upon mrproper/distclean. Furthermore remove the gamedocs folder too 2013-07-13 06:44:22 +00:00
Doxyfile_Game (svn r25595) -Fix-ish: move the Doxygen .tag files into objs, so they are automatically ignored and removed upon mrproper/distclean. Furthermore remove the gamedocs folder too 2013-07-13 06:44:22 +00:00
doxygen_filter.awk (svn r23650) -Fix: wrong functions were filtered for AI/GameScript doxygen documentation 2011-12-21 14:30:08 +00:00
doxygen_filter.sh (svn r23610) -Add: Doxygen files for NoGo API (Yexo) 2011-12-19 20:56:42 +00:00
game_changelog.hpp Fix 6fc60d8c4f: forgot to update API changelog 2019-03-31 03:33:03 +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 (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_accounting.hpp (svn r24008) -Cleanup/doc: try not to mention (No)AI in script APIs 2012-03-04 16:54:12 +00:00
script_admin.cpp Remove: ENABLE_NETWORK switch 2019-03-20 19:24:55 +01:00
script_admin.hpp (svn r25594) -Fix-ish: some Doxygen warnings/errors for scripts 2013-07-13 06:38:54 +00:00
script_airport.cpp Merge branch 'master' into jgrpp 2019-04-01 03:06:18 +01:00
script_airport.hpp Add: AI/GS GetMonthlyMaintenanceCost (#6897) 2018-11-01 18:06:08 +01:00
script_base.cpp (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_base.hpp (svn r25148) -Fix [FS#5517]: [Script] XXBase::Chance function did not work for large values (>65535) 2013-04-06 11:59:27 +00:00
script_basestation.cpp (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_basestation.hpp (svn r26307) -Add: [nogo] Allow GS to hide story page date 2014-02-06 19:50:34 +00:00
script_bridge.cpp Merge branch 'master' into jgrpp 2019-02-02 01:27:56 +00: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 (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_bridgelist.hpp (svn r23615) -Add: more API functions exposed to NoGo (part 2) 2011-12-19 20:57:34 +00:00
script_cargo.cpp (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_cargo.hpp (svn r27316) -Doc: Improve documentation on ScriptCargo::GetCargoLabel 2015-06-21 18:53:23 +00:00
script_cargolist.cpp (svn r26580) -Codechange: s/GES_PICKUP/GES_RATING/ (it has nothing to do with actual pickup), s/acceptance_pickup/status/ (the enum isn't called GoodEntryStatus for a reason; it's not only acceptance and pickup anymore) 2014-05-11 18:02:11 +00:00
script_cargolist.hpp (svn r23615) -Add: more API functions exposed to NoGo (part 2) 2011-12-19 20:57:34 +00:00
script_cargomonitor.cpp (svn r26685) -Fix: Tighten parameter bound checks on GSCargoMonitor functions, and return -1 on out-of-bound parameters. 2014-07-12 17:04:14 +00:00
script_cargomonitor.hpp (svn r26685) -Fix: Tighten parameter bound checks on GSCargoMonitor functions, and return -1 on out-of-bound parameters. 2014-07-12 17:04:14 +00:00
script_client.cpp Remove: ENABLE_NETWORK switch 2019-03-20 19:24:55 +01: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 Add: AI functions to get/set company colours. 2019-03-03 09:15:39 +01:00
script_company.hpp Add: AI functions to get/set company colours. 2019-03-03 09:15:39 +01:00
script_companymode.cpp Fix #6966: Only allow switching to a valid company. 2018-12-29 16:15:44 +01:00
script_companymode.hpp (svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC) 2011-12-20 17:57:56 +00:00
script_controller.cpp (svn r26774) -Cleanup [Squirrel]: remove _SC macro 2014-09-06 17:46:56 +00: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 (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_date.hpp (svn r26307) -Add: [nogo] Allow GS to hide story page date 2014-02-06 19:50:34 +00:00
script_depotlist.cpp (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_depotlist.hpp (svn r23615) -Add: more API functions exposed to NoGo (part 2) 2011-12-19 20:57:34 +00:00
script_engine.cpp Codechange: Remove ship max order distance from script API. 2019-03-31 17:22:54 +01:00
script_engine.hpp (svn r27123) -Fix [FS#5371] [FS#6214]: API docs (krinn) 2015-01-20 19:11:31 +00:00
script_enginelist.cpp (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_enginelist.hpp (svn r23615) -Add: more API functions exposed to NoGo (part 2) 2011-12-19 20:57:34 +00:00
script_error.cpp (svn r27893) -Codechange: Use fallthrough attribute. (LordAro) 2017-08-13 18:38:42 +00:00
script_error.hpp (svn r24982) -Fix [FS#5465]: [Script] Crash when passing too many parameters 2013-02-08 20:34:27 +00:00
script_event_types.cpp (svn r27020) -Cleanup: some coding style consistency improvements (mostly spaces) 2014-10-15 18:31:37 +00:00
script_event_types.hpp Fix: Spelling in code comment (#6984) 2018-11-28 16:24:01 +01:00
script_event.cpp (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_event.hpp (svn r24291) -Add: [Script] ScriptEventRoadReconstruction. 2012-05-26 14:16:45 +00:00
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 (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 2013-01-08 22:46:42 +00:00
script_gamesettings.cpp (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_gamesettings.hpp (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 2013-01-08 22:46:42 +00:00
script_goal.cpp Remove: ENABLE_NETWORK switch 2019-03-20 19:24:55 +01:00
script_goal.hpp Feature: Add GS method to question a single client (#6748) 2018-04-28 17:37:59 +02:00
script_group.cpp Add: AI API for vehicle group colours (#7336) 2019-03-08 18:13:33 +00:00
script_group.hpp Add: AI API for vehicle group colours (#7336) 2019-03-08 18:13:33 +00:00
script_grouplist.cpp (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_grouplist.hpp (svn r23370) -Add: support @api tag in API header files, to select which API should receive the defined classes and functions 2011-11-29 23:27:26 +00:00
script_industry.cpp Feature: Non-rectangular sparse station catchment area. 2019-03-09 16:33:47 +00:00
script_industry.hpp (svn r23614) -Add: more API functions exposed to NoGo (part 1) 2011-12-19 20:57:23 +00:00
script_industrylist.cpp (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_industrylist.hpp (svn r23614) -Add: more API functions exposed to NoGo (part 1) 2011-12-19 20:57:23 +00:00
script_industrytype.cpp (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_industrytype.hpp (svn r26164) -Doc: Fix Game Script API docs on that deity can build/prospect independent of advanced setting for that 2013-12-17 20:41:51 +00:00
script_industrytypelist.cpp (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_industrytypelist.hpp (svn r23614) -Add: more API functions exposed to NoGo (part 1) 2011-12-19 20:57:23 +00:00
script_info_docs.hpp (svn r26038) -Fix: Doxygen syntax. 2013-11-18 20:09:09 +00:00
script_infrastructure.cpp (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_infrastructure.hpp (svn r23735) -Codechange: remove ~50 includes from headers that weren't needed 2012-01-03 20:26:05 +00:00
script_list.cpp (svn r27594) -Fix [FS#6473]: [Script] Kill scripts, when a non-suspendable valuator call takes way too long. 2016-05-30 21:03:11 +00:00
script_list.hpp (svn r27104) -Fix [FS#6194]: support 64 bits integere in the ScriptLists as well 2015-01-01 21:08:19 +00:00
script_log.cpp (svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL) 2014-04-25 15:40:32 +00:00
script_log.hpp (svn r24957) -Document [FS#5349]: newlines and other special characters are removed/converted 2013-02-02 19:46:46 +00:00
script_map.cpp (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_map.hpp (svn r23614) -Add: more API functions exposed to NoGo (part 1) 2011-12-19 20:57:23 +00:00
script_marine.cpp (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_marine.hpp (svn r23633) -Add: allow most build commands from GameScript given a CompanyMode is active in that scope 2011-12-19 21:05:36 +00:00
script_news.cpp (svn r27164) -Add: [NoGo] Game scripts can point to a location, station, industry, or town when publishing news. 2015-02-22 17:25:29 +00:00
script_news.hpp (svn r27164) -Add: [NoGo] Game scripts can point to a location, station, industry, or town when publishing news. 2015-02-22 17:25:29 +00:00
script_object.cpp Add AI/game script DoCommand calls to command log 2019-04-04 23:43:54 +01:00
script_object.hpp (svn r25342) -Add: StoryPage data structures and GS API 2013-06-09 12:19:09 +00:00
script_order.cpp Add game setting to allow only non-stop orders for ground vehicles 2019-02-17 19:56:49 +00: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 Prevent AIs from creating or adding to rail custom bridge heads 2018-12-19 18:51:15 +00:00
script_rail.hpp (svn r25614) -Fix [FS#5651]: [Script] Give a slightly less generic error when removing inexisting rail 2013-07-15 18:19:26 +00:00
script_railtypelist.cpp (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_railtypelist.hpp (svn r23615) -Add: more API functions exposed to NoGo (part 2) 2011-12-19 20:57:34 +00:00
script_road.cpp Fix: MSVC warnings (#7423) 2019-03-28 00:09:33 +01:00
script_road.hpp (svn r26149) -Fix [FS#5825]: [Script] Various API functions did not check whether ScrtipRoad::SetCurrentRoadType was called appropiately. 2013-12-08 15:44:09 +00:00
script_sign.cpp (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_sign.hpp (svn r23636) -Add: introduce ScriptText in parameters where it can be used 2011-12-19 21:06:06 +00:00
script_signlist.cpp (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_signlist.hpp (svn r23614) -Add: more API functions exposed to NoGo (part 1) 2011-12-19 20:57:23 +00:00
script_station.cpp Add setting to increase station catchment radius. 2016-11-20 01:49:10 +00:00
script_station.hpp Merge branch 'master' into jgrpp 2018-11-05 12:53:36 +00:00
script_stationlist.cpp Fix b4b98e5165: Use FALLTHROUGH attribute with correct indentation. 2018-04-30 21:52:40 +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 (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_story_page.hpp (svn r26307) -Add: [nogo] Allow GS to hide story page date 2014-02-06 19:50:34 +00:00
script_storypageelementlist.cpp (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_storypageelementlist.hpp (svn r26305) -Add: [nogo] ScriptStoryPageElementList() - a list of all story page elements for a given page 2014-02-06 19:41:56 +00:00
script_storypagelist.cpp (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_storypagelist.hpp (svn r26304) -Fix (26303): Forgot to add new files 2014-02-06 19:36:19 +00:00
script_subsidy.cpp (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_subsidy.hpp (svn r26307) -Add: [nogo] Allow GS to hide story page date 2014-02-06 19:50:34 +00:00
script_subsidylist.cpp (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_subsidylist.hpp (svn r23615) -Add: more API functions exposed to NoGo (part 2) 2011-12-19 20:57:34 +00:00
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 Remove ZeroedMemoryAllocator from ScriptText 2016-09-05 22:41:36 +01:00
script_text.hpp Merge branch 'master' into jgrpp 2019-03-27 18:12:04 +00:00
script_tile.cpp Add setting to increase station catchment radius. 2016-11-20 01:49:10 +00:00
script_tile.hpp (svn r25213) -Fix [FS#5537]: clarify on which tiles IsDesertTile and IsSnowTile work, i.e. the ones without infrastructure or buildings 2013-04-30 17:16:32 +00:00
script_tilelist.cpp Add setting to increase station catchment radius. 2016-11-20 01:49:10 +00: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 Fix #7112, fef8b831a9: incorrect precondition check (#7127) 2019-01-28 17:16:19 +01:00
script_town.hpp Change: Switch town growth rate and counter to actual game ticks (#6763) 2018-05-02 21:01:30 +02:00
script_townlist.cpp (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_townlist.hpp (svn r23614) -Add: more API functions exposed to NoGo (part 1) 2011-12-19 20:57:23 +00:00
script_tunnel.cpp (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_tunnel.hpp (svn r26149) -Fix [FS#5825]: [Script] Various API functions did not check whether ScrtipRoad::SetCurrentRoadType was called appropiately. 2013-12-08 15:44:09 +00:00
script_types.hpp (svn r27757) -Change: Make StringID 32bit. 2017-02-26 19:41:14 +00:00
script_vehicle.cpp Merge branch 'master' into jgrpp 2019-04-01 03:06:18 +01:00
script_vehicle.hpp Add: script API functions for build with refit feature 2019-03-24 15:28:48 +00:00
script_vehiclelist.cpp (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_vehiclelist.hpp (svn r23615) -Add: more API functions exposed to NoGo (part 2) 2011-12-19 20:57:34 +00:00
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 (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_waypoint.hpp (svn r23770) -Fix: compilation with GCC 4.7 2012-01-07 18:37:22 +00:00
script_waypointlist.cpp (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_waypointlist.hpp (svn r23615) -Add: more API functions exposed to NoGo (part 2) 2011-12-19 20:57:34 +00:00
script_window.cpp (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
script_window.hpp Merge branch 'master' into jgrpp 2019-03-04 01:18:25 +00:00
squirrel_export.awk Fix: keep line endings when running squirrel_export.sh on windows 2019-01-14 00:34:52 +00:00
squirrel_export.sh Fix: line ending issues with MSYS2 2019-02-10 12:44:10 +01:00
squirrel_export.vbs Add: squirrel_export.vbs for users unable to run bash/gawk scripts 2019-01-14 00:34:52 +00:00