rubidium
771dcf3b7b
(svn r27003) -Cleanup: fix the use of spaces and asterices "around" some comments
10 years ago
alberth
e333f0e9ef
(svn r26612) -Add: Method to copy newgrf parameters.
10 years ago
alberth
3c9d3f5ecd
(svn r26612) -Add: Method to copy newgrf parameters.
10 years ago
rubidium
beb540ec55
(svn r26538) -Codechange: remove double accounting of the drivers
10 years ago
rubidium
b476086c39
(svn r26538) -Codechange: remove double accounting of the drivers
10 years ago
rubidium
034735a54c
(svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL)
10 years ago
rubidium
9ed12b0f07
(svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL)
10 years ago
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
10 years ago
rubidium
0463dbdc9e
(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
10 years ago
rubidium
7edbf2fed1
(svn r26070) -Fix: prevent extremely huge size for data (1+GiB)
11 years ago
rubidium
1b9e32664f
(svn r26070) -Fix: prevent extremely huge size for data (1+GiB)
11 years ago
rubidium
e4b208c069
(svn r26061) -Fix: negative result of ftell wasn't handled correctly in some cases
11 years ago
rubidium
78a316d349
(svn r26061) -Fix: negative result of ftell wasn't handled correctly in some cases
11 years ago
rubidium
a6fae2c608
(svn r26058) -Fix: handle the return value of a number of functions better
11 years ago
rubidium
0e9c992104
(svn r26058) -Fix: handle the return value of a number of functions better
11 years ago
rubidium
73474728e3
(svn r26057) -Fix: a number of possibly uninitialised variables
11 years ago
rubidium
b3e93d6520
(svn r26057) -Fix: a number of possibly uninitialised variables
11 years ago
frosch
69f836e57b
(svn r24318) -Feature: Add dropdowns to NewGRF configurations, if all values have labels.
12 years ago
frosch
c3ca57c42b
(svn r24318) -Feature: Add dropdowns to NewGRF configurations, if all values have labels.
12 years ago
rubidium
592752e48a
(svn r23935) -Codechange: generalise GetTextfile
13 years ago
rubidium
58269b7ad2
(svn r23935) -Codechange: generalise GetTextfile
13 years ago
michi_cc
14094d00bf
(svn r23887) -Feature: [NewGRF] Support for container version 2.
13 years ago
michi_cc
6db39410a1
(svn r23887) -Feature: [NewGRF] Support for container version 2.
13 years ago
frosch
9eebe8b1ae
(svn r23807) -Codechange: GRFError::num_params is not needed, remove it.
13 years ago
frosch
92700c1262
(svn r23807) -Codechange: GRFError::num_params is not needed, remove it.
13 years ago
truebrain
c74ccfff1b
(svn r23601) -Fix: fix the conflict in window number
13 years ago
truebrain
561b25d031
(svn r23601) -Fix: fix the conflict in window number
13 years ago
yexo
38102a96b9
(svn r23494) -Feature: [NewGRF] action14 node INFO->URL_ to add an url
13 years ago
yexo
7a7d9a7b6b
(svn r23494) -Feature: [NewGRF] action14 node INFO->URL_ to add an url
13 years ago
frosch
ba6d212079
(svn r23249) -Feature: Also allow viewing of the other two textfiles supplied by BaNaNaS tars, i.e. changelog and license.
13 years ago
frosch
0d901d599f
(svn r23249) -Feature: Also allow viewing of the other two textfiles supplied by BaNaNaS tars, i.e. changelog and license.
13 years ago
frosch
42ba77bd11
(svn r23248) -Codechange: Rename everything related to the NewGRF 'readme' to 'textfile', so it is more generic.
13 years ago
frosch
b725913f3b
(svn r23248) -Codechange: Rename everything related to the NewGRF 'readme' to 'textfile', so it is more generic.
13 years ago
rubidium
023d530ead
(svn r23222) -Codechange: reduce tar scanning calls to the bare minimum
13 years ago
rubidium
4ae8bbea07
(svn r23222) -Codechange: reduce tar scanning calls to the bare minimum
13 years ago
rubidium
4d281cce97
(svn r23217) -Codechange: introduce the concept of scanning only in a limited set of sub directories
13 years ago
rubidium
6d991b3b10
(svn r23217) -Codechange: introduce the concept of scanning only in a limited set of sub directories
13 years ago
yexo
979df85e23
(svn r23182) -Feature: allow translatable readme files
13 years ago
yexo
d6bf0d10d0
(svn r23182) -Feature: allow translatable readme files
13 years ago
rubidium
60c0abb883
(svn r23178) -Feature [FS#4780]: in-game readme.txt readmer (LordAro)
13 years ago
rubidium
514d887690
(svn r23178) -Feature [FS#4780]: in-game readme.txt readmer (LordAro)
13 years ago
rubidium
661e5c6655
(svn r22904) -Codechange: add tar filename to file scanning
13 years ago
rubidium
414c397000
(svn r22904) -Codechange: add tar filename to file scanning
13 years ago
rubidium
af80e9106e
(svn r22826) -Codechange: pass sub directory to NewGRF loading functions
13 years ago
rubidium
8e5f433b22
(svn r22826) -Codechange: pass sub directory to NewGRF loading functions
13 years ago
rubidium
c8167de1c2
(svn r22822) -Codechange: make a distinction between base sets and newgrfs for their directory
13 years ago
rubidium
0061b5f184
(svn r22822) -Codechange: make a distinction between base sets and newgrfs for their directory
13 years ago
rubidium
7496bd66e7
(svn r22820) -Codechange: perform a full (re)draw cycle in the first draw during progress instead of waiting 200ms
13 years ago
rubidium
70179db81e
(svn r22820) -Codechange: perform a full (re)draw cycle in the first draw during progress instead of waiting 200ms
13 years ago
rubidium
4557af2fce
(svn r22819) -Fix: include the header where it should be included
13 years ago
rubidium
38ad276acc
(svn r22819) -Fix: include the header where it should be included
13 years ago
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
13 years ago
rubidium
9fe4b959ac
(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
13 years ago
rubidium
31777dcf1a
(svn r22800) -Fix (r22796): don't run the scanning threaded when there is no reason to do so (no UI to update)
13 years ago
rubidium
c10d415723
(svn r22800) -Fix (r22796): don't run the scanning threaded when there is no reason to do so (no UI to update)
13 years ago
rubidium
cc6e55a246
(svn r22797) -Add: progress bar for scanning NewGRFs
13 years ago
rubidium
dc5f44883b
(svn r22797) -Add: progress bar for scanning NewGRFs
13 years ago
rubidium
631e37ea01
(svn r22796) -Codechange: run the NewGRF scanning in a separate thread
13 years ago
rubidium
2987bcc79b
(svn r22796) -Codechange: run the NewGRF scanning in a separate thread
13 years ago
rubidium
5246ed53a8
(svn r22790) -Codechange: add callback for when NewGRF scanning is complete
13 years ago
rubidium
d7593d8815
(svn r22790) -Codechange: add callback for when NewGRF scanning is complete
13 years ago
rubidium
afe407322d
(svn r22771) -Codechange: unify some NewGRFScan calling code
13 years ago
rubidium
327c5dd10c
(svn r22771) -Codechange: unify some NewGRFScan calling code
13 years ago
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.
13 years ago
frosch
bfd09004fe
(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.
13 years ago
rubidium
eb2197f4c8
(svn r22410) -Document: some more bits ;)
13 years ago
rubidium
4d5dbf5170
(svn r22410) -Document: some more bits ;)
13 years ago
yexo
d1d3084a82
(svn r22162) -Fix [FS#4533]: No update of NewGRF window when unknown GRF name becomes available
13 years ago
yexo
93533b603a
(svn r22162) -Fix [FS#4533]: No update of NewGRF window when unknown GRF name becomes available
13 years ago
frosch
56d06b6ef8
(svn r21814) -Fix/Add: Check GRF version from action 8, and disallow usage of GRFs with versions above 7.
14 years ago
frosch
6e4dd56158
(svn r21814) -Fix/Add: Check GRF version from action 8, and disallow usage of GRFs with versions above 7.
14 years ago
rubidium
3fe98f80e0
(svn r21125) -Fix (r20248): static NewGRFs shouldn't be added non-statically to a game
14 years ago
rubidium
ab31493dc2
(svn r21125) -Fix (r20248): static NewGRFs shouldn't be added non-statically to a game
14 years ago
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.
14 years ago
frosch
38c350fad5
(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.
14 years ago
frosch
92dadb78ab
(svn r20958) -Add: the concept of min-loadable-version to NewGRFs when choosing compatbile NewGRFs. (planetmaker)
14 years ago
frosch
e805919fe9
(svn r20958) -Add: the concept of min-loadable-version to NewGRFs when choosing compatbile NewGRFs. (planetmaker)
14 years ago
frosch
a7e486360d
(svn r20957) -Codechange: Add another parameter to FindGRFConfig() to define search restrictions.
14 years ago
frosch
3972c790c2
(svn r20957) -Codechange: Add another parameter to FindGRFConfig() to define search restrictions.
14 years ago
yexo
d079eb49df
(svn r20766) -Fix [FS#4112]: action14 data was not used for NewGRFs loaded from a savegame
14 years ago
yexo
d6d3e83847
(svn r20766) -Fix [FS#4112]: action14 data was not used for NewGRFs loaded from a savegame
14 years ago
rubidium
360d6daf34
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
yexo
3c5923a62f
(svn r20604) -Feature: add a reset button to the newgrf parameters window
14 years ago
yexo
f6f218cf6b
(svn r20604) -Feature: add a reset button to the newgrf parameters window
14 years ago
yexo
8d451d3d72
(svn r20601) -Feature: [NewGRF] Add 'DEFA' field to set parameter defaults with action 14
14 years ago
yexo
a36159614a
(svn r20601) -Feature: [NewGRF] Add 'DEFA' field to set parameter defaults with action 14
14 years ago
yexo
67adf766d0
(svn r20346) -Change: scan for tar files before scanning for AIs/NewGRFs so new AIs/NewGRFs inside a tar file are found
14 years ago
yexo
04a9a58ecd
(svn r20346) -Change: scan for tar files before scanning for AIs/NewGRFs so new AIs/NewGRFs inside a tar file are found
14 years ago
yexo
5087690b09
(svn r20307) -Fix (r20305): the palette for baseset extra grfs was never set so it defaulted to dos
14 years ago
yexo
6371e6c4db
(svn r20307) -Fix (r20305): the palette for baseset extra grfs was never set so it defaulted to dos
14 years ago
rubidium
03f06dc2ac
(svn r20287) -Fix: GCC 4.1 warning
14 years ago
rubidium
d1787d884c
(svn r20287) -Fix: GCC 4.1 warning
14 years ago
frosch
c18839704b
(svn r20286) -Codechange: Unify end of doxygen comments.
14 years ago
frosch
4bd32799f1
(svn r20286) -Codechange: Unify end of doxygen comments.
14 years ago
frosch
5b86c79fce
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
frosch
ed4f806f1d
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
alberth
1743c86610
(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.
14 years ago
alberth
a825b4fa5f
(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.
14 years ago
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
14 years ago
rubidium
ac280af8bc
(svn r20259) -Add: allow NewGRFs to specify their version and use that to hide old NewGRFs / to choose the newest when loading compatible NewGRFs
14 years ago
yexo
f4c46dd701
(svn r20258) -Feature: more user-friendly gui to change NewGRF parameters
14 years ago
yexo
5a2862814a
(svn r20258) -Feature: more user-friendly gui to change NewGRF parameters
14 years ago
yexo
0ef99605cc
(svn r20255) -Add: allow NewGRFs to specify static info about their user-changeable parameters
14 years ago
yexo
d6eab96a22
(svn r20255) -Add: allow NewGRFs to specify static info about their user-changeable parameters
14 years ago
rubidium
f03106db1c
(svn r20254) -Add: allow NewGRFs to specify their palette
14 years ago
rubidium
4a4f02dc81
(svn r20254) -Add: allow NewGRFs to specify their palette
14 years ago
rubidium
d9393035ea
(svn r20253) -Codechange: change GRFConfig::windows_paletted into a bitmask/bitset
14 years ago
rubidium
e469a94a2d
(svn r20253) -Codechange: change GRFConfig::windows_paletted into a bitmask/bitset
14 years ago
rubidium
6c22efc840
(svn r20252) -Codechange: deduplicate logic for setting a suitable (initial) palette for NewGRFs
14 years ago
rubidium
f7794e313f
(svn r20252) -Codechange: deduplicate logic for setting a suitable (initial) palette for NewGRFs
14 years ago
yexo
eacf65598f
(svn r20251) -Add: [NewGRF] allow grfs to specify the number of valid parameters
14 years ago
yexo
75c4a2d2fb
(svn r20251) -Add: [NewGRF] allow grfs to specify the number of valid parameters
14 years ago
yexo
6117b0abc7
(svn r20249) -Codechange: change the newgrf name/description from a char* to a GRFText* to make translations possible
14 years ago
yexo
d3c1be9abd
(svn r20249) -Codechange: change the newgrf name/description from a char* to a GRFText* to make translations possible
14 years ago
yexo
cb5cfd7f8c
(svn r20248) -Codechange: use a copy-constructor instead of a separate function co clone GRFConfig/GRFError
14 years ago
yexo
1ca16aa979
(svn r20248) -Codechange: use a copy-constructor instead of a separate function co clone GRFConfig/GRFError
14 years ago
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.
14 years ago
frosch
56fbbdeafd
(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.
14 years ago
frosch
54a7c3243e
(svn r19971) -Codechange: Make IsGoodGRFConfigList() operate on any given GRFConfig and move the GameLog operations directly to AfterLoad().
14 years ago
frosch
641fc68aa8
(svn r19971) -Codechange: Make IsGoodGRFConfigList() operate on any given GRFConfig and move the GameLog operations directly to AfterLoad().
14 years ago
alberth
88fe11aae3
(svn r19835) -Codechange: Extract grfident equality check to its own method.
14 years ago
alberth
3271362413
(svn r19835) -Codechange: Extract grfident equality check to its own method.
14 years ago
alberth
e68645f18c
(svn r19553) -Doc: Added/converted explanation to some GRFConfig functions.
14 years ago
alberth
4415841ce1
(svn r19553) -Doc: Added/converted explanation to some GRFConfig functions.
14 years ago
yexo
ce7a0304f5
(svn r19315) -Fix (r19295): Show the filename in the newgrf windows if the newgrf name is not empty
14 years ago
yexo
4d5125f0c4
(svn r19315) -Fix (r19295): Show the filename in the newgrf windows if the newgrf name is not empty
14 years ago
yexo
23af928ce9
(svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info
15 years ago
yexo
404df87b1f
(svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info
15 years ago
yexo
daf89297fe
(svn r19256) -Codechange: use a constructor/destructor for GRFConfig to make sure all members are properly initialized
15 years ago
yexo
7ff55502f0
(svn r19256) -Codechange: use a constructor/destructor for GRFConfig to make sure all members are properly initialized
15 years ago
yexo
b21278659c
(svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of subclassing it
15 years ago
yexo
a9c8dbc0a0
(svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of subclassing it
15 years ago
yexo
d60fb0640b
(svn r19254) -Codechange: simplify newgrf text code by introducing a few helper functions
15 years ago
yexo
4377b5fd44
(svn r19254) -Codechange: simplify newgrf text code by introducing a few helper functions
15 years ago
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
15 years ago
yexo
2c1b7410f3
(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
15 years ago
yexo
e7fbbdc81d
(svn r18813) -Codechange: deduplicate copying a newgrf config
15 years ago
yexo
bd102b78ee
(svn r18813) -Codechange: deduplicate copying a newgrf config
15 years ago
rubidium
982b8ee5fc
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
rubidium
e840c983a6
(svn r17563) -Fix: memory leak when viewing the NewGRF settings of a server
15 years ago
rubidium
5557d2a224
(svn r17563) -Fix: memory leak when viewing the NewGRF settings of a server
15 years ago
rubidium
d9519fdf64
(svn r17562) -Fix [FS#2972]: the NewGRF settings of (remote) network games did not get properly updated when the NewGRFs were rescanned causing reading of freed data
15 years ago
rubidium
55c0109ee0
(svn r17562) -Fix [FS#2972]: the NewGRF settings of (remote) network games did not get properly updated when the NewGRFs were rescanned causing reading of freed data
15 years ago
rubidium
36739925a2
(svn r17524) -Codechange: use QSortT instead of qsort for sorting NewGRFs
15 years ago
rubidium
53cc397607
(svn r17524) -Codechange: use QSortT instead of qsort for sorting NewGRFs
15 years ago
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
be9033295e
(svn r17247) -Change: move '3rd party' MD5 implementation also to the 3rdparty directory.
15 years ago