summaryrefslogtreecommitdiff
path: root/src/script
AgeCommit message (Collapse)Author
2014-09-24(svn r26915) -Fix: API docsfrosch
2014-09-21(svn r26894) -Feature: Swap method for script listsfonsinchen
2014-09-21(svn r26893) -Feature: ScriptStationList_Cargo for sorting cargo by from and viafonsinchen
2014-09-21(svn r26892) -Feature: Script API for retrieving planned flowfonsinchen
2014-09-21(svn r26885) -Feature-ish: user interface for limiting the maximum height of ↵rubidium
a map
2014-09-11(svn r26811) -Fix[FS#6108]: Fixed spelling error in widget name.alberth
2014-09-07(svn r26805) -Feature: Allow hiding of non-interesting engines in the ↵alberth
autoreplace GUI.
2014-09-07(svn r26804) -Feature: Allow hiding of non-interesting engines in the build ↵alberth
vehicle GUI.
2014-09-07(svn r26800) -Feature[FS#1640]: Vehicle sorting in autoreplace GUI.alberth
2014-09-07(svn r26797) -Codechange: rewrite the UTF8 reading code to make use of ↵rubidium
already existing functions instead of partially trying to implemented them
2014-09-07(svn r26796) -Fix: reading of high byte of "ASCII" files yielded a negative ↵rubidium
int8, then casted to an uint32 which caused the Squirrel lexer to bail out. Regardless... the file isn't actually ASCII, but that's beyond the point for now
2014-09-07(svn r26785) -Fix [Squirrel]: loading a value saved as boolean caused it to ↵rubidium
be of type integer instead of boolean
2014-09-07(svn r26784) -Codechange [Squirrel]: use WChar for the lexerrubidium
2014-09-06(svn r26782) -Fix (r26781): was in the wrong folder when commitingrubidium
2014-09-06(svn r26776) -Codechange: use safe string functions in script/squirrel*.cpprubidium
2014-09-06(svn r26775) -Cleanup [Squirrel]: "resolve" several of the unicode wrapper ↵rubidium
defines
2014-09-06(svn r26774) -Cleanup [Squirrel]: remove _SC macrorubidium
2014-09-06(svn r26771) -Cleanup: remove OTTD2SQ and SQ2OTTDrubidium
2014-09-06(svn r26769) -Codechange [Squirrel]: remove the difference between some ↵rubidium
platforms having wchar for SQChar and others just char; always use char (and UTF-8) like in the rest of (internal) OpenTTD
2014-08-17(svn r26748) -Merge: documentation updates from 1.4 branchfrosch
2014-08-16(svn r26744) -Fix [FS6085-ish]: ScriptListSorterItemDescending::FindNext ↵frosch
failed to detect the end.
2014-08-16(svn r26743) -Codechange: Simplify ScriptList iterators.frosch
2014-08-16(svn r26742) -Doc: Why reverse_iterator is unsuitable for ScriptList iteratorsfrosch
2014-08-16(svn r26741) -Revert (r26736): reverse_iterators are invalidated when the ↵frosch
element next to them is erased (not the element they are pointing to), which makes them unsuitable for ScriptList.
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