Commit Graph

75 Commits

Author SHA1 Message Date
alberth
e333f0e9ef (svn r26612) -Add: Method to copy newgrf parameters. 2014-05-24 19:13:34 +00:00
frosch
eb6974179d (svn r26317) -Fix [FS#5897]: Check whether NewGRF change vehicle capacity when they are not supposed to, and truncate cargo appropiately if they are allowed to. 2014-02-07 23:48:56 +00:00
planetmaker
f00d9976f9 (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 2013-01-08 22:46:42 +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
6256d64553 (svn r23932) -Codechange: split the NewGRF text window into its own source files 2012-02-12 10:32:41 +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
aa1a0053b0 (svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC) 2011-12-20 17:57:56 +00:00
rubidium
3d605f6488 (svn r23595) -Codechange: add comma after last enum to get a more uniform coding style 2011-12-19 17:48:04 +00:00
rubidium
24263638bf (svn r23526) -Codechange: unify cargos vs cargoes 2011-12-15 21:56:00 +00:00
yexo
38102a96b9 (svn r23494) -Feature: [NewGRF] action14 node INFO->URL_ to add an url 2011-12-11 12:55:04 +00:00
rubidium
b92c6ae0b7 (svn r23422) -Fix [FS#4863] (r22797): the default palette setting wasn't applied correctly anymore as the configuration file is loaded after the first NewGRF scan 2011-12-04 11:18:43 +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
60c0abb883 (svn r23178) -Feature [FS#4780]: in-game readme.txt readmer (LordAro) 2011-11-10 06:15:03 +00:00
frosch
1900d7fcb6 (svn r23140) -Add: ErrorUnknownCallbackResult() 2011-11-08 17:24:15 +00:00
michi_cc
e07c107eb1 (svn r23001) -Feature: [NewGRF] Automatically switch to a 32 bpp blitter on NewGRF indication. 2011-10-04 21:35:52 +00:00
rubidium
af80e9106e (svn r22826) -Codechange: pass sub directory to NewGRF loading functions 2011-08-24 13:48:29 +00:00
rubidium
cc6e55a246 (svn r22797) -Add: progress bar for scanning NewGRFs 2011-08-21 12:53:13 +00:00
rubidium
54f52a26a4 (svn r22793) -Codechange: remove callback default to make clear they are not forgotten 2011-08-21 12:51:18 +00:00
rubidium
5246ed53a8 (svn r22790) -Codechange: add callback for when NewGRF scanning is complete 2011-08-21 12:49:51 +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
frosch
3dbc1abf14 (svn r20959) -Codechange: Realign comments. 2010-10-17 12:13:35 +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
8d451d3d72 (svn r20601) -Feature: [NewGRF] Add 'DEFA' field to set parameter defaults with action 14 2010-08-23 21:47:07 +00:00
rubidium
771b553333 (svn r20566) -Feature: happy smiles on the faces of Ammler and planetmaker 2010-08-19 19:23:38 +00:00
frosch
d08c3d9381 (svn r20505) -Feature [FS#3978]: Allow changing visual effect when changing railtype. 2010-08-15 19:59:48 +00:00
frosch
5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
rubidium
a777266426 (svn r20259) -Add: allow NewGRFs to specify their version and use that to hide old NewGRFs / to choose the newest when loading compatible NewGRFs 2010-07-31 14:40:50 +00:00
yexo
f4c46dd701 (svn r20258) -Feature: more user-friendly gui to change NewGRF parameters 2010-07-31 12:15:12 +00:00
yexo
0ef99605cc (svn r20255) -Add: allow NewGRFs to specify static info about their user-changeable parameters 2010-07-31 09:51:04 +00:00
rubidium
f03106db1c (svn r20254) -Add: allow NewGRFs to specify their palette 2010-07-31 09:44:38 +00:00
rubidium
d9393035ea (svn r20253) -Codechange: change GRFConfig::windows_paletted into a bitmask/bitset 2010-07-31 09:40:43 +00:00
rubidium
6c22efc840 (svn r20252) -Codechange: deduplicate logic for setting a suitable (initial) palette for NewGRFs 2010-07-31 09:36:09 +00:00
yexo
eacf65598f (svn r20251) -Add: [NewGRF] allow grfs to specify the number of valid parameters 2010-07-31 09:35:49 +00:00
yexo
6117b0abc7 (svn r20249) -Codechange: change the newgrf name/description from a char* to a GRFText* to make translations possible 2010-07-31 09:33:39 +00:00
yexo
cb5cfd7f8c (svn r20248) -Codechange: use a copy-constructor instead of a separate function co clone GRFConfig/GRFError 2010-07-31 09:32:44 +00:00
frosch
52c4af211a (svn r19972) -Change: Use the md5sum from the previous save of the game for BaNaNaS instead of the initial (when the grf was added) md5sum from the gamelog. Neither method is 'better', but this way it is independent from the gamelog. 2010-06-13 14:11:32 +00:00
frosch
54a7c3243e (svn r19971) -Codechange: Make IsGoodGRFConfigList() operate on any given GRFConfig and move the GameLog operations directly to AfterLoad(). 2010-06-13 14:07:49 +00:00
alberth
88fe11aae3 (svn r19835) -Codechange: Extract grfident equality check to its own method. 2010-05-16 18:50:37 +00:00
yexo
23af928ce9 (svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info 2010-02-28 20:28:08 +00:00
yexo
daf89297fe (svn r19256) -Codechange: use a constructor/destructor for GRFConfig to make sure all members are properly initialized 2010-02-25 20:06:11 +00:00
yexo
b21278659c (svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of subclassing it 2010-02-25 20:05:31 +00:00
yexo
e876e21abf (svn r19251) -Codechange: add a contructor to GRFError and use it to allocating errors more uniform.
-Fix: some grf error messages didn't free the previous error messages, creating a memory leak
2010-02-25 15:54:40 +00:00
yexo
e7fbbdc81d (svn r18813) -Codechange: deduplicate copying a newgrf config 2010-01-15 18:28:30 +00:00
rubidium
99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
frosch
80e896fa53 (svn r16223) -Fix (r8881): ActionB should use the online parameters from GRFFile instead of the initial user-specified values from GRFConfig. Also use the values as they were set when the ActionB was executed, not as they are set when the message is shown. 2009-05-04 11:23:21 +00:00