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
Peter Nelson 5a5944867d Add: Add parent_group_id parameter to CreateGroup() 5 years ago
..
ai Add: Add parent_group_id parameter to CreateGroup() 5 years ago
game Add: AI functions to get/set company colours. 5 years ago
template Add: AI functions to get/set company colours. 5 years ago
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 11 years ago
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 11 years ago
ai_changelog.hpp Add: Add parent_group_id parameter to CreateGroup() 5 years ago
doxygen_filter.awk
doxygen_filter.sh
game_changelog.hpp Change: Give AI/GSBridge::GetName an extra parameter to refer the vehicle type (#6988) 5 years ago
generate_widget.awk Fix: keep the line ending when generating widget enums with bash/gawk on windows 5 years ago
generate_widget.sh Fix: line ending issues with MSYS2 5 years ago
generate_widget.vbs Add: generate_widget.vbs to allow script_window.hpp enums generation for users unable to run bash/gawk scripts 5 years ago
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 10 years ago
script_accounting.hpp
script_admin.cpp (svn r26774) -Cleanup [Squirrel]: remove _SC macro 10 years ago
script_admin.hpp (svn r25594) -Fix-ish: some Doxygen warnings/errors for scripts 11 years ago
script_airport.cpp Add: AI/GS GetMonthlyMaintenanceCost (#6897) 6 years ago
script_airport.hpp Add: AI/GS GetMonthlyMaintenanceCost (#6897) 6 years ago
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 10 years ago
script_base.hpp (svn r25148) -Fix [FS#5517]: [Script] XXBase::Chance function did not work for large values (>65535) 11 years ago
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 10 years ago
script_basestation.hpp (svn r26307) -Add: [nogo] Allow GS to hide story page date 11 years ago
script_bridge.cpp Change: Give AI/GSBridge::GetName an extra parameter to refer the vehicle type (#6988) 5 years ago
script_bridge.hpp Change: Give AI/GSBridge::GetName an extra parameter to refer the vehicle type (#6988) 5 years ago
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 10 years ago
script_bridgelist.hpp
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 10 years ago
script_cargo.hpp (svn r27316) -Doc: Improve documentation on ScriptCargo::GetCargoLabel 9 years ago
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) 10 years ago
script_cargolist.hpp
script_cargomonitor.cpp (svn r26685) -Fix: Tighten parameter bound checks on GSCargoMonitor functions, and return -1 on out-of-bound parameters. 10 years ago
script_cargomonitor.hpp (svn r26685) -Fix: Tighten parameter bound checks on GSCargoMonitor functions, and return -1 on out-of-bound parameters. 10 years ago
script_client.cpp Feature #6459: API for querying network clients from GS (#6736) 6 years ago
script_client.hpp Feature #6459: API for querying network clients from GS (#6736) 6 years ago
script_clientlist.cpp Feature #6459: API for querying network clients from GS (#6736) 6 years ago
script_clientlist.hpp Feature #6459: API for querying network clients from GS (#6736) 6 years ago
script_company.cpp Add: AI functions to get/set company colours. 5 years ago
script_company.hpp Add: AI functions to get/set company colours. 5 years ago
script_companymode.cpp Fix #6966: Only allow switching to a valid company. 6 years ago
script_companymode.hpp
script_controller.cpp (svn r26774) -Cleanup [Squirrel]: remove _SC macro 10 years ago
script_controller.hpp (svn r27111) -Doc: Extend script documentation with Save and Load functions. 10 years ago
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 10 years ago
script_date.hpp (svn r26307) -Add: [nogo] Allow GS to hide story page date 11 years ago
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 10 years ago
script_depotlist.hpp
script_engine.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 10 years ago
script_engine.hpp (svn r27123) -Fix [FS#5371] [FS#6214]: API docs (krinn) 10 years ago
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 10 years ago
script_enginelist.hpp
script_error.cpp (svn r27893) -Codechange: Use fallthrough attribute. (LordAro) 7 years ago
script_error.hpp (svn r24982) -Fix [FS#5465]: [Script] Crash when passing too many parameters 12 years ago
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 10 years ago
script_event.hpp
script_event_types.cpp (svn r27020) -Cleanup: some coding style consistency improvements (mostly spaces) 10 years ago
script_event_types.hpp Fix: Spelling in code comment (#6984) 6 years ago
script_execmode.cpp (svn r27379) -Codechange: Do not throw in the destructors of ScriptTest/ExecMode. 9 years ago
script_execmode.hpp (svn r27543) -Fix (r27379): ScriptExec/TestMode::FinalRelease is not part of the API. 8 years ago
script_game.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 10 years ago
script_game.hpp (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
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 10 years ago
script_gamesettings.hpp (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
script_goal.cpp Feature: Add GS method to question a single client (#6748) 6 years ago
script_goal.hpp Feature: Add GS method to question a single client (#6748) 6 years ago
script_group.cpp Add: Add parent_group_id parameter to CreateGroup() 5 years ago
script_group.hpp Add: Add parent_group_id parameter to CreateGroup() 5 years ago
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 10 years ago
script_grouplist.hpp
script_industry.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 10 years ago
script_industry.hpp
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 10 years ago
script_industrylist.hpp
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 10 years ago
script_industrytype.hpp (svn r26164) -Doc: Fix Game Script API docs on that deity can build/prospect independent of advanced setting for that 11 years ago
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 10 years ago
script_industrytypelist.hpp
script_info_docs.hpp (svn r26038) -Fix: Doxygen syntax. 11 years ago
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 10 years ago
script_infrastructure.hpp
script_list.cpp (svn r27594) -Fix [FS#6473]: [Script] Kill scripts, when a non-suspendable valuator call takes way too long. 8 years ago
script_list.hpp (svn r27104) -Fix [FS#6194]: support 64 bits integere in the ScriptLists as well 10 years ago
script_log.cpp (svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL) 10 years ago
script_log.hpp (svn r24957) -Document [FS#5349]: newlines and other special characters are removed/converted 12 years ago
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 10 years ago
script_map.hpp
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 10 years ago
script_marine.hpp
script_news.cpp (svn r27164) -Add: [NoGo] Game scripts can point to a location, station, industry, or town when publishing news. 9 years ago
script_news.hpp (svn r27164) -Add: [NoGo] Game scripts can point to a location, station, industry, or town when publishing news. 9 years ago
script_object.cpp (svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL) 10 years ago
script_object.hpp (svn r25342) -Add: StoryPage data structures and GS API 11 years ago
script_order.cpp Add: Conditional order for max. reliability (patch by Cirdan, #6360) (#7017) 6 years ago
script_order.hpp Doc: [AI] UnshareOrders empties the orders list of the vehicle. 5 years ago
script_rail.cpp Fix bf8d7df: Script/AI construction of rail track and waypoints (#6881) 6 years ago
script_rail.hpp (svn r25614) -Fix [FS#5651]: [Script] Give a slightly less generic error when removing inexisting rail 11 years ago
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 10 years ago
script_railtypelist.hpp
script_road.cpp (svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing conversions in initializer lists. 9 years ago
script_road.hpp (svn r26149) -Fix [FS#5825]: [Script] Various API functions did not check whether ScrtipRoad::SetCurrentRoadType was called appropiately. 11 years ago
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 10 years ago
script_sign.hpp
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 10 years ago
script_signlist.hpp
script_station.cpp (svn r27020) -Cleanup: some coding style consistency improvements (mostly spaces) 10 years ago
script_station.hpp Remove: Unused string "STR_ERROR_TOO_CLOSE_TO_ANOTHER_STATION" 6 years ago
script_stationlist.cpp Fix b4b98e5165: Use FALLTHROUGH attribute with correct indentation. 6 years ago
script_stationlist.hpp (svn r27003) -Cleanup: fix the use of spaces and asterices "around" some comments 10 years ago
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 10 years ago
script_story_page.hpp (svn r26307) -Add: [nogo] Allow GS to hide story page date 11 years ago
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 10 years ago
script_storypageelementlist.hpp (svn r26305) -Add: [nogo] ScriptStoryPageElementList() - a list of all story page elements for a given page 11 years ago
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 10 years ago
script_storypagelist.hpp (svn r26304) -Fix (26303): Forgot to add new files 11 years ago
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 10 years ago
script_subsidy.hpp (svn r26307) -Add: [nogo] Allow GS to hide story page date 11 years ago
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 10 years ago
script_subsidylist.hpp
script_testmode.cpp (svn r27379) -Codechange: Do not throw in the destructors of ScriptTest/ExecMode. 9 years ago
script_testmode.hpp (svn r27543) -Fix (r27379): ScriptExec/TestMode::FinalRelease is not part of the API. 8 years ago
script_text.cpp (svn r27102) -Fix [FS#6194]: money values would end up wrong in strings when outside of the bounds of a 32 bits integer 10 years ago
script_text.hpp (svn r27544) -Fix-ish: Mark ScriptText::GetEncodedText as not part of any API, instead of relying on the export script to break on '/*'. 8 years ago
script_tile.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 10 years ago
script_tile.hpp (svn r25213) -Fix [FS#5537]: clarify on which tiles IsDesertTile and IsSnowTile work, i.e. the ones without infrastructure or buildings 11 years ago
script_tilelist.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 10 years ago
script_tilelist.hpp (svn r27287) -Doc: Clarify radius and semantics of the industry producing/accepting tile functions. 9 years ago
script_town.cpp Fix #7112, fef8b831a9: incorrect precondition check (#7127) 5 years ago
script_town.hpp Change: Switch town growth rate and counter to actual game ticks (#6763) 6 years ago
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 10 years ago
script_townlist.hpp
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 10 years ago
script_tunnel.hpp (svn r26149) -Fix [FS#5825]: [Script] Various API functions did not check whether ScrtipRoad::SetCurrentRoadType was called appropiately. 11 years ago
script_types.hpp (svn r27757) -Change: Make StringID 32bit. 7 years ago
script_vehicle.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 10 years ago
script_vehicle.hpp (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
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 10 years ago
script_vehiclelist.hpp
script_viewport.cpp Feature: GS methods to scroll viewport for players (#6745) 6 years ago
script_viewport.hpp Feature: GS methods to scroll viewport for players (#6745) 6 years ago
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 10 years ago
script_waypoint.hpp
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 10 years ago
script_waypointlist.hpp
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 10 years ago
script_window.hpp Change: Framerate window can now scroll and resize 5 years ago
squirrel_export.awk Fix: keep line endings when running squirrel_export.sh on windows 6 years ago
squirrel_export.sh Fix: line ending issues with MSYS2 5 years ago
squirrel_export.vbs Add: squirrel_export.vbs for users unable to run bash/gawk scripts 6 years ago