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 bf8d7df736 Change: Extend rail types to 64 (6 bit storage) 6 years ago
..
ai Feature #6459: API for querying network clients from GS (#6736) 6 years ago
game Fix 2a868b9f3b8e3b5f8b9e5f728f628ec88fd5e3ad: Expose widgets and windows to scripts and fix documentation. 6 years ago
template Fix 2a868b9f3b8e3b5f8b9e5f728f628ec88fd5e3ad: Expose widgets and windows to scripts and fix documentation. 6 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 (svn r27993) -Change: Heading for 1.9 now 6 years ago
doxygen_filter.awk
doxygen_filter.sh
game_changelog.hpp Feature: Add GS method to question a single client (#6748) 6 years ago
generate_widget.awk
generate_widget.sh
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 (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_airport.hpp (svn r25705) -Fix: a number of typos (inspired by 90c920601c84975acb694f3673e2beb08b013753) 11 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 10 years ago
script_bridge.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_bridge.hpp (svn r26149) -Fix [FS#5825]: [Script] Various API functions did not check whether ScrtipRoad::SetCurrentRoadType was called appropiately. 11 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 (svn r27026) -Fix: some (older-ish) GCC compiler warnings 10 years ago
script_company.hpp Fix: Spelling errors (#6769) 6 years ago
script_companymode.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_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 10 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 11 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 (svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL) 10 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 (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_group.hpp
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 11 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 (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_order.hpp (svn r25612) -Fix [FS#5648]: [AI] Don't return ERR_UNKNOWN when trying to move an order to its current location 11 years ago
script_rail.cpp Change: Extend rail types to 64 (6 bit storage) 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 (svn r27123) -Fix [FS#5371] [FS#6214]: API docs (krinn) 10 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 10 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 10 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 10 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 10 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 Change: Switch town growth rate and counter to actual game ticks (#6763) 6 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 Fix 2a868b9f3b8e3b5f8b9e5f728f628ec88fd5e3ad: Expose widgets and windows to scripts and fix documentation. 6 years ago
squirrel_export.awk (svn r27545) -Fix: Remove special handling of classes with virtual methods from squirrel_export.awk. It seems to serve no purpose, except to break on 3 classes. 8 years ago
squirrel_export.sh