1
0
forked from mirrors/0ad
Commit Graph

30 Commits

Author SHA1 Message Date
janwas 9d317d8164 1) removed scaffolding from file
2) VFS: add path_copy convenience routine
3) various lib code: removed unnecessary const cluttering things (like
const char* _const_ name in param list)

This was SVN commit r1483.
2004-12-09 23:12:02 +00:00
janwas e15562b7ae 1) file: clean up path conversion call sites (was using private routine)
2) all: change file_enum and cohorts to pass struct stat instead of just
size

3) minor cleanup

This was SVN commit r1465.
2004-12-07 01:19:10 +00:00
janwas c0ef326340 1) file.cpp: add functions for relative path conversion, also better dox
2) ERR_PATH_LENGTH (instead of ERR_VFS_): now used by file.cpp also
3) better document file_enum and FileCB

This was SVN commit r1433.
2004-12-01 18:44:38 +00:00
janwas f6cfcd0555 slight change to interface (FileIO* vs simple void* output value) to simplify Zip interface (needed to change because now it has to store data of its own in IOs when doing partial reads)
This was SVN commit r1161.
2004-09-19 15:51:12 +00:00
janwas 1aae7dcead more dox!
also found problem with partial reads from zip; not important since all
files are currently loaded in one go, but will attack tomorrow.

This was SVN commit r1065.
2004-08-27 00:33:20 +00:00
janwas df5ba1f690 simplification: only VFS allocates output buffer
This was SVN commit r1051.
2004-08-24 17:34:00 +00:00
janwas d58e16e0ff work in progress. caching moved to sync IO code (simplifies things).
This was SVN commit r1017.
2004-08-18 02:12:52 +00:00
janwas 94316413db rough initial implementation of revised L3 file block cache. works, considerable speedup.
also: async routines now fill a control block, instead of returning a
handle (that's now done by VFS)

This was SVN commit r1001.
2004-08-15 21:50:29 +00:00
janwas 0b452320ef add callback for sync I/O (useful for reporting progress)
This was SVN commit r978.
2004-08-12 15:51:31 +00:00
janwas 1f2ebb678e slightly change file_enum interface (don't need flags); comments
This was SVN commit r974.
2004-08-11 20:23:22 +00:00
janwas b81d75a0f3 add file_io_complete call for polling.
also some bugfixes related to reading from zip

This was SVN commit r956.
2004-08-10 15:57:35 +00:00
janwas d274e4c7f9 more comments; also SECTOR_SIZE constant added
This was SVN commit r914.
2004-08-05 14:01:49 +00:00
janwas 338b849b4c FILE_CACHE flag: overrides default of not caching the file handle (see explanation in latest build thread)
This was SVN commit r910.
2004-08-05 12:48:13 +00:00
janwas 3e92b4a043 comment path conversion functions
This was SVN commit r880.
2004-08-02 13:44:48 +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 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 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 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 15ca5cbf21 newline stomper and fixed warnings
This was SVN commit r473.
2004-06-11 02:14:18 +00:00
janwas 78fa30be94 export path conversion function for res.cpp interaction with FAM
This was SVN commit r424.
2004-06-08 15:16:50 +00:00
janwas 2d51e32878 some bulletproofing; completed+documented mmap
This was SVN commit r373.
2004-06-03 00:17:24 +00:00
janwas af3949ab7a updated file mapping (was partially unimplemented)
This was SVN commit r371.
2004-06-02 20:41:05 +00:00
olsner c0d33d3330 Linux/GCC compat, a few newlines at end of file, minor changes
This was SVN commit r353.
2004-06-02 15:31:55 +00:00
janwas 34c3c12934 fixes for VC6 build problems reported by Stu.
This was SVN commit r239.
2004-05-18 00:38:39 +00:00
janwas 556afb4a5c fixed current directory problem. added healthy does of paranoia to file_rel_chdir, and removed bogus chdir from main.cpp (from test code)
This was SVN commit r238.
2004-05-17 13:23:39 +00:00
janwas d1036b9a18 VFS updates; texture reloading now works, tex.cpp is WIP
This was SVN commit r223.
2004-05-13 13:52:48 +00:00
janwas f383cfd4a8 fix for vc7 (incomplete type in container). also some updates to vfs
This was SVN commit r221.
2004-05-08 01:11:51 +00:00
janwas 5b5726ed4d merge of (work in progress) VFS code with new dir layout
This was SVN commit r216.
2004-05-06 17:14:30 +00:00
janwas 5aa404a8f2 no message
This was SVN commit r174.
2004-03-05 16:23:31 +00:00
janwas 89c5b0d88c the big merge (tm). see forum post for changes made.
This was SVN commit r158.
2004-03-02 23:56:51 +00:00