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 e73cd7e81d (svn r26398) -Codechange/fix (26396): A tab that should be a space 10 years ago
..
ai (svn r26396) -Add: [script] AI/GS APIs to get cargo waiting from/via other station 10 years ago
game (svn r26396) -Add: [script] AI/GS APIs to get cargo waiting from/via other station 10 years ago
template (svn r26396) -Add: [script] AI/GS APIs to get cargo waiting from/via other station 10 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 r26396) -Add: [script] AI/GS APIs to get cargo waiting from/via other station 10 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 r26396) -Add: [script] AI/GS APIs to get cargo waiting from/via other station 10 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 r26307) -Add: [nogo] Allow GS to hide story page date 11 years ago
script_basestation.hpp (svn r26307) -Add: [nogo] Allow GS to hide story page date 11 years ago
script_bridge.cpp (svn r26149) -Fix [FS#5825]: [Script] Various API functions did not check whether ScrtipRoad::SetCurrentRoadType was called appropiately. 11 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
script_bridgelist.hpp (svn r23615) -Add: more API functions exposed to NoGo (part 2) 13 years ago
script_cargo.cpp (svn r26396) -Add: [script] AI/GS APIs to get cargo waiting from/via other station 10 years ago
script_cargo.hpp (svn r26396) -Add: [script] AI/GS APIs to get cargo waiting from/via other station 10 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 r26150) -Revert (r26120): EnforcePrecondition alters the last-error status and is only meant for commands. 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 r26307) -Add: [nogo] Allow GS to hide story page date 11 years ago
script_date.hpp (svn r26307) -Add: [nogo] Allow GS to hide story page date 11 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 r26307) -Add: [nogo] Allow GS to hide story page date 11 years ago
script_engine.hpp (svn r26307) -Add: [nogo] Allow GS to hide story page date 11 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 r26012) -Add: new goal type that show a story page when clicked 11 years ago
script_goal.hpp (svn r26012) -Add: new goal type that show a story page when clicked 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
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 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
script_industrytypelist.hpp (svn r23614) -Add: more API functions exposed to NoGo (part 1) 13 years ago
script_info_docs.hpp (svn r26038) -Fix: Doxygen syntax. 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 r26072) -Cleanup: mark some unreachable default cases by NOT_REACHED() 11 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 r26093) -Fix (r26092): compilation error 11 years ago
script_object.hpp (svn r25342) -Add: StoryPage data structures and GS API 11 years ago
script_order.cpp (svn r26148) -Fix [FS#5824] (r25735): Script API failed for vehicles with only implicit orders. 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 r26279) -Fix [FS#5853]: [NoAI] Some RemoveRail methods required to set a valid railtype, though it was not used anyway. Remove the need to set one. 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 r26149) -Fix [FS#5825]: [Script] Various API functions did not check whether ScrtipRoad::SetCurrentRoadType was called appropiately. 11 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 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 r26398) -Codechange/fix (26396): A tab that should be a space 10 years ago
script_station.hpp (svn r26396) -Add: [script] AI/GS APIs to get cargo waiting from/via other station 10 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 r26307) -Add: [nogo] Allow GS to hide story page date 11 years ago
script_story_page.hpp (svn r26307) -Add: [nogo] Allow GS to hide story page date 11 years ago
script_storypageelementlist.cpp (svn r26305) -Add: [nogo] ScriptStoryPageElementList() - a list of all story page elements for a given page 11 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 r26304) -Fix (26303): Forgot to add new files 11 years ago
script_storypagelist.hpp (svn r26304) -Fix (26303): Forgot to add new files 11 years ago
script_subsidy.cpp (svn r26307) -Add: [nogo] Allow GS to hide story page date 11 years ago
script_subsidy.hpp (svn r26307) -Add: [nogo] Allow GS to hide story page date 11 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 r26270) -Fix-ish: If ScriptTown::FoundTown fails to generate a new random town name, don't bother sending a command, but fail immediately. 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 r26149) -Fix [FS#5825]: [Script] Various API functions did not check whether ScrtipRoad::SetCurrentRoadType was called appropiately. 11 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 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 r26320) -Add: Label for both the filter category and filter type in the advanced settings window. 10 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