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
rubidium
60a3bc9034
(svn r17247) -Change: move '3rd party' MD5 implementation also to the 3rdparty directory.
15 years ago
smatz
9021c20b5e
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
smatz
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
peter1138
8ab3e4b7b6
(svn r15114) -Codechange: Add support for 8 byte action7/9 data, used as a mask for GRFID checks.
16 years ago
peter1138
f8d65b4865
(svn r15114) -Codechange: Add support for 8 byte action7/9 data, used as a mask for GRFID checks.
16 years ago
smatz
91233ea596
(svn r14828) -Codechange: move most of save/load-specific code to separate files
16 years ago
smatz
7368c740a6
(svn r14828) -Codechange: move most of save/load-specific code to separate files
16 years ago
skidd13
9b282b3e51
(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible
16 years ago
skidd13
706dd0f86c
(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible
16 years ago
rubidium
0d2f84e117
(svn r14540) -Codechange: introduce [v]seprintf which are like [v]snprintf but do return the number of characters written instead of the number of characters that would be written; as size_t is unsigned substraction can cause integer underflows quite quickly.
16 years ago
rubidium
0d254e8914
(svn r14540) -Codechange: introduce [v]seprintf which are like [v]snprintf but do return the number of characters written instead of the number of characters that would be written; as size_t is unsigned substraction can cause integer underflows quite quickly.
16 years ago
rubidium
d877247d40
(svn r14245) -Fix: NewGRF configs loaded from the config file would always default to the DOS palette instead of the "default" palette.
16 years ago
rubidium
72b72bb368
(svn r14245) -Fix: NewGRF configs loaded from the config file would always default to the DOS palette instead of the "default" palette.
16 years ago
rubidium
882d39a081
(svn r14233) -Feature/Fix [FS#2172]: save the palette of the loaded NewGRFs in the savegame, so joining with a server using Windows palette will make a client with the DOS palette do palette conversion and (thus) not cause a desync due to the different palettes disabling different NewGRFs.
16 years ago
rubidium
a4cd12274c
(svn r14233) -Feature/Fix [FS#2172]: save the palette of the loaded NewGRFs in the savegame, so joining with a server using Windows palette will make a client with the DOS palette do palette conversion and (thus) not cause a desync due to the different palettes disabling different NewGRFs.
16 years ago
rubidium
a20b833516
(svn r14199) -Codechange: split fileio.h into fileio_type.h and fileio_func.h so not everything that includes saveload.h needs to include everything else too.
16 years ago
rubidium
ea1f180a55
(svn r14199) -Codechange: split fileio.h into fileio_type.h and fileio_func.h so not everything that includes saveload.h needs to include everything else too.
16 years ago
rubidium
d452683aa6
(svn r14196) -Codechange: make the searching for files with a specific extension extendable.
16 years ago
rubidium
1afa473d0f
(svn r14196) -Codechange: make the searching for files with a specific extension extendable.
16 years ago
peter1138
dcf8420c43
(svn r13865) -Codechange: Use case-insensitive sort for NewGRF list.
16 years ago
peter1138
b49814c537
(svn r13865) -Codechange: Use case-insensitive sort for NewGRF list.
16 years ago
smatz
40d5242f91
(svn r13618) -Codechange: move tar-specific declarations to separate file
...
Removes indirect dependency on <string> and <map> for over 40 files
16 years ago
smatz
fee2adb299
(svn r13618) -Codechange: move tar-specific declarations to separate file
...
Removes indirect dependency on <string> and <map> for over 40 files
16 years ago
smatz
1f55797fe3
(svn r13375) -Add: logging of actions that could possibly cause desyncs and crashes to simplify debugging. See readme.txt for details
16 years ago
smatz
c7a9637834
(svn r13375) -Add: logging of actions that could possibly cause desyncs and crashes to simplify debugging. See readme.txt for details
16 years ago
rubidium
bae02e8c67
(svn r13343) -Codechange: reorder/move variable/functions in the network headers so that nothing from the network directory needs to include basically all network headers.
16 years ago
rubidium
2f3b88ef9a
(svn r13343) -Codechange: reorder/move variable/functions in the network headers so that nothing from the network directory needs to include basically all network headers.
16 years ago
glx
a28ea38653
(svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings
16 years ago
glx
e48a351f8e
(svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings
16 years ago
smatz
b6ec43896d
(svn r12993) -Fix (r11175): list used for sorting GRFs wasn't freed
16 years ago
smatz
c3822e3a90
(svn r12993) -Fix (r11175): list used for sorting GRFs wasn't freed
16 years ago
glx
97cb66d099
(svn r12991) -Codechange: removed some unneeded includes
16 years ago
glx
c2c9121307
(svn r12991) -Codechange: removed some unneeded includes
16 years ago
rubidium
1ce0b03bf0
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
16 years ago
rubidium
d03994098b
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
16 years ago
peter1138
70aa24320e
(svn r12173) -Cleanup: Minor codestyle fixes.
17 years ago
peter1138
06de1215c1
(svn r12173) -Cleanup: Minor codestyle fixes.
17 years ago
rubidium
b09d957f31
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
17 years ago
rubidium
a3ccdcea36
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
17 years ago
rubidium
71d4004a85
(svn r11776) -Codechange: more header splittings to reduce the dependencies.
17 years ago
rubidium
38115acf5a
(svn r11776) -Codechange: more header splittings to reduce the dependencies.
17 years ago
skidd13
7bcc4d28e1
(svn r11695) -Codechange: Converted the md5 algorithm to OOP
...
-Codechange: Adapt the md5 algorithm to the OpenTTD source
17 years ago
skidd13
7963963d98
(svn r11695) -Codechange: Converted the md5 algorithm to OOP
...
-Codechange: Adapt the md5 algorithm to the OpenTTD source
17 years ago
rubidium
81bf9f8503
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
17 years ago
rubidium
429521a7d1
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
17 years ago
rubidium
00c9d3ef20
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
17 years ago
rubidium
bf98e25e43
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
17 years ago
rubidium
8ebdfb258f
(svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations.
17 years ago
rubidium
01e20c9140
(svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations.
17 years ago
skidd13
3ae50673a3
(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
17 years ago
skidd13
eeaa348f8b
(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
17 years ago
skidd13
6801cceda1
(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style
17 years ago
skidd13
5c31a973a1
(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style
17 years ago
skidd13
c0a2c0c23e
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
17 years ago
skidd13
71c4325c50
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
17 years ago
rubidium
af0616729a
(svn r11433) -Fix: starting OpenTTD with DOS files made it look weird out of the box.
...
-Change: make extra sprites (the ones not in the TTD GRFs) replaceable using Action 5.
-Feature: make replacing contiguous subsets of sprites in for some types possible in Action 5.
Note to GRF authors: when you replaced OpenTTD sprites that are not from the TTD GRF files using Action A, your GRF will not have the intended result anymore as the sprite numbers have changed. You should replace the Action A with an Action 5 from now on.
17 years ago
rubidium
f546de602b
(svn r11433) -Fix: starting OpenTTD with DOS files made it look weird out of the box.
...
-Change: make extra sprites (the ones not in the TTD GRFs) replaceable using Action 5.
-Feature: make replacing contiguous subsets of sprites in for some types possible in Action 5.
Note to GRF authors: when you replaced OpenTTD sprites that are not from the TTD GRF files using Action A, your GRF will not have the intended result anymore as the sprite numbers have changed. You should replace the Action A with an Action 5 from now on.
17 years ago
rubidium
3722b834ef
(svn r11355) -Fix [FS#1377]: loading too many GRFs was not handled gracefully causing crashes and such.
17 years ago
rubidium
b14c94867a
(svn r11355) -Fix [FS#1377]: loading too many GRFs was not handled gracefully causing crashes and such.
17 years ago
rubidium
5d17b29a17
(svn r11180) -Fix (r11175): crash on load when you don't have any NewGRFs. More interesting is: who plays without them ;)
17 years ago
rubidium
08fd0030d2
(svn r11180) -Fix (r11175): crash on load when you don't have any NewGRFs. More interesting is: who plays without them ;)
17 years ago
glx
ab886349ab
(svn r11179) -Fix [FS#1262] (r11175): compilation with MSVC was broken
17 years ago
glx
9f552ae0b3
(svn r11179) -Fix [FS#1262] (r11175): compilation with MSVC was broken
17 years ago
rubidium
1dbc6bd4c5
(svn r11175) -Codechange: sort the NewGRFs by name, making searching a specific NewGRF a lot easier.
17 years ago
rubidium
02d23c2776
(svn r11175) -Codechange: sort the NewGRFs by name, making searching a specific NewGRF a lot easier.
17 years ago
truelight
4a621fec63
(svn r11119) -Codechange: analyze .tar files upon loading, remembering their files and offsets, which speeds up .tar handling with a big factor
...
-Fix: several win32 .tar support problems
-Fix: better checking of .tar versions and other minor things
-Codechange: don't call fclose() but FioFClose to close a file
17 years ago
truelight
631dc06212
(svn r11119) -Codechange: analyze .tar files upon loading, remembering their files and offsets, which speeds up .tar handling with a big factor
...
-Fix: several win32 .tar support problems
-Fix: better checking of .tar versions and other minor things
-Codechange: don't call fclose() but FioFClose to close a file
17 years ago
glx
045c996364
(svn r11111) -Fix (r11106): missing const broke compilation with MSVC
17 years ago
glx
1c998c6d92
(svn r11111) -Fix (r11106): missing const broke compilation with MSVC
17 years ago
truelight
9e14778057
(svn r11106) -Add: added .tar support; you can pack all files in your data/ dir in how ever many .tar files you like, keeping the dir-structure equal to the unpacked version, and OpenTTD can handle them just like the files were unpacked
...
-Note: useful for GRF-packs and 32bpp PNGs. Don't forget to keep the dir-structure alive for 32bpp PNGs!
-Note: file-loading-order: search-paths, .tar-files in the order found on disk (can be anything at all, don't depend on it.. use 'openttd -d1' to see which order they are added)
17 years ago
truelight
5647bd5157
(svn r11106) -Add: added .tar support; you can pack all files in your data/ dir in how ever many .tar files you like, keeping the dir-structure equal to the unpacked version, and OpenTTD can handle them just like the files were unpacked
...
-Note: useful for GRF-packs and 32bpp PNGs. Don't forget to keep the dir-structure alive for 32bpp PNGs!
-Note: file-loading-order: search-paths, .tar-files in the order found on disk (can be anything at all, don't depend on it.. use 'openttd -d1' to see which order they are added)
17 years ago
truelight
b84bd3cd1c
(svn r11099) -Codechange: allow on opening of a file via FioFOpenFile to request the size of the file, so we can keep that in mind
17 years ago
truelight
3d0ac92267
(svn r11099) -Codechange: allow on opening of a file via FioFOpenFile to request the size of the file, so we can keep that in mind
17 years ago
truelight
45a1ad524a
(svn r11098) -Fix r11096: forgot spaces before comments
17 years ago
truelight
c0c12bca3d
(svn r11098) -Fix r11096: forgot spaces before comments
17 years ago
truelight
f9a4d4e1a4
(svn r11097) -Codechange: for easy future extension of NewGRF Scanning, split up the functions a bit
17 years ago
truelight
70772e9cc9
(svn r11097) -Codechange: for easy future extension of NewGRF Scanning, split up the functions a bit
17 years ago
truelight
122cc9e1a4
(svn r11096) -Fix: when 2 different GRF-files had the same name (e.g.: ""), the double-entry checker didn't always work correctly, resulting in multiple entries of the same grf in the list
17 years ago
truelight
bf17a96b63
(svn r11096) -Fix: when 2 different GRF-files had the same name (e.g.: ""), the double-entry checker didn't always work correctly, resulting in multiple entries of the same grf in the list
17 years ago
rubidium
627aa240ba
(svn r10298) -Fix [FS#903]: show the subdirectory below the default data directory in this filename in the newgrf list. The directory was removed in r9560 because then it used to full path instead of the path relative to the data directory, but since the inclusion of "search paths" that is not necessary anymore.
17 years ago
rubidium
6402d00190
(svn r10298) -Fix [FS#903]: show the subdirectory below the default data directory in this filename in the newgrf list. The directory was removed in r9560 because then it used to full path instead of the path relative to the data directory, but since the inclusion of "search paths" that is not necessary anymore.
17 years ago
glx
554639ce92
(svn r10223) -Fix r10211: GCF_INIT_ONLY flag was never cleared
17 years ago
glx
9e2e73f30b
(svn r10223) -Fix r10211: GCF_INIT_ONLY flag was never cleared
17 years ago
glx
623a848cca
(svn r10211) -Feature: [NewGRF] Add support for action 0F
17 years ago
glx
23af871615
(svn r10211) -Feature: [NewGRF] Add support for action 0F
17 years ago
rubidium
3c7a85fe94
(svn r10182) -Codechange: rewrite most part of the file loading/searching to be more flexible.
...
-Codechange: add support for personal directories on Windows.
-Fix [FS#153, FS#193, FS#502, FS#816, FS#854]: fix issues related to fixed names, fixed places of files/directories and application bundles.
17 years ago
rubidium
347c28b71a
(svn r10182) -Codechange: rewrite most part of the file loading/searching to be more flexible.
...
-Codechange: add support for personal directories on Windows.
-Fix [FS#153, FS#193, FS#502, FS#816, FS#854]: fix issues related to fixed names, fixed places of files/directories and application bundles.
17 years ago
maedhros
94d390eac4
(svn r10114) -Fix: Only load newgrf error messages if the language matches the current
...
language. Since only one error can be loaded anyway, if the language didn't
match you'd get "Undefined string". Also since we're only loading one language
there's no need to use AddGRFString any more.
17 years ago
maedhros
109dd33c4a
(svn r10114) -Fix: Only load newgrf error messages if the language matches the current
...
language. Since only one error can be loaded anyway, if the language didn't
match you'd get "Undefined string". Also since we're only loading one language
there's no need to use AddGRFString any more.
17 years ago
rubidium
9a57a1912d
(svn r10073) -Codechange: make the NewGRF paths in the config file without any full paths (again).
17 years ago
rubidium
142f2aba15
(svn r10073) -Codechange: make the NewGRF paths in the config file without any full paths (again).
17 years ago
belugas
097b3b3c7b
(svn r9662) -Documentation: Doxygen corrections and @file omissions
17 years ago
belugas
607a55f4ec
(svn r9662) -Documentation: Doxygen corrections and @file omissions
17 years ago
rubidium
b430c03cdd
(svn r9561) -Fix (r9561): loading the newgrfs in openttd.cfg was broken.
...
Note: as the 'full' path is stored of the newgrfs, the newgrfs in the old cfgs are not made default (you have to set them again).
17 years ago
rubidium
3b8dd00bae
(svn r9561) -Fix (r9561): loading the newgrfs in openttd.cfg was broken.
...
Note: as the 'full' path is stored of the newgrfs, the newgrfs in the old cfgs are not made default (you have to set them again).
17 years ago
rubidium
1c1a4bc872
(svn r9560) -Codechange: add support for multiple 'base' directories for newgrf searching.
...
-Codechange: do not add duplicate files to the newgrf list.
17 years ago
rubidium
db91588845
(svn r9560) -Codechange: add support for multiple 'base' directories for newgrf searching.
...
-Codechange: do not add duplicate files to the newgrf list.
17 years ago
belugas
0e33549b7f
(svn r9545) -Documentation: Some corrections to previous doxygen work
17 years ago
belugas
d58f9ef7b4
(svn r9545) -Documentation: Some corrections to previous doxygen work
17 years ago
belugas
8952924c64
(svn r9385) -Cleanup: doxygen changes. Today, we are exploring the letter N.
17 years ago