summaryrefslogtreecommitdiff
path: root/src/fileio.cpp
AgeCommit message (Collapse)Author
2008-05-27(svn r13303) -Fix (r13301): 64bit gcc compilation was brokensmatz
2008-05-27(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.rubidium
2008-05-08(svn r13008) -Fix [FS#1997]: silence some MSVC x64 warningsglx
2008-05-05(svn r12963) -Fix (r12960): loading some NewGRFs could cause an infinite loop.rubidium
2008-05-05(svn r12960) -Codechange: handle return values of (some) file system related ↵rubidium
functions.
2008-05-04(svn r12943) -Fix: reading/modifying invalid data under some circumstances.rubidium
2008-01-22(svn r11940) -Codechange: Store short filename once per open file instead of ↵peter1138
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-13(svn r11837) -Feature: [OSX] added "/Library/Application Support/OpenTTD" to ↵bjarni
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-07(svn r11777) -Codechange: split the string header and make do not include it ↵rubidium
when it's not necessary.
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-12-04(svn r11569) -Fix [FS#1480]: full paths sometimes did not work correctly.rubidium
2007-11-19(svn r11480) -Codechange: Rename the function ALIGN fitting to the naming styleskidd13
This fixes also FS#1450
2007-11-18(svn r11464) -Fix: some issue that made OpenTTD on MorphOS seriously unplayable.rubidium
2007-10-29(svn r11355) -Fix [FS#1377]: loading too many GRFs was not handled ↵rubidium
gracefully causing crashes and such.
2007-09-25(svn r11159) -Fix (r11155): restore the ability to save in a non existing fileglx
2007-09-24(svn r11156) -Fix r11155: fix one compiler makes the other warn ;)glx
2007-09-24(svn r11155) -Fix [FS#1253]: work around a nasty MS CRT 8 SP1 bug making it ↵rubidium
virtually impossible to debug 32bpp games under MSVC (http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=257606). Patch by boekabart.
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 r11117) -Add: add support for 7z .tar files, which are in the 'old' ↵truelight
(deprecated) format
2007-09-15(svn r11116) -Fix (r11106): tar loader was not compiled for WIN32glx
2007-09-14(svn r11109) -Fix r11106: it is silly to use a std::list for something that ↵truelight
is cleary a std::vector (less memory ;) WHOHO!)
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 r11100) -Fix r11099: darn typos...truelight
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 r11095) -Codechange: don't abuse 'file_pos' by storing the file_slot in ↵truelight
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-07-28(svn r10715) -Fix: limited-fs code was brokentruelight
2007-06-22(svn r10272) -Fix (FS#916): remove more invalid characters from savegame namesglx
2007-06-21(svn r10246) -Fix (r10297): some forgotten money conversions and truncation ↵rubidium
issues. Thanks to benc for providing the patch.
2007-06-17(svn r10194) -Codechange: prefer the current working directory above the ↵rubidium
user's home directory when openttd.cfg exists in the current working directory, otherwise prefer the home directory.
2007-06-17(svn r10188) -Codechange: make it a little easier to load a savegame from ↵rubidium
the console: -g <absolute path> -g <relative path from current working directory> -g <relative path from within the savegame directory>
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-13(svn r10143) -Add: store the filename of the grfs opened and allow easy ↵truelight
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-12(svn r10116) -Fix [FS#850]: remove invalid characters (for the file system) ↵rubidium
from savegame names. Based on a patch by TheJosh.
2007-06-08(svn r10073) -Codechange: make the NewGRF paths in the config file without ↵rubidium
any full paths (again).
2007-05-30(svn r9990) -Fix: MorphOS and AmigaOS do not like "//" in filenames as that ↵rubidium
means the same as "/../" in means in Unix.
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-03-18(svn r9281) -Fix [FS#687]: compile failure when compiling with 'home ↵rubidium
directories' enabled (stepancheg).
2007-03-17(svn r9271) -Codechange: make the language pack initialisation a little more ↵rubidium
clear and extendable (more language paths).
2007-03-17(svn r9266) -Codechange: unify the retrieval of the base paths a little more.rubidium
2007-03-12(svn r9130) -Codechange: move the fileio functions that do open a file into ↵rubidium
a Fio slot together.
2007-03-12(svn r9129) -Codechange: unify parts of DeterminePaths.rubidium
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-03-03(svn r8987) -Cleanup: doxygen changes. Again. Mostly (still) @files missing ↵belugas
tags and (more than just) a few comments style.
2007-03-01(svn r8950) -Cleanup: doxygen changes. Mostly @files missing tags and a few ↵belugas
comments style.
2007-02-08(svn r8647) -Codechange: add a general way to handle platforms who can only ↵truelight
have a limited amount of file-descripters open at any given time. The Fios keeps track how many times a file is opened, and tries to close up files which aren't used often. The first platform using this is PSP. Patch based on the work of Turulo.
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)