alberth
88fe11aae3
(svn r19835) -Codechange: Extract grfident equality check to its own method.
15 years ago
alberth
e68645f18c
(svn r19553) -Doc: Added/converted explanation to some GRFConfig functions.
15 years ago
yexo
ce7a0304f5
(svn r19315) -Fix (r19295): Show the filename in the newgrf windows if the newgrf name is not empty
15 years ago
yexo
23af928ce9
(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
b21278659c
(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
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
e7fbbdc81d
(svn r18813) -Codechange: deduplicate copying a newgrf config
15 years ago
rubidium
982b8ee5fc
(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
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
36739925a2
(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
be9033295e
(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
peter1138
8ab3e4b7b6
(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
skidd13
9b282b3e51
(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
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
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
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
d452683aa6
(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
smatz
40d5242f91
(svn r13618) -Codechange: move tar-specific declarations to separate file
...
Removes indirect dependency on <string> and <map> for over 40 files
17 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
17 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.
17 years ago
glx
a28ea38653
(svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings
17 years ago
smatz
b6ec43896d
(svn r12993) -Fix (r11175): list used for sorting GRFs wasn't freed
17 years ago
glx
97cb66d099
(svn r12991) -Codechange: removed some unneeded includes
17 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.
17 years ago
peter1138
70aa24320e
(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
71d4004a85
(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
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
00c9d3ef20
(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
skidd13
3ae50673a3
(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
c0a2c0c23e
(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
3722b834ef
(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
glx
ab886349ab
(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
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
glx
045c996364
(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