Commit graph

87 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
487865b83e blarg.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1713 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-15 19:45:04 +00:00
Spoike
13d0a98133 cygwin, mingw should compile, plugins in dedicated servers, and stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1711 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-15 19:15:39 +00:00
Spoike
972a4f08b2 added sin, cos, atan2 builtins.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1695 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-10 00:21:45 +00:00
Spoike
80df004c4d A new builtin, for drawing lines.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1690 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-09 19:08:08 +00:00
Spoike
55517b7257 Stop the random crashes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1680 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-06 15:39:57 +00:00
Spoike
bb1c73658c Added memset, memcpy, and memmove for efficency (rather than implementing them in a qvm).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1644 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-01 01:21:08 +00:00
TimeServ
61ea1d4429 plug_list enhancement
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1637 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-30 05:01:43 +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
Mark Olsen
aac111c7b0 Use netinc.h
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1624 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-29 13:32:15 +00:00
Spoike
1130dea569 Rewrote a few bsp tracing stuff (primarily for heightmap things).
Q3 client and server support is in.
heightmaps are in.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1252 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-26 22:56:51 +00:00
Spoike
bd4c05706b Fixed fastcall calling convention issues with GLRelease/mingl
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1220 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-12 00:22:38 +00:00
Spoike
7903310326 Lots of small changes. q3 player models are working and things, though csqc. md5mesh is supported (md5anim through an alternate 'format' to specify model name and a list of md5anims).
Lots of cool stuff.

r_shadows is still broken due to depth sorting of model (and thier depth value being written too late).


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1196 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-03 23:14:59 +00:00
Mark Olsen
b171e40621 Stuffing some MorphOS code on CVS.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1183 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-01 14:17:27 +00:00
Spoike
63ff3fd453 Small bugfix, bug reported by Moodles.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1182 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-01 12:35:16 +00:00
Spoike
b172d60b88 Fixed some plugin problems.
loading/closing is more verbose (and a tiny bit easier)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1102 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-18 23:54:34 +00:00
Spoike
95948b35ec Rewrote FTE's NQ-compatable networking code. The nqnet functions have gone, as we support both udp and ipx through the qw code.
cl_netfps has also had some work.
Added polling of http-based master servers (gameaholic).
Lots of darkplaces compatability things added, for nexuiz.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1054 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-26 12:55:34 +00:00
Spoike
4a0c02b685 Hopefully, the server will now run on 64bit archetectures.
Also, a piece of unitialialized memory should now be fixed.
there's a con_centertext cvar added
an extra default particle texture.
further dp protocol compatability stuff.
EF_ADDATIVE works on models and supposedly sprites. will do sw sprites too at some point.

Linux makefile needs work still.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1017 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-17 02:36:54 +00:00
Spoike
219fd9ec38 When will microsoft manage to follow some sort of standard?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@912 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-22 02:09:19 +00:00
Spoike
bf6b09ebfd *sigh*
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@909 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-20 03:23:46 +00:00
Spoike
7e1ab9e29b *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@906 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-20 02:57:11 +00:00
Spoike
ce3c561cfe CSQC is standard now, and secure via the same md4 as a map currently has.
Particle system functions renamed a bit, a few other cleanups in that area.
Console handling tweeked. Better rules for subconsoles and plugins. Commands are coloured if it'll be execed, which should help reduce occurences of chat being commands. tab compleation tweeked, partial compleation no longer changes the suggestion.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@895 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-10 03:55:18 +00:00
Spoike
e269aeaf16 Qux removed to a plugin.
Small bugfixes.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@887 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-01 15:36:23 +00:00
Spoike
51da6d3abf Fixed some warnings and stuph.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@829 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-24 23:47:32 +00:00
Spoike
61a0b39953 ability to close specific plugins
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@785 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-15 20:50:45 +00:00
Spoike
cd85374a3a Added some new plugin function stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@783 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-15 17:46:40 +00:00
Spoike
80b9437e05 Revamped console, added walljumping.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@775 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-13 16:50:37 +00:00
Spoike
4b0395e079 Lots of stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@684 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-24 08:45:56 +00:00
Hexum
ab41bbb0a7 fix for random linux crashes (from spike)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@552 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-04 16:26:22 +00:00
Spoike
eb8f1f7149 certainly made that a bit cleaner.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@518 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-23 01:11:54 +00:00
Spoike
dbf4d2b8c4 Erm... whoops... Use the one from the headers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@412 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-13 17:23:46 +00:00
Spoike
ed24206d93 I thought TimeServ had fixed this... Ah well, here timeserv, have a conflict!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@406 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-13 09:23:09 +00:00
Spoike
4d528922fd plugins
capture_codec tga/png/jpg
Changed intensity of hud images so that high-gamma settings work... (maybe too much)
Small progs changes that fixes hexenc


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@323 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-13 07:24:59 +00:00
Spoike
ea5c476ced I need to commit more often...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@316 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-10 06:32:29 +00:00
Spoike
db3aebb341 bit more... 'optional'...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@275 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-30 22:51:15 +00:00
Spoike
f25bf204a9 small bug fix, part way through adding plugin stuff for menu support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@247 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-26 00:30:42 +00:00
Spoike
52850efb87 going for plugins.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@240 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-24 02:45:00 +00:00