Commit graph

313 commits

Author SHA1 Message Date
Spoike
503eff6421 Reworked the filesystem. We now support a virtual filesystem. Many places accept stream usage, although many formats do not support this.
I'm not sure if this will break anything. It shouldn't do, but it might.

Not everything is ported over yet. Ideally there would be no more use of fopen anywhere else in the engine, and com_gamedir would be made static to fs.c
There are a couple of other changes too.

http/ftp stuff is currently disabled.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1728 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-21 03:07:33 +00:00
Spoike
c6b27d0b81 Fixes all that tests for relative file depths.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1674 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-06 02:21:56 +00:00
Spoike
339d478659 I wonder how much this will break. Ahh well. It works for me, and I need to go to bed.
Well, plugins should be able to read/write files through the engine. audio decoding plugin interface is in (might be changed later).
TCPConnect is in.
msg_filter and scr_centersbar.
some recording fixes too.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1634 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-30 01:20:53 +00:00
Spoike
cdb82f3316 small cleanup and bugfix for zlib->abail_zlip
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1576 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-21 21:09:11 +00:00
Spoike
64fdee9482 -usehome should work properly, there's also an extra option to restart the filesystem, flushing pak files without reloading them, but it might not work properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1549 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-31 00:52:03 +00:00
Spoike
aeff202074 Added an option to restart the filesystem (to add pak files etc).
This will be used by the various download functions.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1492 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-16 12:49:15 +00:00
Spoike
f024485827 fixed up the flocate command.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1474 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-16 03:47:26 +00:00
Spoike
d4d365175d I've been fixing warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1448 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-07 16:27:20 +00:00
Spoike
4366f644e5 A few tweeks here and there.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1407 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-01 03:09:17 +00:00
Spoike
c890800e0e Fixed a rare compile error and a warning
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1335 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-14 16:56:59 +00:00
Spoike
347311db8c q3 fixes and misilaneous minor changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1298 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-08 22:52:46 +00:00
TimeServ
b2494e4bc6 fs_cache fixed again, hopefully
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1259 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-27 06:43:12 +00:00
Spoike
2f4161ced8 FTE's filesystem has migrated to outside common.c
Note also the addition of q3's sv_pure stuff - which isn't yet compleate (or ethical).


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1250 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-26 22:52:26 +00:00