Commit graph

242 commits

Author SHA1 Message Date
TimeServ
469fb50e57 use better mixing for 8-bit sounds, some cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2254 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-08 21:02:39 +00:00
TimeServ
de74e43c4a added snd_linearresample for better quality resampling, defaults to 1
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2253 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-08 06:44:47 +00:00
Mark Olsen
e3e65b511c No, really.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2230 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-21 17:23:35 +00:00
Mark Olsen
618aa941b7 Fixed 2 remotely exploitable buffer overflow bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2229 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-21 16:25:25 +00:00
Spoike
b22df9d2d0 LordHavoc is the one for noticing this.
By using snd_mixahead.value, the start time was being cast to a float, which eventually resulted in inaccuracies with longer uptimes.
This extra cast will ensure starttime is independant of uptime (it's an int).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2182 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-09 01:59:07 +00:00
Spoike
aeea639fc2 Filename security paranoia. Added a glsl extension to the shader system. using serverinfo, you can enable shaders without cheats now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2079 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-11 03:12:10 +00:00
Spoike
f7f18ffd66 archive snd_khz
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2024 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-26 05:48:40 +00:00
Spoike
8fe69738c5 Make ambient sounds loop.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1966 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-13 01:00:10 +00:00
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
1730d4dc81 This is fun.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1924 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-01 22:36:12 +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
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
9355c7dda5 makeconfig.sh - the shell script that generates config.h either automagically or through prompts, use it through make
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1586 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-26 03:02:55 +00:00
TimeServ
ad3f2c26ac warning fixes
log_* cvars (readable translation, cycling, custom dir/file, developer, etc)
cl_standardmsg (like cl_standardchat, colors names in standard net messages, defaults to 0 to annoy people)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1378 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-26 08:07:26 +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
027032a304 roq fixes, but timing is still way off
an attempt to fix avi playback.. but it's still busted


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1227 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-12 19:37:24 +00:00
TimeServ
0511e3bcbf don't crash using -soundspeed
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1226 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-12 17:57: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
46c05df0ea allways -> always.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1172 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 15:33:27 +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
86b651132e Annother day of hacking finished.
Time for bed.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1137 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-08 00:37:52 +00:00
Spoike
0fb5e1dccb Makes vid_restart not do a double flush, resulting in faster vid_restarts, or at least less stutters when loading models.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1100 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-18 23:52:42 +00:00
Spoike
dfd8e1aaed Redesigned sound code for greater modularity.
Added support for dp6/dp7 protocols (ents are still broken).
md3 tags should work properly (still suffer from origin-of-parent interpolation bugs)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1089 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-14 04:52:10 +00:00
Mark Olsen
7b0f0fb0e1 DirectX is a Win32 thingie only.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1076 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-04 17:40:09 +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
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
8911d2f3d5 hidden a message with developer.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@999 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-08 06:03:15 +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
95eafd7427 some bugfixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@867 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-06 02:47:36 +00:00
Spoike
c2988990c2 I committed too much last time, so here goes for a big commit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@774 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-13 16:29:20 +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
73680ca9b7 -nosound readded (which registers and locks the nosound cvar, and prevents any sound devices being intiailsed or anything fun like that)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@544 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-02 07:09:14 +00:00
Spoike
2f1329a1fe ambient sounds always loop now... hopefully.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@504 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-23 00:18:51 +00:00
TimeServ
fbe03ef6e3 few more sound fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@308 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-07 00:23:06 +00:00
TimeServ
85bcbb1b20 oops
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@307 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-06 23:59:42 +00:00
TimeServ
d1f57ab175 play/playvol made non-positional
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@306 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-06 23:44:39 +00:00
Spoike
960b9e734a removed my debugging spam.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@298 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-03 23:06:58 +00:00
Spoike
5fbe74b582 Small stuph.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@297 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-03 22:52:02 +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
d2e02eccbe gcc warnings = gone
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@223 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-15 03:11:07 +00:00
Spoike
8184225473 Initial Checkin
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@15 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-23 00:15:46 +00:00