rubidium
e7bb5c63a4
(svn r14466) -Doc: remove some obsolete parameters, fix a few parameter names in comments and add a little more doxygen documentation.
2008-10-14 19:27:08 +00:00
rubidium
5ab74534da
(svn r14414) -Fix: replace instances of strncpy with strecpy as strncpy doesn't guarantee the resulting string is '\0'-terminated.
2008-09-29 16:27:02 +00:00
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.
2008-08-31 10:50:05 +00:00
rubidium
d452683aa6
(svn r14196) -Codechange: make the searching for files with a specific extension extendable.
2008-08-31 08:38:30 +00:00
rubidium
a7d3d86f55
(svn r14069) -Fix: silence MSVC 64-bits compile warnings.
2008-08-13 14:52:54 +00:00
rubidium
355c3bb482
(svn r13810) -Fix: small memory leak when tar files would be found.
2008-07-23 21:42:55 +00:00
frosch
e631c70b1c
(svn r13698) -Fix (r13697): MorphOS compilation.
2008-07-13 19:44:05 +00:00
frosch
ac0ae1536f
(svn r13697) -Feature: Add some support for symbolic links in .tar files.
2008-07-13 16:09:00 +00:00
frosch
16ad1fe7bb
(svn r13693) -Fix (r11106, r11117): Do not rely on .tar files always ending with a block of zeros.
2008-07-12 14:49:43 +00:00
smatz
40d5242f91
(svn r13618) -Codechange: move tar-specific declarations to separate file
...
Removes indirect dependency on <string> and <map> for over 40 files
2008-06-24 09:05:24 +00:00
glx
b60a1326bf
(svn r13390) -Codechange: introduce usererror() for fatal but not openttd related errors. Now all error() will 'crash' openttd after showing the message in win32 releases (MSVC), creating a crash.log and crash.dmp (like the '!' hack used before). On the other hand, usererror() will just close the game. So use error() only when it can be helpful to debugging, else use usererror().
2008-06-05 20:54:52 +00:00
smatz
47c22cffce
(svn r13303) -Fix (r13301): 64bit gcc compilation was broken
2008-05-27 23:10:42 +00:00
rubidium
33e18c236d
(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.
2008-05-27 21:41:00 +00:00
glx
a28ea38653
(svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings
2008-05-08 13:20:54 +00:00
rubidium
e7d125de58
(svn r12963) -Fix (r12960): loading some NewGRFs could cause an infinite loop.
2008-05-05 22:35:33 +00:00
rubidium
f2683a6037
(svn r12960) -Codechange: handle return values of (some) file system related functions.
2008-05-05 21:54:05 +00:00
rubidium
8fe14f7162
(svn r12943) -Fix: reading/modifying invalid data under some circumstances.
2008-05-04 21:47:36 +00:00
peter1138
78156065cf
(svn r11940) -Codechange: Store short filename once per open file instead of once per sprite cache entry. Not all file types need this, but most of the time no sprite cache entry needed it either.
2008-01-22 07:27:06 +00:00
bjarni
adf1e34ead
(svn r11837) -Feature: [OSX] added "/Library/Application Support/OpenTTD" to the search paths (based on patch by pv2b)
...
It is possible to set this to something else setting shared-dir with config
This works on other OSes as well but it's off by default (and not really tested)
2008-01-13 17:45:29 +00:00
rubidium
b09d957f31
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
2008-01-07 14:23:25 +00:00
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'
2007-12-25 11:26:07 +00:00
rubidium
00c9d3ef20
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
2007-12-25 09:48:53 +00:00
rubidium
8ebdfb258f
(svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations.
2007-12-21 19:21:21 +00:00
rubidium
eb0be0322a
(svn r11569) -Fix [FS#1480]: full paths sometimes did not work correctly.
2007-12-04 18:42:08 +00:00
skidd13
7a4d96f629
(svn r11480) -Codechange: Rename the function ALIGN fitting to the naming style
...
This fixes also FS#1450
2007-11-19 20:40:14 +00:00
rubidium
da6ee7c73b
(svn r11464) -Fix: some issue that made OpenTTD on MorphOS seriously unplayable.
2007-11-18 18:28:32 +00:00
rubidium
3722b834ef
(svn r11355) -Fix [FS#1377]: loading too many GRFs was not handled gracefully causing crashes and such.
2007-10-29 23:02:31 +00:00
glx
d7d03edf2d
(svn r11159) -Fix (r11155): restore the ability to save in a non existing file
2007-09-25 14:15:38 +00:00
glx
958895a7a7
(svn r11156) -Fix r11155: fix one compiler makes the other warn ;)
2007-09-24 19:55:50 +00:00
rubidium
3e31222294
(svn r11155) -Fix [FS#1253]: work around a nasty MS CRT 8 SP1 bug making it virtually impossible to debug 32bpp games under MSVC ( http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=257606 ). Patch by boekabart.
2007-09-24 19:15:42 +00:00
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
2007-09-16 18:10:52 +00:00
truelight
9b7814159e
(svn r11117) -Add: add support for 7z .tar files, which are in the 'old' (deprecated) format
2007-09-15 15:38:09 +00:00
glx
7d551bae1b
(svn r11116) -Fix (r11106): tar loader was not compiled for WIN32
2007-09-15 15:21:17 +00:00
truelight
357783eb1e
(svn r11109) -Fix r11106: it is silly to use a std::list for something that is cleary a std::vector (less memory ;) WHOHO!)
2007-09-14 23:03:28 +00:00
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)
2007-09-14 22:25:00 +00:00
truelight
e994f3195a
(svn r11100) -Fix r11099: darn typos...
2007-09-13 18:50:42 +00:00
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
2007-09-13 18:46:29 +00:00
truelight
e545220563
(svn r11095) -Codechange: don't abuse 'file_pos' by storing the file_slot in it too, but use a nice seperate variable for it
...
-Note: on a side-note, this allows files bigger than 16+ MiB, needed for tar-support
2007-09-13 18:22:34 +00:00
truelight
b2c765e620
(svn r10715) -Fix: limited-fs code was broken
2007-07-28 12:45:27 +00:00
glx
ad41b2dbd4
(svn r10272) -Fix (FS#916): remove more invalid characters from savegame names
2007-06-22 19:30:59 +00:00
rubidium
0d8e82b7d7
(svn r10246) -Fix (r10297): some forgotten money conversions and truncation issues. Thanks to benc for providing the patch.
2007-06-21 14:32:27 +00:00
rubidium
e2f839b6a2
(svn r10194) -Codechange: prefer the current working directory above the user's home directory when openttd.cfg exists in the current working directory, otherwise prefer the home directory.
2007-06-17 21:26:57 +00:00
rubidium
c016eca97f
(svn r10188) -Codechange: make it a little easier to load a savegame from the console:
...
-g <absolute path>
-g <relative path from current working directory>
-g <relative path from within the savegame directory>
2007-06-17 20:09:05 +00:00
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.
2007-06-17 15:48:57 +00:00
truelight
19513f2604
(svn r10143) -Add: store the filename of the grfs opened and allow easy access to the name
...
-Codechange: store the SpriteID in the spritecache too
-Add: add a PNG loader for graphical files
-Documentation: added a document to explain the PNG format
2007-06-13 16:21:11 +00:00
rubidium
60d738f23a
(svn r10116) -Fix [FS#850]: remove invalid characters (for the file system) from savegame names. Based on a patch by TheJosh.
2007-06-12 15:46:34 +00:00
rubidium
9a57a1912d
(svn r10073) -Codechange: make the NewGRF paths in the config file without any full paths (again).
2007-06-08 21:16:17 +00:00
rubidium
b5915a25df
(svn r9990) -Fix: MorphOS and AmigaOS do not like "//" in filenames as that means the same as "/../" in means in Unix.
2007-05-30 18:24:54 +00:00
rubidium
1c1a4bc872
(svn r9560) -Codechange: add support for multiple 'base' directories for newgrf searching.
...
-Codechange: do not add duplicate files to the newgrf list.
2007-04-04 12:03:10 +00:00
rubidium
065144b5ae
(svn r9281) -Fix [FS#687]: compile failure when compiling with 'home directories' enabled (stepancheg).
2007-03-18 18:02:24 +00:00