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.
17 years ago
glx
e48a351f8e
(svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings
17 years ago
smatz
c3822e3a90
(svn r12993) -Fix (r11175): list used for sorting GRFs wasn't freed
17 years ago
glx
c2c9121307
(svn r12991) -Codechange: removed some unneeded includes
17 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.
17 years ago
peter1138
06de1215c1
(svn r12173) -Cleanup: Minor codestyle fixes.
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
38115acf5a
(svn r11776) -Codechange: more header splittings to reduce the dependencies.
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
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
bf98e25e43
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
17 years ago
rubidium
01e20c9140
(svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations.
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
5c31a973a1
(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining 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
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
b14c94867a
(svn r11355) -Fix [FS#1377]: loading too many GRFs was not handled gracefully causing crashes and such.
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
9f552ae0b3
(svn r11179) -Fix [FS#1262] (r11175): compilation with MSVC was broken
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
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
1c998c6d92
(svn r11111) -Fix (r11106): missing const broke compilation with MSVC
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
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
c0c12bca3d
(svn r11098) -Fix r11096: forgot spaces before comments
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
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
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.
18 years ago
glx
9e2e73f30b
(svn r10223) -Fix r10211: GCF_INIT_ONLY flag was never cleared
18 years ago
glx
23af871615
(svn r10211) -Feature: [NewGRF] Add support for action 0F
18 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.
18 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.
18 years ago
rubidium
142f2aba15
(svn r10073) -Codechange: make the NewGRF paths in the config file without any full paths (again).
18 years ago
belugas
607a55f4ec
(svn r9662) -Documentation: Doxygen corrections and @file omissions
18 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).
18 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.
18 years ago
belugas
d58f9ef7b4
(svn r9545) -Documentation: Some corrections to previous doxygen work
18 years ago
belugas
dcd510c81f
(svn r9385) -Cleanup: doxygen changes. Today, we are exploring the letter N.
18 years ago
rubidium
24c4d5b06d
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
18 years ago
rubidium
36bb92ae24
(svn r9050) -Codechange: Foo(void) -> Foo()
18 years ago
maedhros
1c7df202c6
(svn r9031) -Codechange: Introduce grfconfig->status, and use it for states that are
...
mutually exclusive. At the same time, add an INITIALISED state which makes it
possible to check if a grf is not yet active but will be later on during the
GLS_ACTIVATION loading stage.
18 years ago
rubidium
c8faa6bee2
(svn r8955) -Fix: crash on loading savegames with GRFs that do not have their GRF info/name set.
18 years ago
maedhros
8b6350d3a3
(svn r8881) -Feature: Allow built-in newgrf error messages to be translated, and load custom error messages properly.
18 years ago
Darkvater
31be3c6fac
(svn r8844) -Revert partly (r8820, r8806): Change AppendToGRFConfigList to add the allocated GRFConfig to its list and not copy it.
18 years ago
maedhros
f2d63dcecf
(svn r8838) -Feature: Show newgrf error messages loaded in Action B in the newgrf gui
...
window. GRFs with an error have a warning symbol shown before the name.
18 years ago
Darkvater
6d25481221
(svn r8823) -Fix (r8821): wrapping opendir to ottd-specific function failed on non-windows because this wrapper was only active for win32 (thx Rubidium)
18 years ago
Darkvater
92bbe45dd0
(svn r8821) -Regression: Unable to browse directories on *nix if the filesystem is not in UTF-8 charset and special characters are used. The string passed to opendir() which is UTF-8 was not parsed back to the filesystem format. Use a wrapper called ttd_opendir() instead of redefining opendir itself.
18 years ago
Darkvater
5b237758aa
(svn r8820) -Codechange (r8807, r8806): Remove the unneeded calloc/free allocation of GRFConfig and turn it into a simple variable (it's supposed to be data-only). Thanks Tron.
18 years ago
Darkvater
6d4d072023
(svn r8806) -Codechange (r7582): Remove a duplicate append of static GRF's when loading the game and hide the intrinsics of adding elements to the GRFConfig list by using an AppendToGRFConfigList function.
18 years ago
rubidium
cf83a9f065
(svn r8316) -Codechange: move the GRF ID and MD5 checksum from GRFConfig to GRFIdentifier so it can be reused.
18 years ago