Commit graph

4004 commits

Author SHA1 Message Date
Spoike
571e6fe748 Fix mouse acceleration not reverting to windows settings on quit.
Can still happen when crashing out.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4478 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-09-22 06:26:40 +00:00
Spoike
4e8073aedd Fixed hexen2 hub support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4477 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-09-18 21:43:06 +00:00
Spoike
4cd41b9e49 just in case
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4476 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-09-12 06:55:52 +00:00
Spoike
51d71fee45 an attempt to fix missing vweps with ezquake.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4475 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-09-12 06:41:29 +00:00
Spoike
28c910fd84 don't use chunked downloads with ezquake. its just too buggy.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4474 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-09-09 01:16:03 +00:00
Spoike
492c7dd3bf msvc can be too permissive.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4472 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-09-07 06:07:17 +00:00
Spoike
763cef2441 added mic input device option.
reworked prediction code, now more generic.
added cl_lerp_smooth, cl_predict_extrapolate, cl_predict_timenudge cvars to allow tweaking player prediction/smoothness in a few different ways. cl_lerp_smooth's default changed to not smooth out live games in order to avoid unnecessary lag (was effectively set to 1, and would be 0 in vanilla).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4471 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-09-06 22:57:44 +00:00
Spoike
61ff88d970 aaaand fix terrain too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4470 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-08-27 18:09:14 +00:00
Spoike
7f84519ce2 fixed fbsp vertex lighting the lame way. still needs a glsl method.
fixed shader lighting levels due to overbright methods.
fixed scaling.
misc other fixes and tweaks.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4469 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-08-27 13:18:09 +00:00
Spoike
bedcee84a9 compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4467 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-08-21 08:13:09 +00:00
Spoike
2fcd837d57 misc compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4466 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-08-21 08:06:35 +00:00
Spoike
bdbcde319a git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4465 fc73d0e0-1445-4013-8a0c-d673dee63da5 2013-08-21 07:57:17 +00:00
Spoike
85458ccabc msvc sucks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4464 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-08-21 07:53:49 +00:00
Spoike
9e3cd210e8 webgl tweaks, in an attempt to get more friendly crashes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4462 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-08-21 07:41:33 +00:00
Spoike
e0aab1c134 try to fix shader vertex lighting issue.
fix issue where ftenq protocol positions were sticking.
fixed manifest file windowless infinite wait.
Added support for ^[\img\foo^] images on the console if they are at the start of the line.
Console objects may now be drawn by csqc. Key input is blocked for now, lest csqc get access to things its not allowed to access. Will add provisions later.
fixed sound menu crash.
added ultrawide speex codec.
clamp micamp levels to try to boost audio quality/audiability.
rtp control plugins are now allowed to use opus, speex support is correctly queried instead of assumed.
WriteFloat now works properly, and not just for ents.
no longer sending prespawn/precaches/signon commands to clients that do not expect them.
fix sql column header queries.
more verbose about active nq protocol verions.
-condebug overrides config.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4461 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-08-21 07:14:39 +00:00
Spoike
803c8c4878 fix while(1)->while(0) issues.
debug evaluation is more verbose (gives field listings when passed an entity).
added string length checks in various places.
sizeof(array) works again.
tweaked fields to be a little more user friendly, and not complain about classes so much when simply using entities.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4460 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-08-21 06:55:54 +00:00
Spoike
7793b0a73a tiny bugfix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4459 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-08-15 00:59:13 +00:00
Spoike
e67a7b2d7d Added grep feature.
Be warned, the output printing is quite slow (yay richedit!), so try to avoid searching for 'self'.
At least we can actually find it.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4458 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-08-11 17:18:44 +00:00
Spoike
07190feda6 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4457 fc73d0e0-1445-4013-8a0c-d673dee63da5 2013-08-07 14:24:04 +00:00
Spoike
3b51dae2c9 misc fixes/tweaks/stuff intended to get the emscripten port working better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4456 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-08-07 14:20:24 +00:00
Spoike
cf893a1921 minor tweaks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4455 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-08-07 14:13:18 +00:00
Spoike
dcc3d4c5d9 nacl has a chance of compiling again now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4454 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-08-06 10:48:51 +00:00
Spoike
627fe505b9 Fix some of the issues highlighted by the emscripten port.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4453 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-08-06 02:20:56 +00:00
Spoike
3343370115 Fix some of the issues highlighted by the emscripten port.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4452 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-08-06 02:19:06 +00:00
Spoike
7b1eb0b906 don't crash on missing fog shaders.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4450 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-31 18:00:11 +00:00
Spoike
1241494248 erk, emscripten defaults to asm_js now? o.O
I wouldn't mind, but its buggy!

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4449 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-31 07:01:34 +00:00
Spoike
6ca7c92303 asm_js generates bad javascript. disable it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4448 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-31 05:08:33 +00:00
Spoike
8537fa70ca Add loop and until keywords for hexen2 compat. Official code doesn't use these but they are supported by the official hcc thus mods do use them.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4447 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-31 01:59:16 +00:00
Spoike
0f20e2ef9f Add loop and until keywords for hexen2 compat. Official code doesn't use these but they are supported by the official hcc thus mods do use them.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4445 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-31 00:28:22 +00:00
Spoike
a343d8d843 Reduce webgl dependancies (no more q2/q3/plugins which wouldn't work anyway). Use websockets via our own javascript thunk to avoid issues/weirdness with emscripten's bsdsockets emulation.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4444 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-31 00:20:16 +00:00
Spoike
ab2351a18f Fix sse alignment issues in linux.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4443 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-31 00:17:51 +00:00
Spoike
3099521350 don't do the console window thing in windows.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4442 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-29 19:27:09 +00:00
Spoike
eff67b14e3 try to get the right extensions on windows qcc builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4441 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-29 18:09:16 +00:00
Spoike
e0abab20f3 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4440 fc73d0e0-1445-4013-8a0c-d673dee63da5 2013-07-29 17:55:14 +00:00
Spoike
a05f3f36a0 slightly better doom3 compat
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4439 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-29 17:36:44 +00:00
Spoike
e4565ee476 fix .unions.
added some extra warning names (so '#pragma warning disable F305' etc can work)

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4438 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-29 17:34:19 +00:00
Spoike
4e480ab24e compile fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4437 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-28 00:48:14 +00:00
Spoike
681a9a1823 small addition.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4436 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-27 23:15:29 +00:00
Spoike
48c5f98aa5 fix for gles2 headers/omissions
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4435 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-27 23:13:40 +00:00
Spoike
50c2df12df small update
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4434 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-27 19:00:00 +00:00
Spoike
0fae92fec2 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4433 fc73d0e0-1445-4013-8a0c-d673dee63da5 2013-07-27 18:59:52 +00:00
Spoike
f975113d10 small update
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4432 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-27 18:53:07 +00:00
Spoike
ed407b8f81 remove most of the spam when running progsless. its uninteresting in that situation.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4431 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-27 12:23:13 +00:00
Spoike
28303fb5f3 fixing d3/q4 maps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4430 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-27 12:22:12 +00:00
Spoike
30c332a451 stoopid bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4429 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-27 12:21:35 +00:00
Spoike
cffad14419 yay minimal
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4428 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-26 17:40:06 +00:00
Spoike
fceb09fe37 reworked demo playback and interpolation.
added support for recording nq demos, but only if not already on the server.
added capturedriver as a sane way to select between screenshots, avi, or various plugins.
output sound device can now be selected via the menu. not all drivers provide device enumeration (openal and dsound do).
enabled openal, but not using it unless an openal device is explicitly requested as its still a little buggy.
added \"\"" markup in the console.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4427 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-26 17:19:06 +00:00
Spoike
7d4c88814e fix for .unions so h2 compiles again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4426 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-26 11:36:23 +00:00
Spoike
236e08f9fb try to fix webgl
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4425 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-15 09:55:27 +00:00
Spoike
1f0e6651b1 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4424 fc73d0e0-1445-4013-8a0c-d673dee63da5 2013-07-14 23:19:22 +00:00
Spoike
09eb26c396 dedicated server fixes for hunk-less stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4423 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-14 23:06:14 +00:00
Spoike
c1fde0e079 fix join/observe not updating spectator userinfo properly in mvds. fix a couple of other recent mvd bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4422 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-14 16:39:21 +00:00
Spoike
4a1416a5d2 removed hunk memory (as well as -mem argument).
removed cache memory.
added fallback normalmap texture.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4421 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-14 12:22:51 +00:00
Spoike
b2f5ae8f1c removed userinfobasic, things should be kept in sync more easily now.
xmpp got some major tweaks. more sasl methods etc. multiple accounts.
misc other tweaks.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4418 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-07-13 12:14:32 +00:00
Spoike
00a6409804 work around q3map2
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4417 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-30 00:58:49 +00:00
Spoike
229eb39bfc fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4416 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-29 23:46:34 +00:00
Spoike
8db6963fc4 fix terrain issues.
xmpp: add support for /poke and /slap.
lame notify hack. need to work out what I'm doing with that stuff.
xmpp: easier targeting of friends (engine finds it easier too... yay less bugs).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4414 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-29 21:08:09 +00:00
Spoike
0823eb0968 xmpp NAT holepunching (ICE) is now implemented. it doesn't know how to do relays.
xmpp voip support (speex only). just because.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4413 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-29 16:01:07 +00:00
Spoike
601373a1c3 fix funny lump size when fogs are used.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4412 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-26 19:47:33 +00:00
Spoike
b9292a9d42 should make tls more sane when the connection fails.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4411 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-26 03:41:29 +00:00
Spoike
de000eb969 Client no longer used allow_luma for anything. don't bother parsing it.
fix for msvc

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4410 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-26 03:40:39 +00:00
Spoike
619b571da0 fix mouse selection of alternative consoles.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4409 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-26 03:38:27 +00:00
Spoike
feb28c939d fix minimal build
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4408 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-26 03:36:30 +00:00
Spoike
cebd0583a9 allow_luma is no more.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4407 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-26 03:36:02 +00:00
Spoike
986d21f10c Fix a couple of bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4406 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-26 03:35:29 +00:00
Spoike
138eecf7d7 misc fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4404 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-26 00:39:13 +00:00
Spoike
7a70549690 RED! MWAHAHA
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4403 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-26 00:15:23 +00:00
Spoike
2ff17aed07 Reworked the gnutls code. Now more consistant with windows, and more generic. Still does not validate the server's certificate, so disabled by default.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4402 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-24 09:04:00 +00:00
Spoike
4c3c8a2e64 couple of compile fixes for the webgl port
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4401 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-23 20:11:58 +00:00
Spoike
b6252d940c fixed a few warnings and errors
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4399 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-23 03:59:48 +00:00
Spoike
fa9252cefa splitscreen cleaned up more.
demo menu can now leave quake dir.
scissor+line rendering abstracted from csqc.
added a rain particle effect to the 'high' particle set.
added support for parsing ezquake's koi stuff. Still only generates utf-8.
implemented some string-buffer builtins from dp that have been stubs for quite some time.
http code now supports/uses gzipped downloads properly.
added support for non-blocking tcp connects.
#pragma optimize makes more sense with the gui version now.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4397 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-23 02:17:02 +00:00
Spoike
10d2188eb2 urr, no warnings if they wanted a tga one
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4396 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-23 01:29:01 +00:00
Spoike
3c1c9a3c65 more verbose on errors. also load up the right shared object on non-windows.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4395 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-23 01:27:49 +00:00
Spoike
34f418435d rawpath should be the system path, not a local path
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4394 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-23 01:26:43 +00:00
Spoike
918c67c691 does that fix anything?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4393 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-21 08:23:42 +00:00
Spoike
8aae46a71b fixes for classes and autoproto. also added #pragma autoproto
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4392 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-13 22:45:15 +00:00
Spoike
58e4ff0817 Smoother with a little packetloss/choking.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4391 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-12 15:37:20 +00:00
Spoike
0ac9b88343 Misc fixes and tweaks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4390 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-11 02:06:06 +00:00
Spoike
9accc5ac56 fix class type assignments.
report class names with various field-related warnings.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4389 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-06 22:31:33 +00:00
Spoike
c0bb744b88 class/constructor tweaks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4388 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-05 23:58:20 +00:00
Spoike
1c95764c54 changed strip flags to not strip by default. cos that's kinda pointless tbh.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4387 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-04 16:08:00 +00:00
Spoike
40a72c7bac fix a couple of issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4386 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-04 15:41:21 +00:00
Spoike
d0c7e83b62 handy macros that are available in windows but not loonix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4385 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-04 15:37:39 +00:00
Spoike
1d1eeffa7b Trying to fix some bugs... yay.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4384 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-03 10:29:16 +00:00
Spoike
fc82e561be Rewritten how arguments and fields are stored. No longer mangles types quite so much.
Fixes for class support. Its actually usable now. Seriously! I've even modified my menu code to use it! Why don't you believe me?
Fixes for structs+pointers.
Added warnings for comparisons against incompatible function etc types. This'll probably generate a load of th_pain warnings in vanilla code.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4383 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-06-02 06:03:54 +00:00
Spoike
cb8e23709a handle packetloss properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4382 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-31 04:15:41 +00:00
Spoike
2ed1053e66 competence is a highly prized trait.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4381 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-31 01:28:59 +00:00
Spoike
02c1372458 to go with the voip tweak partial commit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4380 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-31 01:22:03 +00:00
Spoike
60da9e0e95 to go with the voip tweak partial commit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4379 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-31 01:20:41 +00:00
Spoike
300eaaddd4 to go with the voip tweak partial commit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4378 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-31 01:20:01 +00:00
Spoike
b2d34e6470 Added prompt menu.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4377 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-31 01:19:26 +00:00
Spoike
d60d64c640 does apparently work after all.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4376 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-31 01:18:01 +00:00
Spoike
df22ebd757 Tweaks for voicechat:
Added cl_voip_test cvar, so you can hear/test yourself.
Added potential support for opus.
audio ducking
autogain switched off by default. its nice for pure speech but shite for push-to-talk, voice activation, or indeed anything else.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4375 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-31 01:16:07 +00:00
Spoike
95188faec2 Added code so csqc can see if a player has been ignored/vignored.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4374 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-26 01:05:58 +00:00
Spoike
71207fce9b Try to fix a colours issue mixup. that glsl specifies a colour attribute.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4373 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-20 16:01:40 +00:00
Spoike
69415bc35b oops. fix button 7 again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4372 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-20 02:18:50 +00:00
Spoike
d97a163011 Playing around trying to make the emscriptem port more usable/nicer.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4371 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-14 18:38:42 +00:00
Spoike
594a297ffa updated.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4370 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-14 13:02:54 +00:00
Spoike
ef1a55ff9c make sure str2chr always returns a positive value.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4369 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-14 13:01:52 +00:00
Spoike
5086f30e79 don't spam about unwritable cvars when you're trying to reset all cvars. its a bit pointless.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4368 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-14 12:59:37 +00:00
Spoike
4ae77514af unused local.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4367 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-14 12:58:22 +00:00
Spoike
15507ad06a more builtin descriptions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4366 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-14 12:57:45 +00:00
Spoike
b076b8e7de Don't crash from q3 bots.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4365 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-14 12:56:26 +00:00
Spoike
a607d1a8f3 ClientReEnter mechanism should not be mutually exclusive with regular parms. Allow both to function simultaneously, even if that seems pointless.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4364 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-14 12:55:55 +00:00
Spoike
37de21efc7 Print out all fields if -v -v is specified (double-verbose).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4363 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-14 12:52:07 +00:00
Spoike
fe6704dacb Don't waste qc field space if the field is doubly-declared.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4362 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-14 12:51:19 +00:00
Spoike
60859bbc9f fix md3 tags
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4361 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-14 12:49:58 +00:00
Spoike
2085f67ad4 update for VID_ApplyGammaRamps
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4360 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-14 06:01:02 +00:00
Spoike
1aaeb8faa8 fix a print
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4359 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-13 14:43:44 +00:00
Spoike
82bbdf6e44 various linux tweaks that make it run a little better in debian. Added the handy stack dump code for debug client builds too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4358 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-13 14:37:47 +00:00
Spoike
ab1d780e33 various linux tweaks that make it run a little better in debian. Added the handy stack dump code for debug client builds too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4357 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-13 13:43:18 +00:00
Spoike
4182d5d160 revert that breakage
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4356 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-11 14:10:06 +00:00
Spoike
9dbf5b5837 changed to not load gamecode from quake paths, to avoid issues with buggy quakeworld clients that will freely download stuff from anywhere (not sure what to do about ktx, but it can be reenabled with a cvar).
image_width is now only set by a single function.
tweaked scancode inputs slightly. added support for printscreen binds.
changed the way gamma works. glsl gamma now used when running windows, or hardware gamma is not available. removed gl_contrast+gl_brightness.
q2 gamecode support no longer has a system componant. this means that ports only need the generic stuff.
misc tweaks to the d3d11 renderer.
added brief descriptions to many builtins. need to add comments to constants, globals, and fields too, somehow.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4355 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-11 14:02:55 +00:00
Spoike
39705786bd mingw64 changed to match msvc's symbol decorations (but not all the extra runtime stuff). So we need new versions of the various libraries if they are to compile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4354 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-11 10:36:30 +00:00
Spoike
873f0a8134 Fix various warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4353 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-11 05:03:07 +00:00
Spoike
2c084c6042 Couple of fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4352 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-10 15:20:47 +00:00
Spoike
675c34777c allow cross-origin websocket connections.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4351 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-09 03:01:29 +00:00
Spoike
9f4d7529df Make spec_track internally work off entities, as its 1-based already. This properly fixes the crashing bug onemanclan had.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4350 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-09 02:18:15 +00:00
TimeServ
67e139bb64 attempt fix static gl build
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4349 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-08 02:06:02 +00:00
Spoike
b82dc4f068 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4348 fc73d0e0-1445-4013-8a0c-d673dee63da5 2013-05-07 22:25:00 +00:00
Spoike
ec03a4ed95 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4347 fc73d0e0-1445-4013-8a0c-d673dee63da5 2013-05-07 22:23:28 +00:00
Spoike
cab2869fc7 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4346 fc73d0e0-1445-4013-8a0c-d673dee63da5 2013-05-07 21:07:14 +00:00
Spoike
4074f20476 apparently this is more correct.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4345 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-07 19:41:17 +00:00
Spoike
24040b9ef2 couple of issues I spotted that might eventually lead to issues if they're not fixed now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4344 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-07 19:40:44 +00:00
Spoike
029b630ab7 slightly better version.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4343 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-07 19:39:35 +00:00
Spoike
f293ffa8a5 Fix a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4342 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-07 19:39:04 +00:00
Spoike
d4f3879a25 attempt to fix some mingw issues
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4341 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-07 19:38:36 +00:00
Spoike
61e1eee0e9 more explicit checks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4340 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-07 19:37:37 +00:00
Spoike
9c163d60aa create paths as needed
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4339 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-07 19:37:00 +00:00
Spoike
5330c9b124 fix nacl
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4338 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-07 19:36:42 +00:00
Spoike
186dd8ab68 trying to make it a little more robust for omc
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4337 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-07 02:08:44 +00:00
Spoike
b7db01e3fc Probably more correct.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4336 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-05 01:18:38 +00:00
Spoike
11c7f5965a For debug versions of plugins.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4334 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-04 10:37:51 +00:00
Spoike
d90ed31f93 Simple fix for stupid bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4333 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-04 10:37:21 +00:00
Spoike
f7737ea294 Finally remove dependancy on X11 library, as no symbols are used from it anyway.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4331 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-04 04:48:14 +00:00
Spoike
045d75a770 Small fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4330 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-04 04:38:48 +00:00
Spoike
0ace59febf oops
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4329 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-04 04:18:41 +00:00
Spoike
2e978297a9 Fix a bad type.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4328 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-04 04:03:12 +00:00
Spoike
ec6a6dcd8b Attempt to determine where we're being run from on linux as we do in windows.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4327 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-04 04:02:25 +00:00
Spoike
6b41038183 Be a bit more precise with backtrace prints. Don't include the signal handler, and make sure the faulting frame is not corrupted by the handler on x86.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4326 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-04 04:01:47 +00:00
Spoike
ffc2a08589 pass network addresses around as a pointer rather than as a struct. They've grown quite a bit from vanilla code and can now be quite large. this should give more efficient network filtering+matching.
Added version+time+date to segfault lots.
try to use vbo+vao as needed.
added a manifest file in order to disable uac emulation and its virtual store lies.
particles now support a sort of namespace. eg: an effect called "cfg.effect" will load up the 'cfg' particle config and use its 'effect' effect (but not replace any explicit effects). You can still create particle effects called 'cfg.effect' with no issue.
Added support for fsarchive plugins.
Added a sys_register_file_associations command. .bsp not yet handled, but demo playback should work fine.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4324 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-03 04:28:08 +00:00
Spoike
152f3cf78a fix a qcc issue with [x,y,z] and temp values, also fix an issue with comments and preprocessor.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4323 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-03 04:10:48 +00:00
Spoike
1cd5a38a3e fix deadlock issues on xp, hopefully.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4319 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-13 15:29:50 +00:00
Spoike
6ce12710eb code for a watchdog debug dump.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4318 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-13 13:42:57 +00:00
Spoike
8b3541b9b4 fix a few input issues.
ctrl+tab completes the suggested text (ctrl+space still does).
escape works again to bring up the menu (oops)
partial command completion works again.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4317 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-13 13:41:02 +00:00
Spoike
a70446c69b oops, fixed a missing function for emscripten builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4316 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-13 13:13:15 +00:00
Spoike
577419de37 improve handling of writing to world entity.
split left and right alt. binds+gamecode still use left-alt exclusively. alt-for-red-chars only works with left alt. right alt is alt-gr, so text input now works fine.
fixed support for keypad and text entry.
sdl2 clipboard support, if we're compiled with sdl2.
fixed issues with sdl sound. shouldn't be so terrible now.
soundinfo command now more verbose.
support for interpolated ramps.
removed input line length limitations, although some limitations still remain.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4315 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-13 08:15:18 +00:00
Spoike
19c2e051a6 remove spam/infinite loop bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4314 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-13 07:53:21 +00:00
Spoike
b3fccfa11f finally fix font corruption.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4313 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-13 07:52:15 +00:00
Spoike
04c1e9537b more correct scoping warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4312 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-12 15:01:48 +00:00