Commit Graph

151 Commits

Author SHA1 Message Date
frosch
4955e71ee0 (svn r27721) -Fix: Testing GRFs for static-safety (when reloading the config) invalidated file slot 62, which may be in use by an active GRF. 2017-01-07 21:18:17 +00:00
frosch
3f75b8bca2 (svn r27670) -Add: [FS#6471] Assign descriptive names to (GNU pthread) threads. (JGR) 2016-10-30 17:29:33 +00:00
frosch
e4063cb6d4 (svn r27063) -Fix [FS#6172]: Some lists did not use natural string sorting. 2014-11-18 20:12:42 +00:00
rubidium
660a95e5d2 (svn r27003) -Cleanup: fix the use of spaces and asterices "around" some comments 2014-10-12 18:41:53 +00:00
alberth
e333f0e9ef (svn r26612) -Add: Method to copy newgrf parameters. 2014-05-24 19:13:34 +00:00
rubidium
beb540ec55 (svn r26538) -Codechange: remove double accounting of the drivers 2014-04-28 21:06:51 +00:00
rubidium
034735a54c (svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL) 2014-04-25 15:40:32 +00:00
rubidium
2be4215f43 (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
rubidium
7edbf2fed1 (svn r26070) -Fix: prevent extremely huge size for data (1+GiB) 2013-11-23 18:11:01 +00:00
rubidium
e4b208c069 (svn r26061) -Fix: negative result of ftell wasn't handled correctly in some cases 2013-11-23 13:17:45 +00:00
rubidium
a6fae2c608 (svn r26058) -Fix: handle the return value of a number of functions better 2013-11-23 13:15:07 +00:00
rubidium
73474728e3 (svn r26057) -Fix: a number of possibly uninitialised variables 2013-11-23 13:12:19 +00:00
frosch
69f836e57b (svn r24318) -Feature: Add dropdowns to NewGRF configurations, if all values have labels. 2012-06-01 15:20:18 +00:00
rubidium
592752e48a (svn r23935) -Codechange: generalise GetTextfile 2012-02-12 10:51:43 +00:00
michi_cc
14094d00bf (svn r23887) -Feature: [NewGRF] Support for container version 2. 2012-02-04 13:29:04 +00:00
frosch
9eebe8b1ae (svn r23807) -Codechange: GRFError::num_params is not needed, remove it. 2012-01-15 17:33:35 +00:00
truebrain
c74ccfff1b (svn r23601) -Fix: fix the conflict in window number 2011-12-19 20:50:21 +00:00
yexo
38102a96b9 (svn r23494) -Feature: [NewGRF] action14 node INFO->URL_ to add an url 2011-12-11 12:55:04 +00:00
frosch
ba6d212079 (svn r23249) -Feature: Also allow viewing of the other two textfiles supplied by BaNaNaS tars, i.e. changelog and license. 2011-11-18 14:40:57 +00:00
frosch
42ba77bd11 (svn r23248) -Codechange: Rename everything related to the NewGRF 'readme' to 'textfile', so it is more generic. 2011-11-18 13:05:55 +00:00
rubidium
023d530ead (svn r23222) -Codechange: reduce tar scanning calls to the bare minimum 2011-11-14 21:40:39 +00:00
rubidium
4d281cce97 (svn r23217) -Codechange: introduce the concept of scanning only in a limited set of sub directories 2011-11-14 21:30:37 +00:00
yexo
979df85e23 (svn r23182) -Feature: allow translatable readme files 2011-11-10 18:07:56 +00:00
rubidium
60c0abb883 (svn r23178) -Feature [FS#4780]: in-game readme.txt readmer (LordAro) 2011-11-10 06:15:03 +00:00
rubidium
661e5c6655 (svn r22904) -Codechange: add tar filename to file scanning 2011-09-08 09:48:52 +00:00
rubidium
af80e9106e (svn r22826) -Codechange: pass sub directory to NewGRF loading functions 2011-08-24 13:48:29 +00:00
rubidium
c8167de1c2 (svn r22822) -Codechange: make a distinction between base sets and newgrfs for their directory 2011-08-24 13:33:49 +00:00
rubidium
7496bd66e7 (svn r22820) -Codechange: perform a full (re)draw cycle in the first draw during progress instead of waiting 200ms 2011-08-24 12:18:53 +00:00
rubidium
4557af2fce (svn r22819) -Fix: include the header where it should be included 2011-08-24 12:12:36 +00:00
rubidium
9aa6000b15 (svn r22818) -Fix [FS#4742] (r22796, rlongago): don't spawn threads for world generation and NewGRF scanning when using the dedicated or null video driver regardless of the used blitter 2011-08-24 12:11:10 +00:00
rubidium
31777dcf1a (svn r22800) -Fix (r22796): don't run the scanning threaded when there is no reason to do so (no UI to update) 2011-08-21 13:19:06 +00:00
rubidium
cc6e55a246 (svn r22797) -Add: progress bar for scanning NewGRFs 2011-08-21 12:53:13 +00:00
rubidium
631e37ea01 (svn r22796) -Codechange: run the NewGRF scanning in a separate thread 2011-08-21 12:53:00 +00:00
rubidium
5246ed53a8 (svn r22790) -Codechange: add callback for when NewGRF scanning is complete 2011-08-21 12:49:51 +00:00
rubidium
afe407322d (svn r22771) -Codechange: unify some NewGRFScan calling code 2011-08-20 17:46:03 +00:00
frosch
ad541cb188 (svn r22417) -Add: an advanced setting to specify the default palette to use for NewGRFs without action 14 palette information; this makes the default choice independent from the used base graphics and '-i' option. 2011-05-03 20:30:26 +00:00
rubidium
eb2197f4c8 (svn r22410) -Document: some more bits ;) 2011-05-02 16:14:23 +00:00
yexo
d1d3084a82 (svn r22162) -Fix [FS#4533]: No update of NewGRF window when unknown GRF name becomes available 2011-03-03 18:47:46 +00:00
frosch
56d06b6ef8 (svn r21814) -Fix/Add: Check GRF version from action 8, and disallow usage of GRFs with versions above 7. 2011-01-15 21:13:47 +00:00
rubidium
3fe98f80e0 (svn r21125) -Fix (r20248): static NewGRFs shouldn't be added non-statically to a game 2010-11-09 21:57:02 +00:00
frosch
f7b6d8e8bb (svn r20960) -Add: Allow setting 'minimal compatible version' via Action14. (planetmaker)
Note: Setting 'VRSN' also sets 'MINV' resulting in the Grf being only compatible to the same version. Set 'MINV' after 'VRSN' if your Grf is compatible to older versions.
2010-10-17 12:14:49 +00:00
frosch
92dadb78ab (svn r20958) -Add: the concept of min-loadable-version to NewGRFs when choosing compatbile NewGRFs. (planetmaker) 2010-10-17 12:12:52 +00:00
frosch
a7e486360d (svn r20957) -Codechange: Add another parameter to FindGRFConfig() to define search restrictions. 2010-10-17 12:12:13 +00:00
yexo
d079eb49df (svn r20766) -Fix [FS#4112]: action14 data was not used for NewGRFs loaded from a savegame 2010-09-08 15:35:54 +00:00
rubidium
360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
yexo
3c5923a62f (svn r20604) -Feature: add a reset button to the newgrf parameters window 2010-08-23 22:25:50 +00:00
yexo
8d451d3d72 (svn r20601) -Feature: [NewGRF] Add 'DEFA' field to set parameter defaults with action 14 2010-08-23 21:47:07 +00:00
yexo
67adf766d0 (svn r20346) -Change: scan for tar files before scanning for AIs/NewGRFs so new AIs/NewGRFs inside a tar file are found 2010-08-03 13:32:02 +00:00
yexo
5087690b09 (svn r20307) -Fix (r20305): the palette for baseset extra grfs was never set so it defaulted to dos 2010-08-02 16:04:24 +00:00
rubidium
03f06dc2ac (svn r20287) -Fix: GCC 4.1 warning 2010-08-01 19:52:51 +00:00