summaryrefslogtreecommitdiff
path: root/src/newgrf_config.cpp
AgeCommit message (Collapse)Author
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-16(svn r15114) -Codechange: Add support for 8 byte action7/9 data, used as a ↵peter1138
mask for GRFID checks.
2009-01-04(svn r14828) -Codechange: move most of save/load-specific code to separate filessmatz
2008-11-02(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat ↵skidd13
and strecpy where direct conversion is possible
2008-10-28(svn r14540) -Codechange: introduce [v]seprintf which are like [v]snprintf ↵rubidium
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.
2008-09-04(svn r14245) -Fix: NewGRF configs loaded from the config file would always ↵rubidium
default to the DOS palette instead of the "default" palette.
2008-09-03(svn r14233) -Feature/Fix [FS#2172]: save the palette of the loaded NewGRFs ↵rubidium
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.
2008-08-31(svn r14199) -Codechange: split fileio.h into fileio_type.h and ↵rubidium
fileio_func.h so not everything that includes saveload.h needs to include everything else too.
2008-08-31(svn r14196) -Codechange: make the searching for files with a specific ↵rubidium
extension extendable.
2008-07-29(svn r13865) -Codechange: Use case-insensitive sort for NewGRF list.peter1138
2008-06-24(svn r13618) -Codechange: move tar-specific declarations to separate filesmatz
Removes indirect dependency on <string> and <map> for over 40 files
2008-06-03(svn r13375) -Add: logging of actions that could possibly cause desyncs and ↵smatz
crashes to simplify debugging. See readme.txt for details
2008-05-30(svn r13343) -Codechange: reorder/move variable/functions in the network ↵rubidium
headers so that nothing from the network directory needs to include basically all network headers.
2008-05-08(svn r13008) -Fix [FS#1997]: silence some MSVC x64 warningsglx
2008-05-07(svn r12993) -Fix (r11175): list used for sorting GRFs wasn't freedsmatz
2008-05-07(svn r12991) -Codechange: removed some unneeded includesglx
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-02-18(svn r12173) -Cleanup: Minor codestyle fixes.peter1138
2008-01-07(svn r11777) -Codechange: split the string header and make do not include it ↵rubidium
when it's not necessary.
2008-01-07(svn r11776) -Codechange: more header splittings to reduce the dependencies.rubidium
2007-12-25(svn r11695) -Codechange: Converted the md5 algorithm to OOPskidd13
-Codechange: Adapt the md5 algorithm to the OpenTTD source
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.
2007-12-21(svn r11674) -Codechange: refactor some functions out of macros.h into more ↵rubidium
logical locations.
2007-11-20(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the ↵skidd13
remaining to fit with the naming style
2007-11-19(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the ↵skidd13
remaining to fit with the naming style
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-15(svn r11433) -Fix: starting OpenTTD with DOS files made it look weird out of ↵rubidium
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.
2007-10-29(svn r11355) -Fix [FS#1377]: loading too many GRFs was not handled ↵rubidium
gracefully causing crashes and such.
2007-09-28(svn r11180) -Fix (r11175): crash on load when you don't have any NewGRFs. ↵rubidium
More interesting is: who plays without them ;)
2007-09-28(svn r11179) -Fix [FS#1262] (r11175): compilation with MSVC was brokenglx
2007-09-27(svn r11175) -Codechange: sort the NewGRFs by name, making searching a ↵rubidium
specific NewGRF a lot easier.
2007-09-16(svn r11119) -Codechange: analyze .tar files upon loading, remembering their ↵truelight
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
2007-09-15(svn r11111) -Fix (r11106): missing const broke compilation with MSVCglx
2007-09-14(svn r11106) -Add: added .tar support; you can pack all files in your data/ ↵truelight
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)
2007-09-13(svn r11099) -Codechange: allow on opening of a file via FioFOpenFile to ↵truelight
request the size of the file, so we can keep that in mind
2007-09-13(svn r11098) -Fix r11096: forgot spaces before commentstruelight
2007-09-13(svn r11097) -Codechange: for easy future extension of NewGRF Scanning, ↵truelight
split up the functions a bit
2007-09-13(svn r11096) -Fix: when 2 different GRF-files had the same name (e.g.: ""), ↵truelight
the double-entry checker didn't always work correctly, resulting in multiple entries of the same grf in the list
2007-06-23(svn r10298) -Fix [FS#903]: show the subdirectory below the default data ↵rubidium
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.
2007-06-19(svn r10223) -Fix r10211: GCF_INIT_ONLY flag was never clearedglx
2007-06-18(svn r10211) -Feature: [NewGRF] Add support for action 0Fglx
2007-06-17(svn r10182) -Codechange: rewrite most part of the file loading/searching to ↵rubidium
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.
2007-06-12(svn r10114) -Fix: Only load newgrf error messages if the language matches ↵maedhros
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.
2007-06-08(svn r10073) -Codechange: make the NewGRF paths in the config file without ↵rubidium
any full paths (again).
2007-04-17(svn r9662) -Documentation: Doxygen corrections and @file omissionsbelugas
2007-04-04(svn r9561) -Fix (r9561): loading the newgrfs in openttd.cfg was broken.rubidium
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).
2007-04-04(svn r9560) -Codechange: add support for multiple 'base' directories for ↵rubidium
newgrf searching. -Codechange: do not add duplicate files to the newgrf list.
2007-04-02(svn r9545) -Documentation: Some corrections to previous doxygen workbelugas
2007-03-21(svn r9385) -Cleanup: doxygen changes. Today, we are exploring the letter N.belugas