Commit Graph

378 Commits (a0c53f7c4cbbdb87170d2e27866071f0a3bfe7b5)

Author SHA1 Message Date
frosch fc36231cdf (svn r26915) -Fix: API docs 10 years ago
fonsinchen df1971fbde (svn r26894) -Feature: Swap method for script lists 10 years ago
fonsinchen d206b436aa (svn r26893) -Feature: ScriptStationList_Cargo for sorting cargo by from and via 10 years ago
fonsinchen b6833fc6ef (svn r26892) -Feature: Script API for retrieving planned flow 10 years ago
rubidium fa193ece85 (svn r26885) -Feature-ish: user interface for limiting the maximum height of a map 10 years ago
alberth f24aa8807d (svn r26811) -Fix[FS#6108]: Fixed spelling error in widget name. 10 years ago
alberth aa2078a40e (svn r26805) -Feature: Allow hiding of non-interesting engines in the autoreplace GUI. 10 years ago
alberth cb3f69f746 (svn r26804) -Feature: Allow hiding of non-interesting engines in the build vehicle GUI. 10 years ago
alberth 5d38e0f24b (svn r26800) -Feature[FS#1640]: Vehicle sorting in autoreplace GUI. 10 years ago
rubidium 5f8b37047a (svn r26797) -Codechange: rewrite the UTF8 reading code to make use of already existing functions instead of partially trying to implemented them 10 years ago
rubidium 9cbdd45751 (svn r26796) -Fix: reading of high byte of "ASCII" files yielded a negative 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 10 years ago
rubidium be23e13e33 (svn r26785) -Fix [Squirrel]: loading a value saved as boolean caused it to be of type integer instead of boolean 10 years ago
rubidium 00e1e69187 (svn r26784) -Codechange [Squirrel]: use WChar for the lexer 10 years ago
rubidium 4506858a83 (svn r26782) -Fix (r26781): was in the wrong folder when commiting 10 years ago
rubidium a106bd1dd5 (svn r26776) -Codechange: use safe string functions in script/squirrel*.cpp 10 years ago
rubidium a7044da533 (svn r26775) -Cleanup [Squirrel]: "resolve" several of the unicode wrapper defines 10 years ago
rubidium 65cab46a84 (svn r26774) -Cleanup [Squirrel]: remove _SC macro 10 years ago
rubidium 95549e6da5 (svn r26771) -Cleanup: remove OTTD2SQ and SQ2OTTD 10 years ago
rubidium e874be7691 (svn r26769) -Codechange [Squirrel]: remove the difference between some platforms having wchar for SQChar and others just char; always use char (and UTF-8) like in the rest of (internal) OpenTTD 10 years ago
frosch f6c9743ad9 (svn r26748) -Merge: documentation updates from 1.4 branch 10 years ago
frosch 898ec49421 (svn r26744) -Fix [FS6085-ish]: ScriptListSorterItemDescending::FindNext failed to detect the end. 10 years ago
frosch 63047e51b1 (svn r26743) -Codechange: Simplify ScriptList iterators. 10 years ago
frosch 98c4648d20 (svn r26742) -Doc: Why reverse_iterator is unsuitable for ScriptList iterators 10 years ago
frosch 7d1e17bdb5 (svn r26741) -Revert (r26736): reverse_iterators are invalidated when the element next to them is erased (not the element they are pointing to), which makes them unsuitable for ScriptList. 10 years ago
rubidium 54ad0d342f (svn r26736) -Fix [Script]: infinite loop (by scripts; always returning the 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 10 years ago
rubidium a9367c0219 (svn r26734) -Fix-ish: make clear the AI/GS List's Begin and Next return the item, not the value 10 years ago
alberth ee7700ef78 (svn r26685) -Fix: Tighten parameter bound checks on GSCargoMonitor functions, and return -1 on out-of-bound parameters. 10 years ago
rubidium e8d4ab8994 (svn r26617) -Fix [FS#5973]: [Script] Loading/parsing of info .nuts was done in the same VM, causing e.g. constants to break the loading of info of other scripts 10 years ago
alberth c24998e79f (svn r26613) -Feature: Upgrade currently active newgrfs to newest installed version. 10 years ago
alberth ac23e46713 (svn r26610) -Feature: Select an editable preset name for saving. 10 years ago
rubidium ebe3c797dc (svn r26585) -Fix/Feature [FS#5942]: don't truncate money to 32 bits 10 years ago
rubidium 36e8123e4c (svn r26584) -Codechange: [Squirrel] Make the internal integer for scripts always 64 bits, so scripts behave the same on 32 or 64 bits architectures 10 years ago
rubidium fb9dbf30fa (svn r26580) -Codechange: s/GES_PICKUP/GES_RATING/ (it has nothing to do with actual pickup), s/acceptance_pickup/status/ (the enum isn't called GoodEntryStatus for a reason; it's not only acceptance and pickup anymore) 10 years ago
fonsinchen 38ee1c7b92 (svn r26563) -Fix (r26558): Don't pass explicit template arguments to std::make_pair. 10 years ago
fonsinchen cee5920fcc (svn r26558) -Fix: be more explicit about the type of iterators in the waiting cargo API 10 years ago
fonsinchen 7836470f60 (svn r26557) -Fix: clean up, test (somewhat), and complete the API for waiting cargo 10 years ago
frosch 32c9d71baf (svn r26529) -Merge: documentation updates from 1.4 branch 10 years ago
frosch f5545aa0b1 (svn r26526) -Remove: Ability to set map generation seed via GUI. If you really need it, use the console. 10 years ago
frosch 9430dfe7fa (svn r26525) -Remove: Screenshot format setting from GUI. 10 years ago
rubidium 034735a54c (svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL) 10 years ago
rubidium b886c8db8c (svn r26506) -Codechange: replace most of vsnprintf with vseprintf 10 years ago
frosch 3232a64598 (svn r26505) -Fix (r23634, r26493): Incorrect usage of strecpy/strecat 10 years ago
rubidium a13ec598a8 (svn r26501) -Fix: Windows compilation error 10 years ago
rubidium a7e999ee20 (svn r26494) -Codechange: replace some further usages of s(n)printf with seprintf 10 years ago
rubidium e2330f16ea (svn r26493) -Codechange: use strecat to concatenate script settings instead of manually accounting for the amount of characters that has been written 10 years ago
rubidium 1ab6ab9094 (svn r26492) -Fix (r26491): obviously it's too late 10 years ago
rubidium 1535ad6327 (svn r26491) -Fix: compilation failure when networking is disabled 10 years ago
rubidium 5c7c2445d8 (svn r26489) -Codechange: properly account for the end of buffers in the file io code instead of assuming MAX_PATH is okay 10 years ago
rubidium b1f6351eff (svn r26487) -Codechange: use lastof instead of lengthof/sizeof for script names 10 years ago
rubidium 6ecc602050 (svn r26486) -Codechange: replace a number of snprintfs with seprintf 10 years ago