rubidium
eb0be0322a
(svn r11569) -Fix [FS#1480]: full paths sometimes did not work correctly.
17 years ago
skidd13
7a4d96f629
(svn r11480) -Codechange: Rename the function ALIGN fitting to the naming style
...
This fixes also FS#1450
17 years ago
rubidium
da6ee7c73b
(svn r11464) -Fix: some issue that made OpenTTD on MorphOS seriously unplayable.
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
glx
d7d03edf2d
(svn r11159) -Fix (r11155): restore the ability to save in a non existing file
17 years ago
glx
958895a7a7
(svn r11156) -Fix r11155: fix one compiler makes the other warn ;)
17 years ago
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.
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
truelight
9b7814159e
(svn r11117) -Add: add support for 7z .tar files, which are in the 'old' (deprecated) format
17 years ago
glx
7d551bae1b
(svn r11116) -Fix (r11106): tar loader was not compiled for WIN32
17 years ago
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!)
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
truelight
e994f3195a
(svn r11100) -Fix r11099: darn typos...
17 years ago
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
17 years ago
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
17 years ago
truelight
b2c765e620
(svn r10715) -Fix: limited-fs code was broken
17 years ago
glx
ad41b2dbd4
(svn r10272) -Fix (FS#916): remove more invalid characters from savegame names
18 years ago
rubidium
0d8e82b7d7
(svn r10246) -Fix (r10297): some forgotten money conversions and truncation issues. Thanks to benc for providing the patch.
18 years ago
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.
18 years ago
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>
18 years ago
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.
18 years ago
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
18 years ago
rubidium
60d738f23a
(svn r10116) -Fix [FS#850]: remove invalid characters (for the file system) from savegame names. Based on a patch by TheJosh.
18 years ago
rubidium
9a57a1912d
(svn r10073) -Codechange: make the NewGRF paths in the config file without any full paths (again).
18 years ago
rubidium
b5915a25df
(svn r9990) -Fix: MorphOS and AmigaOS do not like "//" in filenames as that means the same as "/../" in means in Unix.
18 years ago
rubidium
1c1a4bc872
(svn r9560) -Codechange: add support for multiple 'base' directories for newgrf searching.
...
-Codechange: do not add duplicate files to the newgrf list.
18 years ago
rubidium
065144b5ae
(svn r9281) -Fix [FS#687]: compile failure when compiling with 'home directories' enabled (stepancheg).
18 years ago
rubidium
b30f46f274
(svn r9271) -Codechange: make the language pack initialisation a little more clear and extendable (more language paths).
18 years ago
rubidium
aeb7241db8
(svn r9266) -Codechange: unify the retrieval of the base paths a little more.
18 years ago
rubidium
9a107b8752
(svn r9130) -Codechange: move the fileio functions that do open a file into a Fio slot together.
18 years ago
rubidium
c0ac3745a0
(svn r9129) -Codechange: unify parts of DeterminePaths.
18 years ago
rubidium
979ccd45ba
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
18 years ago
rubidium
4169bfba06
(svn r9050) -Codechange: Foo(void) -> Foo()
18 years ago
belugas
5792aa85c7
(svn r8987) -Cleanup: doxygen changes. Again. Mostly (still) @files missing tags and (more than just) a few comments style.
18 years ago
belugas
240cbd4dd2
(svn r8950) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style.
18 years ago
truelight
f5ea97e0b3
(svn r8647) -Codechange: add a general way to handle platforms who can only 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.
18 years ago
KUDr
07c30785ab
(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp)
18 years ago