Commit graph

151 commits

Author SHA1 Message Date
Spoike
6430b9b214 added a macro for specifying all the cvar properties. This will simplify stuff for Q2.
Also added trace_endcontents and trace_surfaceflags.
File system (still too selectivly) reads gz files.
Fixed a buffer overflow in the http client.
Made server downloads decompress zipped files to a temporary file. This should make it download them faster.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1943 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-11 02:09:43 +00:00
Spoike
cf73c8b81e Copyable console, and up2's demand for aliases like fuhquake.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1935 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-06 01:06:17 +00:00
Spoike
6f98f6f108 fastarrays works properly now.
changed stereo -> numchannels in the sound code
added/tweeked the download menu
fixed a coupld of fs functions
switched the key config menu to mouse-driven
right click now closes menus


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1901 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-28 06:41:20 +00:00
Spoike
19ab4fd050 Meh, I'm just going to commit everything.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1778 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-02 23:01:54 +00:00
TimeServ
a8889d8f24 THIS COMMIT MOST LIKELY BREAKS THINGS.
changed conchars from 16-bit to 32-bit
added support for RGBI fg and bg colors
better support for ^8/^9 text codes
fix to echoish menu sounds
added plugin stuff for centerprints/server messages/chat messages, not finalized (?)
GL/SW color character functions improved (although neither handle transparent characters, and SW needs improvement with the palette remapping)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1750 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-01 09:01:15 +00:00
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
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
b606b001a0 always dump configs into quake/fte
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1522 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-20 22:43:10 +00:00
Spoike
fb387ad41a it's a cosmetic thing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1473 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-16 03:46:33 +00:00
TimeServ
8246a4b9fb don't use black text
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1424 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-05 02:10:54 +00:00
TimeServ
b63737c08b constblock memory stuff
added condump, dumps current console contents to file


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1347 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-21 01:14:04 +00:00
Spoike
01d92fdaf2 make dedicated servers build again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1342 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-17 17:05:21 +00:00
Spoike
a17335870b Hopefully the fix for TimeServ's memory leak report: 'cmd.c, 1844, 18 bytes every map load'
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1341 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-17 16:49:21 +00:00
Spoike
c2885176f3 Added an emergency escape route if you somehow run an alias that loops infinatly. You're still an idiot if you do so, but shift+ctrl+alt at the same time will abort the alias. This may change at some point.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1316 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-14 04:20:19 +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
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
TimeServ
3a0181d5ca exec permission demote
fix to r_explosionlight
few sound fixes to csqc standard effects (not done yet)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1246 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-26 21:59:36 +00:00
TimeServ
ba4e46bf9f cvarlist changes, cvarreset added
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1244 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-23 03:25:22 +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
19476733cb allready -> already.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1171 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 15:22:15 +00:00
Spoike
f1ea7c0c06 Q2 works, models are depth sorted (the same time as particles).
some extra macros added. We have a full set of dp te effect builtins (but not parsing them all yet... so not advertising them either).
Dedicated server does not build. I need to add some functions to svmodel.c
sound should work properly with roq/cin/avi playback.
gl_detail should work like in ezquake. there's also a new gl_detalscale cvar
bss size should be a small ammount smaller.
all the dp te builtins will send something. But fte can't parse all of them yet.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1145 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-14 01:57:34 +00:00
Spoike
7e9bbc3fac ktpro should work better now woot. a few other things too
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1130 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-03 15:16:20 +00:00
Spoike
f85340b9a2 Big huge mega-whooping commit.
I wonder how many things this'll break...
On the plus side, nexuiz works well, and ktpro works as well as in mvdsv. Hurrah!


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1122 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-01 19:23:00 +00:00
Spoike
c2930803d4 hopefully, everything will work that little bit better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1072 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-04 04:20:20 +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
7c418ca423 qc string_t is now an int instead of char *, stringtable is char * instead of int.
Some fixes and extra stuff for nexuiz, but it took a protocol extension, which is currently assumed instead of queried.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1015 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-15 18:49:04 +00:00
Spoike
a9d9293fc1 Changed spikeset.
Some csqc tweeks, bugfixes, additional work (yay - prediction, keyboard input!)
Some teamplay tweeks, supports much more fuhquake-compatable teamplay stuff.
Changed the texture naming scheme a bit.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@979 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-26 16:04:12 +00:00
Spoike
f43b221896 Stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@942 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-16 16:21:27 +00:00
Spoike
d7bb31a516 Some changes. QC execution has been tweeked a little. It needs further work still.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@925 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-28 00:11:59 +00:00
Spoike
5926f9f4cf *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@917 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-23 22:14:08 +00:00
Spoike
f23f8ba961 Small changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@903 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-18 06:13:36 +00:00
Spoike
d4e494488b *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@896 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-12 23:40:42 +00:00
Spoike
9ae7e2621d SOFTWARE RENDERING IS BROKEN: DO NOT USE ASM VERSION.
Lots of changes.
CSQC should be functional, but is still tied to debug builds. It WILL have some bugs still, hopefully I'll be able to clean them up better if people test it a bit.
Precompiled headers are working properly now. Compile times are now much quicker in msvc. This takes most of the files this commit.
Restructured how client commands work. They're buffered outside the network message, some multithreaded code is in. It needs a bit of testing before it's active.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@885 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-28 07:16:19 +00:00
Spoike
cb487034e9 csqc is now working in some ways. Hash tables use renamed functions, and a few other changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@871 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-09 19:32:09 +00:00
Spoike
999e637bc1 Hmm, can't have variably increased plugin function names if the cmd code uses pointers to the function names. This'll help emulated stuff work better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@784 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-15 20:50:02 +00:00
Spoike
fb69253127 AddCommand is more informative now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@782 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-15 17:39:12 +00:00
Spoike
a859377ded command line arguments are more reliable because of this.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@748 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 02:46:11 +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
Spoike
c58a179f87 A showalias command, just like up2 requested.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@671 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-21 04:38:02 +00:00
Spoike
0322bdd338 mvd playback works properly now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@587 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-08 04:14:52 +00:00
Spoike
e79177657d server stuffs can't use cmd_arvc/cmd_argv in aliases.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@502 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-22 08:28:30 +00:00
Spoike
956b174c9d cfg_save causes serverinfo/localinfo to be saved. (as well as a warnings fix)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@437 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-17 17:37:18 +00:00
Spoike
6e4d99572a Closed a security hole
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@410 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-13 17:22:13 +00:00
Spoike
37a8fd5056 teamplay and plugin stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@273 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-30 22:49:01 +00:00
Spoike
c3cc229964 small cmd.c changes for plugins
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@241 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-24 02:45:22 +00:00
Spoike
9c59fafc3e lots of changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@228 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-20 23:25:38 +00:00
Spoike
6bdaa5cbcf moved cfg_save_name around
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@157 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-07 18:18:49 +00:00
Spoike
a2fc77cd18 Fixed a small bug with 'alias name'
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@144 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-06 11:13:43 +00:00
Spoike
8698617965 aliasing to just a command can now be used as a shortcut.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@76 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-30 07:05:41 +00:00
Spoike
018b3ada7e Off by one error that was causing crashes on certain configs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@48 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-26 10:17:21 +00:00
Spoike
a67a6355d2 Initial checkin
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-21 01:25:48 +00:00