summaryrefslogtreecommitdiff
path: root/src/script/api
AgeCommit message (Collapse)Author
2014-01-26(svn r26279) -Fix [FS#5853]: [NoAI] Some RemoveRail methods required to set ↵frosch
a valid railtype, though it was not used anyway. Remove the need to set one.
2014-01-20(svn r26270) -Fix-ish: If ScriptTown::FoundTown fails to generate a new ↵frosch
random town name, don't bother sending a command, but fail immediately.
2013-12-17(svn r26164) -Doc: Fix Game Script API docs on that deity can build/prospect ↵zuu
independent of advanced setting for that
2013-12-09(svn r26153) -Doc [FS#5826]: Fix copy-pasty. (krinn)frosch
2013-12-08(svn r26150) -Revert (r26120): EnforcePrecondition alters the last-error ↵frosch
status and is only meant for commands.
2013-12-08(svn r26149) -Fix [FS#5825]: [Script] Various API functions did not check ↵frosch
whether ScrtipRoad::SetCurrentRoadType was called appropiately.
2013-12-08(svn r26148) -Fix [FS#5824] (r25735): Script API failed for vehicles with ↵frosch
only implicit orders.
2013-11-29(svn r26138) -Fix [FS#5821] (r26105-ish): [Script] scripts could trigger the ↵rubidium
internal IsValidRoadType assertion
2013-11-29(svn r26137) -Merge: documentation updates from 1.3 branchrubidium
2013-11-26(svn r26120) -Fix: [Script] Replace simple check with precondition check, ↵rubidium
after that simple check was documented as a precondition
2013-11-26(svn r26119) -Fix: ResolveCompanyID on an already resolved CompanyIDrubidium
2013-11-24(svn r26093) -Fix (r26092): compilation errorrubidium
2013-11-24(svn r26092) -Fix [FS#5818]: prevent scripts from crashing OpenTTD when they ↵rubidium
send text with command codes to user editable texts such as sign and station names
2013-11-23(svn r26072) -Cleanup: mark some unreachable default cases by NOT_REACHED()rubidium
2013-11-18(svn r26038) -Fix: Doxygen syntax.frosch
2013-11-16(svn r26012) -Add: new goal type that show a story page when clickedzuu
2013-11-16(svn r26010) -Document [FS#5662]: The AI/GS library name to use in Import, ↵zuu
is not the name given by GetName but GetInstanceName
2013-11-14(svn r25995) -Fix (r25785) [FS#5801]: [NoGo] GS failed to rename towns. (Zydeco)frosch
2013-11-12(svn r25969) -Add: [Script] ScriptTown::GetFundBuildingsDuration.frosch
2013-11-12(svn r25968) -Add: [Script] ScriptTown::TOWN_GROWTH_NONE to indicate no town ↵frosch
growth via ScriptTown::SetGrowthRate and GetGrowthRate.
2013-11-12(svn r25967) -Add: [NoGo] GSTown::TOWN_GROWTH_NORMAL to reset a town growth ↵frosch
rate set previously via GSTown::SetGrowthRate.
2013-11-12(svn r25966) -Fix: [NoGo] Properly validate the range of the growth rate ↵frosch
passed to GSTown::SetGrowthRate, instead of masking it to 16 bit.
2013-11-09(svn r25959) -Fix: clang warnings; either because type safety was assumed, ↵rubidium
or because technically the wrong value was tested
2013-11-07(svn r25946) -Add: [NewGRF Debuggnig] Inspecting other vehicles in a chain.frosch
2013-10-28(svn r25924) -Fix: [Script] Documentation for ScriptTown::GetGrowthRate.frosch
2013-10-28(svn r25923) -Fix: [NoGo] Documentation for GSTown::SetGrowthRatefrosch
2013-10-06(svn r25816) -Add [FS#5748]: Toggle button for wrapping lines in the ↵frosch
textfile GUI (LordAro)
2013-10-06(svn r25815) -Fix [FS#5754]: ScriptTile::IsBuildableRectangle could report ↵frosch
true for tiles outside of the map, if they happened to wrap around into a valid area. (Bolt)
2013-10-03(svn r25809) -Fix: [Script] Decoding JSON data with an empty array from ↵zuu
Admin port failed
2013-10-02(svn r25808) -Fix (r25788): [Script] INVALID_EXPENSES should be called ↵zuu
EXPENSES_INVALID in the script API
2013-09-21(svn r25791) -Fix (r25788): Silence comiler warning in ↵zuu
ScriptCompany::ChangeBankBalance
2013-09-21(svn r25788) -Feature: [Script] Game Scripts can now charge fees and give ↵zuu
money to companies
2013-09-19(svn r25785) -Feature: [Script] Allow AIs and GS to found towns. Allow GS to ↵zuu
rename towns
2013-08-10(svn r25709) -Fix: don't return -1 as unsignedfonsinchen
2013-08-09(svn r25705) -Fix: a number of typos (inspired by ↵rubidium
90c920601c84975acb694f3673e2beb08b013753)
2013-07-21(svn r25623) -Fix [FS#5611] (r25296): Progress column width in goal window ↵zuu
was not updated when a string changed while the window is open
2013-07-15(svn r25614) -Fix [FS#5651]: [Script] Give a slightly less generic error ↵rubidium
when removing inexisting rail -Fix [FS#5650]: [Script] Be more specific that a non-NewGRF station can be built when asking for a NewGRF station
2013-07-14(svn r25612) -Fix [FS#5648]: [AI] Don't return ERR_UNKNOWN when trying to ↵rubidium
move an order to its current location
2013-07-14(svn r25607) -Fix [FS#5649]: Various misreferences in AI and GS changelog.frosch
2013-07-13(svn r25605) -Fix [FS#5641]: [Script] If a NewGRF returned station type that ↵rubidium
could not be built by an AI via callback 18, an unknown error would be thrown instead of falling back to the default station
2013-07-13(svn r25595) -Fix-ish: move the Doxygen .tag files into objs, so they are ↵rubidium
automatically ignored and removed upon mrproper/distclean. Furthermore remove the gamedocs folder too
2013-07-13(svn r25594) -Fix-ish: some Doxygen warnings/errors for scriptsrubidium
2013-07-10(svn r25579) -Fix [FS#5642] (r25577): doxygen generation failed + typo fixrubidium
2013-07-08(svn r25577) -Fix-ish [FS#5638] (r20562): [Script] Documentation implied ↵rubidium
that XXList::AddItem has a default for value if it isn't filled in.
2013-07-04(svn r25555) -Fix [FS#5632]: [Script] Texts from scripts were not validated ↵rubidium
before they were shown, causing an assertion to trigger
2013-06-30(svn r25544) -Fix [FS#5625] (r25488, r25486): [GS] The checks and ↵rubidium
validations for setting the extra text in the town window became too stringent
2013-06-29(svn r25519) -Fix [FS#5614] (r25342): Select page to update by its id and ↵zuu
not the page id
2013-06-27(svn r25489) -Fix (r25488): we want to have the begin, not the end of the ↵rubidium
decoded text as string to pass along
2013-06-27(svn r25488) -Fix [FS#5613]: do not send encoded texts to names, but decode ↵rubidium
them into a plain C string and then pass them on
2013-06-27(svn r25486) -Fix [FS#5613-ish]: missing length validation for town and ↵rubidium
president names in script APIs