Commit Graph

105 Commits

Author SHA1 Message Date
olsner 1001aeacf5 Linux/GCC compat, headers and such
This was SVN commit r695.
2004-07-10 21:25:35 +00:00
Ykkrosh 4769a92894 Added newline at end
This was SVN commit r689.
2004-07-10 20:28:18 +00:00
janwas d5197e3c77 revised mount logic; now stores the mount point and uses it to correctly convert from VFS to native paths
This was SVN commit r675.
2004-07-09 19:58:43 +00:00
janwas af58e59633 pass FILE_NO_AIO at open instead of calling uncached_* (which ended up duplicating code)
This was SVN commit r674.
2004-07-09 19:57:59 +00:00
janwas dc5e5dd774 PNG and BMP "encode" now operational
This was SVN commit r672.
2004-07-09 02:18:59 +00:00
janwas 41d8db6f81 add vfs_exists, uncached_io, and change IO interface to value-return buffer param (void**)
This was SVN commit r671.
2004-07-09 02:17:37 +00:00
janwas 306053c994 bring read interface into line with vfs_io (value-return buffer param)
This was SVN commit r670.
2004-07-09 02:14:21 +00:00
janwas 8306c53492 increase control block size to "plenty" until things settle
This was SVN commit r669.
2004-07-09 02:13:09 +00:00
janwas 226fd70292 now open files in binary mode on windows (thanks to philip for catching this)
This was SVN commit r661.
2004-07-08 15:10:26 +00:00
janwas a779ef8595 common interface to texture format codecs; work started on encoders (to write textures)
This was SVN commit r658.
2004-07-08 14:40:24 +00:00
janwas b7a05fd50b fix iterator invalidation bug triggered by multiple mount points; add vfs_uncached_io()
This was SVN commit r657.
2004-07-08 14:38:58 +00:00
janwas 875d78d10b reqnum = int; complain if watch failed
This was SVN commit r655.
2004-07-08 14:33:58 +00:00
janwas 0c05abb304 fixes for write code and new uncached_write routine (bypass cache, no file padding problem)
This was SVN commit r654.
2004-07-08 14:30:35 +00:00
janwas bfafb8fce4 add to some comments
also removed redundant VFS file open flags

This was SVN commit r633.
2004-07-05 02:33:47 +00:00
janwas 7bb375ac69 completed support for writing files (hopefully). now adds them to the VFS tree.
also removed VFS file open flags, used file.h flags instead

This was SVN commit r632.
2004-07-05 02:32:43 +00:00
janwas 680d5dd7b4 revisions to file open flag comments. btw, these are now also used by VFS
This was SVN commit r631.
2004-07-05 02:31:32 +00:00
janwas e9a7876e0d slight changes to open / stat interface to bring in line with SUS (and therefore POSIX, i hope)
also pass in pmode

This was SVN commit r630.
2004-07-05 02:30:53 +00:00
janwas 64444251d4 fixed bug (missing else) reported by philip. thanks!
This was SVN commit r615.
2004-06-30 18:47:15 +00:00
janwas ddd7821425 res reload callback interface change: now also receives handle of object being reloaded. simplifies tex reload code
This was SVN commit r602.
2004-06-25 22:19:19 +00:00
janwas 766a0b4077 split tex code into (file format specific) loaders and opengl texture ops like upload()
This was SVN commit r601.
2004-06-25 22:18:03 +00:00
janwas cc02e9ea97 more abstraction in VFS<->dir watch interface (thinking of using dazuko and/or FAM)
This was SVN commit r594.
2004-06-23 16:29:03 +00:00
janwas fc476e04f6 stomped on numerous warnings
This was SVN commit r584.
2004-06-21 16:29:47 +00:00
janwas 24f0756712 bail if #chars = 0 (avoid BC warning); fix debug messages
This was SVN commit r574.
2004-06-21 12:49:37 +00:00
Ykkrosh c01eb01dfb Linux fixedness
This was SVN commit r567.
2004-06-19 21:13:10 +00:00
Ykkrosh aed6d949d5 new #included
This was SVN commit r566.
2004-06-19 21:12:39 +00:00
janwas 2299573567 now catches bad_alloc exceptions thrown during reloads (=> no need to wrap new in exception handler there)
This was SVN commit r558.
2004-06-19 14:45:46 +00:00
Ykkrosh d181ccf97e Hopefully now working in gcc *and* MSVC
This was SVN commit r542.
2004-06-18 19:14:42 +00:00
Ykkrosh 32b6627645 Miscellaneous gcc fixes
This was SVN commit r541.
2004-06-18 18:56:10 +00:00
Ykkrosh 3b6ad836e2 Minor header adjustments
This was SVN commit r536.
2004-06-18 18:34:04 +00:00
janwas 38bfabeb38 fixed goto problem with gcc - was jumping over an (unused) var decl
This was SVN commit r535.
2004-06-18 14:59:50 +00:00
janwas 941f7c3661 bullet-proofing - fail if reloading VDir
This was SVN commit r531.
2004-06-18 13:32:33 +00:00
Ykkrosh 8347bebebc Spelling corrction
This was SVN commit r524.
2004-06-16 16:29:38 +00:00
Ykkrosh f149e007e1 Unicode fonts
This was SVN commit r520.
2004-06-16 15:36:49 +00:00
Ykkrosh 358f43205a Allow texture format override, so that the 8-bit GL_ALPHA fonts can work
This was SVN commit r519.
2004-06-16 15:35:05 +00:00
janwas e1997e6b31 added a few comments
This was SVN commit r506.
2004-06-14 12:59:15 +00:00
janwas ed23cb7cc1 hopefully bulletproof is_subpath
This was SVN commit r497.
2004-06-13 19:13:32 +00:00
janwas da1e6df5f0 uhoh, yet another problem. quick fix so others aren't impacted; investigating
This was SVN commit r496.
2004-06-13 17:15:38 +00:00
janwas 3893d1597d fixed loophole in mount path handling (cannot now mount parent dir of a previous mounting)
This was SVN commit r495.
2004-06-13 16:58:22 +00:00
janwas f1713bbca0 improved mount logic; added comments
This was SVN commit r491.
2004-06-13 16:12:54 +00:00
janwas 641ad1e382 moved fmod shutdown here from main - this module is responsible for that.
This was SVN commit r485.
2004-06-13 15:32:34 +00:00
janwas 15ca5cbf21 newline stomper and fixed warnings
This was SVN commit r473.
2004-06-11 02:14:18 +00:00
MarkT e4fe4ed602 JS Interface to entities. It even partially works now.
This was SVN commit r469.
2004-06-10 22:24:03 +00:00
olsner a30a82469e some toe-stepping that evidently resulted in two prot variables :P
This was SVN commit r465.
2004-06-09 22:38:37 +00:00
janwas bb1a9bad7d fail file_map requests for empty files (avoids bc warning)
This was SVN commit r460.
2004-06-09 16:10:23 +00:00
janwas 25d2a41c64 glprintf: ignore empty strings (avoids bc warning)
This was SVN commit r459.
2004-06-09 16:09:07 +00:00
olsner ca523e9f3c GCC compat (init skipped by goto)
This was SVN commit r442.
2004-06-09 13:49:32 +00:00
olsner 5d440712f2 GCC compat
This was SVN commit r441.
2004-06-09 13:48:49 +00:00
olsner 5b8d980809 Fixed path_validate debug statement
This was SVN commit r438.
2004-06-09 13:44:12 +00:00
janwas 825289242a added vfs_get_path (bad name) - returns the VFS path to a given real dir
(used by res.cpp to translate paths from WFAM)

This was SVN commit r426.
2004-06-08 15:21:42 +00:00
janwas d7dbf08bc2 auto-reload finished (last remaining problem: translating OS paths to VFS)
This was SVN commit r425.
2004-06-08 15:18:01 +00:00