summaryrefslogtreecommitdiff
path: root/src/fileio.h
AgeCommit message (Collapse)Author
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-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 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-06-18(svn r10198) -Fix (r10194): did not search all search paths.rubidium
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-03-17(svn r9266) -Codechange: unify the retrieval of the base paths a little more.rubidium
2007-03-12(svn r9129) -Codechange: unify parts of DeterminePaths.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-01-02(svn r7759) -Merge: makefile rewrite. This merge features:rubidium
- A proper ./configure, so everything needs to be configured only once, not for every make. - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies. - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC. - Proper support for OSX universal binaries. - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files. - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files. Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.