Commit Graph

1750 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 a141f45715 Bit more verbose. Also ensures that the location actually exists.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4311 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-11 10:34:06 +00:00
Spoike 53f8676f83 needed for macos, apparently. there's still a bug elsewhere.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4307 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-09 00:19:13 +00:00