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
zuu 41b07b571d (svn r26010) -Document [FS#5662]: The AI/GS library name to use in Import, is not the name given by GetName but GetInstanceName 11 years ago
..
ai (svn r25969) -Add: [Script] ScriptTown::GetFundBuildingsDuration. 11 years ago
game (svn r25969) -Add: [Script] ScriptTown::GetFundBuildingsDuration. 11 years ago
template (svn r25967) -Add: [NoGo] GSTown::TOWN_GROWTH_NORMAL to reset a town growth rate set previously via GSTown::SetGrowthRate. 11 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 r25969) -Add: [Script] ScriptTown::GetFundBuildingsDuration. 11 years ago
doxygen_filter.awk (svn r23650) -Fix: wrong functions were filtered for AI/GameScript doxygen documentation 13 years ago
doxygen_filter.sh (svn r23610) -Add: Doxygen files for NoGo API (Yexo) 13 years ago
game_changelog.hpp (svn r25969) -Add: [Script] ScriptTown::GetFundBuildingsDuration. 11 years ago
generate_widget.awk (svn r24664) -Codechange: Add script to generate enums in script_window.hpp 12 years ago
generate_widget.sh (svn r24664) -Codechange: Add script to generate enums in script_window.hpp 12 years ago
script_accounting.cpp
script_accounting.hpp (svn r24008) -Cleanup/doc: try not to mention (No)AI in script APIs 12 years ago
script_admin.cpp (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
script_admin.hpp (svn r25594) -Fix-ish: some Doxygen warnings/errors for scripts 11 years ago
script_airport.cpp (svn r23633) -Add: allow most build commands from GameScript given a CompanyMode is active in that scope 13 years ago
script_airport.hpp (svn r25705) -Fix: a number of typos (inspired by 90c920601c84975acb694f3673e2beb08b013753) 11 years ago
script_base.cpp (svn r25148) -Fix [FS#5517]: [Script] XXBase::Chance function did not work for large values (>65535) 11 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 r25488) -Fix [FS#5613]: do not send encoded texts to names, but decode them into a plain C string and then pass them on 11 years ago
script_basestation.hpp (svn r23735) -Codechange: remove ~50 includes from headers that weren't needed 13 years ago
script_bridge.cpp (svn r24008) -Cleanup/doc: try not to mention (No)AI in script APIs 12 years ago
script_bridge.hpp (svn r23633) -Add: allow most build commands from GameScript given a CompanyMode is active in that scope 13 years ago
script_bridgelist.cpp
script_bridgelist.hpp (svn r23615) -Add: more API functions exposed to NoGo (part 2) 13 years ago
script_cargo.cpp (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
script_cargo.hpp (svn r23735) -Codechange: remove ~50 includes from headers that weren't needed 13 years ago
script_cargolist.cpp
script_cargolist.hpp (svn r23615) -Add: more API functions exposed to NoGo (part 2) 13 years ago
script_cargomonitor.cpp (svn r24406) -Feature: Allow game scripts to monitor cargo pickups and deliveries done by companies. 12 years ago
script_cargomonitor.hpp (svn r24986) -Change: Cleanup goals and cargo monitors of companies when they go bankrupt or are taken over. 12 years ago
script_company.cpp (svn r25791) -Fix (r25788): Silence comiler warning in ScriptCompany::ChangeBankBalance 11 years ago
script_company.hpp (svn r25808) -Fix (r25788): [Script] INVALID_EXPENSES should be called EXPENSES_INVALID in the script API 11 years ago
script_companymode.cpp (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
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) 13 years ago
script_controller.cpp (svn r24575) -Add: ScriptController::Break() now also pauses the game (and not only the script) 12 years ago
script_controller.hpp (svn r26010) -Document [FS#5662]: The AI/GS library name to use in Import, is not the name given by GetName but GetInstanceName 11 years ago
script_date.cpp (svn r23619) -Add: ScriptDate::GetSystemTime, to get the seconds since 1 Jan 1970 of the real system (GameScript only) 13 years ago
script_date.hpp (svn r23619) -Add: ScriptDate::GetSystemTime, to get the seconds since 1 Jan 1970 of the real system (GameScript only) 13 years ago
script_depotlist.cpp (svn r23632) -Add: GSCompanyMode, to change company in GameScripts 13 years ago
script_depotlist.hpp (svn r23615) -Add: more API functions exposed to NoGo (part 2) 13 years ago
script_engine.cpp (svn r24492) -Add: [NoGo] Useful behaviour for GSEngine::IsValidEngine and GSEngine::IsBuildable when outside GSCompanyMode scope. 12 years ago
script_engine.hpp (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
script_enginelist.cpp (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
script_enginelist.hpp (svn r23615) -Add: more API functions exposed to NoGo (part 2) 13 years ago
script_error.cpp
script_error.hpp (svn r24982) -Fix [FS#5465]: [Script] Crash when passing too many parameters 12 years ago
script_event.cpp (svn r24008) -Cleanup/doc: try not to mention (No)AI in script APIs 12 years ago
script_event.hpp (svn r24291) -Add: [Script] ScriptEventRoadReconstruction. 12 years ago
script_event_types.cpp (svn r25809) -Fix: [Script] Decoding JSON data with an empty array from Admin port failed 11 years ago
script_event_types.hpp (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
script_execmode.cpp (svn r24008) -Cleanup/doc: try not to mention (No)AI in script APIs 12 years ago
script_execmode.hpp (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
script_game.cpp (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 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 r23735) -Codechange: remove ~50 includes from headers that weren't needed 13 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 (svn r25959) -Fix: clang warnings; either because type safety was assumed, or because technically the wrong value was tested 11 years ago
script_goal.hpp (svn r25594) -Fix-ish: some Doxygen warnings/errors for scripts 11 years ago
script_group.cpp (svn r25488) -Fix [FS#5613]: do not send encoded texts to names, but decode them into a plain C string and then pass them on 11 years ago
script_group.hpp (svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb) 12 years ago
script_grouplist.cpp (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
script_grouplist.hpp (svn r23370) -Add: support @api tag in API header files, to select which API should receive the defined classes and functions 13 years ago
script_industry.cpp (svn r23777) -Codechange: refactor allocating memory and fetching strings into a single function for scripts 13 years ago
script_industry.hpp (svn r23614) -Add: more API functions exposed to NoGo (part 1) 13 years ago
script_industrylist.cpp
script_industrylist.hpp (svn r23614) -Add: more API functions exposed to NoGo (part 1) 13 years ago
script_industrytype.cpp (svn r24623) -Feature: Allow GameScripts to construct and prospect industries without having a sponsor 12 years ago
script_industrytype.hpp (svn r24623) -Feature: Allow GameScripts to construct and prospect industries without having a sponsor 12 years ago
script_industrytypelist.cpp
script_industrytypelist.hpp (svn r23614) -Add: more API functions exposed to NoGo (part 1) 13 years ago
script_info_docs.hpp (svn r26010) -Document [FS#5662]: The AI/GS library name to use in Import, is not the name given by GetName but GetInstanceName 11 years ago
script_infrastructure.cpp (svn r23931) -Change: Scale infrastructure cost of rail tracks by the total number of all tracks and not independently for each rail type. 13 years ago
script_infrastructure.hpp (svn r23735) -Codechange: remove ~50 includes from headers that weren't needed 13 years ago
script_list.cpp (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
script_list.hpp (svn r25579) -Fix [FS#5642] (r25577): doxygen generation failed + typo fix 11 years ago
script_log.cpp (svn r23632) -Add: GSCompanyMode, to change company in GameScripts 13 years ago
script_log.hpp (svn r24957) -Document [FS#5349]: newlines and other special characters are removed/converted 12 years ago
script_map.cpp
script_map.hpp (svn r23614) -Add: more API functions exposed to NoGo (part 1) 13 years ago
script_marine.cpp (svn r23633) -Add: allow most build commands from GameScript given a CompanyMode is active in that scope 13 years ago
script_marine.hpp (svn r23633) -Add: allow most build commands from GameScript given a CompanyMode is active in that scope 13 years ago
script_news.cpp (svn r24982) -Fix [FS#5465]: [Script] Crash when passing too many parameters 12 years ago
script_news.hpp (svn r24286) -Add: [GS] Some more GSNews::NewsItem::NewsTypes. 12 years ago
script_object.cpp (svn r25488) -Fix [FS#5613]: do not send encoded texts to names, but decode them into a plain C string and then pass them on 11 years ago
script_object.hpp (svn r25342) -Add: StoryPage data structures and GS API 11 years ago
script_order.cpp (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_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 (svn r25605) -Fix [FS#5641]: [Script] If a NewGRF returned station type that could not be built by an AI via callback 18, an unknown error would be thrown instead of falling back to the default station 11 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 r23632) -Add: GSCompanyMode, to change company in GameScripts 13 years ago
script_railtypelist.hpp (svn r23615) -Add: more API functions exposed to NoGo (part 2) 13 years ago
script_road.cpp (svn r24628) -Fix: Document and enforce precondition start != end for ScriptRoad::RemoveRoad and ScriptRoad::RemoveRoadFull 12 years ago
script_road.hpp (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
script_sign.cpp (svn r25488) -Fix [FS#5613]: do not send encoded texts to names, but decode them into a plain C string and then pass them on 11 years ago
script_sign.hpp (svn r23636) -Add: introduce ScriptText in parameters where it can be used 13 years ago
script_signlist.cpp
script_signlist.hpp (svn r23614) -Add: more API functions exposed to NoGo (part 1) 13 years ago
script_station.cpp (svn r25185) -Fix [FS#5508]: Remove ambivalent functions CargoList::Empty() and Count(), and replace them with VehicleCargoList::StoredCount(), TotalCount(), StationCargoList::AvailableCount() and TotalCount(). (fonsinchen) 11 years ago
script_station.hpp (svn r25150) -Fix [FS#5514]: [Script] The was no way to differentiate between a cargo-station combination with or without rating, so introduce [AI|GS]Station::HasRating and let GetRating return -1 when there is no rating 11 years ago
script_stationlist.cpp (svn r23632) -Add: GSCompanyMode, to change company in GameScripts 13 years ago
script_stationlist.hpp (svn r23615) -Add: more API functions exposed to NoGo (part 2) 13 years ago
script_story_page.cpp (svn r25519) -Fix [FS#5614] (r25342): Select page to update by its id and not the page id 11 years ago
script_story_page.hpp (svn r25352) -Feature: GameScript API for selecting a story page to view 11 years ago
script_subsidy.cpp (svn r23628) -Add: ScriptSubsidy::Create, to create subsidies (GameScript only) 13 years ago
script_subsidy.hpp (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
script_subsidylist.cpp
script_subsidylist.hpp (svn r23615) -Add: more API functions exposed to NoGo (part 2) 13 years ago
script_testmode.cpp (svn r24008) -Cleanup/doc: try not to mention (No)AI in script APIs 12 years ago
script_testmode.hpp (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
script_text.cpp (svn r25555) -Fix [FS#5632]: [Script] Texts from scripts were not validated before they were shown, causing an assertion to trigger 11 years ago
script_text.hpp (svn r25488) -Fix [FS#5613]: do not send encoded texts to names, but decode them into a plain C string and then pass them on 11 years ago
script_tile.cpp (svn r25815) -Fix [FS#5754]: ScriptTile::IsBuildableRectangle could report true for tiles outside of the map, if they happened to wrap around into a valid area. (Bolt) 11 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
script_tilelist.hpp (svn r23615) -Add: more API functions exposed to NoGo (part 2) 13 years ago
script_town.cpp (svn r25995) -Fix (r25785) [FS#5801]: [NoGo] GS failed to rename towns. (Zydeco) 11 years ago
script_town.hpp (svn r25969) -Add: [Script] ScriptTown::GetFundBuildingsDuration. 11 years ago
script_townlist.cpp
script_townlist.hpp (svn r23614) -Add: more API functions exposed to NoGo (part 1) 13 years ago
script_tunnel.cpp (svn r24008) -Cleanup/doc: try not to mention (No)AI in script APIs 12 years ago
script_tunnel.hpp (svn r23633) -Add: allow most build commands from GameScript given a CompanyMode is active in that scope 13 years ago
script_types.hpp (svn r25342) -Add: StoryPage data structures and GS API 11 years ago
script_vehicle.cpp (svn r25488) -Fix [FS#5613]: do not send encoded texts to names, but decode them into a plain C string and then pass them on 11 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 r23941) -Add: support for clang 13 years ago
script_vehiclelist.hpp (svn r23615) -Add: more API functions exposed to NoGo (part 2) 13 years ago
script_viewport.cpp (svn r23625) -Add: ScriptViewport::ScrollTo, for SinglePlayer only (GameScript only) 13 years ago
script_viewport.hpp (svn r25594) -Fix-ish: some Doxygen warnings/errors for scripts 11 years ago
script_waypoint.cpp (svn r23632) -Add: GSCompanyMode, to change company in GameScripts 13 years ago
script_waypoint.hpp (svn r23770) -Fix: compilation with GCC 4.7 13 years ago
script_waypointlist.cpp (svn r23632) -Add: GSCompanyMode, to change company in GameScripts 13 years ago
script_waypointlist.hpp (svn r23615) -Add: more API functions exposed to NoGo (part 2) 13 years ago
script_window.cpp (svn r23631) -Add: ScriptWindow, to manipulate windows on the client (GameScript only) 13 years ago
script_window.hpp (svn r25946) -Add: [NewGRF Debuggnig] Inspecting other vehicles in a chain. 11 years ago
squirrel_export.awk (svn r24288) -Fix: squirrel_export should match stuff like 'virtual', 'static' and 'const' only as whole words. 12 years ago
squirrel_export.sh (svn r23652) -Fix: don't include/document ScriptText for AIs. It is not usable 13 years ago