summaryrefslogtreecommitdiff
path: root/src/script
AgeCommit message (Collapse)Author
2014-08-16(svn r26736) -Fix [Script]: infinite loop (by scripts; always returning the ↵rubidium
same item) when sorted by item in descending order by oddly constructed FindNext that uses forward iterators. Simply use the same code as the ascending item sort but use the reverse iterator instead of the forward. Also do this same trick for the descending value sort even though I couldn't trigger the problem there
2014-08-16(svn r26734) -Fix-ish: make clear the AI/GS List's Begin and Next return the ↵rubidium
item, not the value
2014-07-12(svn r26685) -Fix: Tighten parameter bound checks on GSCargoMonitor ↵alberth
functions, and return -1 on out-of-bound parameters.
2014-05-25(svn r26617) -Fix [FS#5973]: [Script] Loading/parsing of info .nuts was done ↵rubidium
in the same VM, causing e.g. constants to break the loading of info of other scripts
2014-05-24(svn r26613) -Feature: Upgrade currently active newgrfs to newest installed ↵alberth
version.
2014-05-24(svn r26610) -Feature: Select an editable preset name for saving.alberth
2014-05-11(svn r26585) -Fix/Feature [FS#5942]: don't truncate money to 32 bitsrubidium
2014-05-11(svn r26584) -Codechange: [Squirrel] Make the internal integer for scripts ↵rubidium
always 64 bits, so scripts behave the same on 32 or 64 bits architectures
2014-05-11(svn r26580) -Codechange: s/GES_PICKUP/GES_RATING/ (it has nothing to do ↵rubidium
with actual pickup), s/acceptance_pickup/status/ (the enum isn't called GoodEntryStatus for a reason; it's not only acceptance and pickup anymore)
2014-05-04(svn r26563) -Fix (r26558): Don't pass explicit template arguments to ↵fonsinchen
std::make_pair.
2014-05-04(svn r26558) -Fix: be more explicit about the type of iterators in the ↵fonsinchen
waiting cargo API
2014-05-04(svn r26557) -Fix: clean up, test (somewhat), and complete the API for ↵fonsinchen
waiting cargo
2014-04-27(svn r26529) -Merge: documentation updates from 1.4 branchfrosch
2014-04-27(svn r26526) -Remove: Ability to set map generation seed via GUI. If you ↵frosch
really need it, use the console.
2014-04-27(svn r26525) -Remove: Screenshot format setting from GUI.frosch
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
2014-04-24(svn r26506) -Codechange: replace most of vsnprintf with vseprintfrubidium
2014-04-24(svn r26505) -Fix (r23634, r26493): Incorrect usage of strecpy/strecatfrosch
2014-04-24(svn r26501) -Fix: Windows compilation errorrubidium
2014-04-24(svn r26494) -Codechange: replace some further usages of s(n)printf with ↵rubidium
seprintf
2014-04-24(svn r26493) -Codechange: use strecat to concatenate script settings instead ↵rubidium
of manually accounting for the amount of characters that has been written
2014-04-23(svn r26492) -Fix (r26491): obviously it's too laterubidium
2014-04-23(svn r26491) -Fix: compilation failure when networking is disabledrubidium
2014-04-23(svn r26489) -Codechange: properly account for the end of buffers in the ↵rubidium
file io code instead of assuming MAX_PATH is okay
2014-04-23(svn r26487) -Codechange: use lastof instead of lengthof/sizeof for script namesrubidium
2014-04-23(svn r26486) -Codechange: replace a number of snprintfs with seprintfrubidium
2014-04-23(svn r26485) -Codechange: Replace ttd_strlcpy and ttd_strlcat with strecpy ↵frosch
and strecat.
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-08(svn r26450) -Feature: Hierarchical vehicle subgroups.peter1138
2014-03-17(svn r26406) -Change: heading for 1.5 nowfrosch
2014-03-11(svn r26398) -Codechange/fix (26396): A tab that should be a spacezuu
2014-03-10(svn r26396) -Add: [script] AI/GS APIs to get cargo waiting from/via other ↵zuu
station
2014-02-09(svn r26320) -Add: Label for both the filter category and filter type in the ↵alberth
advanced settings window.
2014-02-06(svn r26307) -Add: [nogo] Allow GS to hide story page datezuu
2014-02-06(svn r26306) -Add: [nogo] More story APIs: RemovePageElement, GetCompany, ↵zuu
GetDate, SetDate
2014-02-06(svn r26305) -Add: [nogo] ScriptStoryPageElementList() - a list of all story ↵zuu
page elements for a given page
2014-02-06(svn r26304) -Fix (26303): Forgot to add new fileszuu
2014-02-06(svn r26303) -Add: [nogo] ScriptStoryPageList() - a list of all story pageszuu
2014-02-06(svn r26302) -Doc: [nogo] ScriptStory::Remove does remove both the page and ↵zuu
its elements
2014-02-06(svn r26298) -Fix: [nogo] Invalid DoCommand return callback for method ↵zuu
returning bool
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