Commit Graph

4200 Commits

Author SHA1 Message Date
Spoike e00155b8fa mostly fix v_gunkick/punchangle in nq mods.
as an nq client, its still ignored.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4580 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-15 01:30:23 +00:00
Spoike d9085d414b lets try that one again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4579 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-14 21:56:41 +00:00
Spoike 38a9770253 add support for symlinks in zips.
try to fix normalmaps on q3bsps. could do with verification, but at least I'm not the only one with a bug if its still buggy.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4578 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-13 02:42:25 +00:00
Spoike 705e9ac9e8 fix a comment bug reported by gnounc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4577 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-13 02:33:11 +00:00
Spoike 90d981d8ef I used an msvc-only function. oops.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4576 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-05 01:01:52 +00:00
Spoike ede02cbb91 attempt to load the no_texture image from disk as needed. this allows gb to avoid the pink check board image that he seems to hate. With this change, he is free to change it to pink ponies or whatever else he fancies.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4575 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-04 22:05:47 +00:00
Spoike 2f62478648 mneh
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4574 fc73d0e0-1445-4013-8a0c-d673dee63da5
2014-01-03 21:53:17 +00:00
Spoike bfe545222e added con_textsize to resize console separately from everything else.
qcc: added support for variable arguments via the va_arg intrinsic.
qcc: fix up some comment/whitespace issues with the preprocessor.
random hacks to try to improve dp compatibility a little.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4573 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-29 22:48:28 +00:00
Spoike d7cdc39ccd don't use qw nail packets for clients that have replacement deltas. at least we won't repeat lots of angle changes.
tweak some culling with attachments to be a little more in line with DP. This should fix view models randomly disappearing in nexuiz.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4572 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-23 21:33:40 +00:00
Spoike 1f4a0cb80a try that again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4571 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-20 11:26:28 +00:00
Spoike 2a030268c5 trying to sort out input madness.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4570 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-19 18:41:57 +00:00
Spoike d4e312b398 compile even with no freetype support
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4569 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-19 16:38:36 +00:00
Spoike 4a19ae4627 try to resolve rjlan's forgetting-configs issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4568 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-19 16:36:17 +00:00
Spoike f762446a7d make cheat cvars allowed in single player by default.
fix an issue with referenced packs getting forgotten when running non-dedicated servers.
whichpack now always references packs even if allow_download_refpackages is disabled.
add setcursormode for compat with dp's csqc.
fix some qcc issues that came up.
bump some q3bsp sanity limits a little.
greater precision for android's vibrate feature.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4567 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-17 22:45:37 +00:00
Spoike 7ac2fd1b39 try to fix an issue with r_r2g with the grenade model not precached.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4566 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-12 12:39:34 +00:00
Spoike 9d10c167b6 fix a couple of inconsistencies.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4565 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-10 20:53:31 +00:00
Spoike a445b8486a fix terrain not saving properly
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4564 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-10 20:52:28 +00:00
Spoike e2081b565f webquake-compatible websocket support. yuck.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4563 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-09 01:18:27 +00:00
Spoike 483403dc9a misc bugfixes for things reported by 1path0gen1.
and a few added bugs for fun.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4562 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-08 20:06:55 +00:00
Spoike a62660d5e7 don't crash with pipes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4561 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-07 23:26:10 +00:00
Spoike 6d2849cf29 fix some qcc bugs with arrays+structs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4560 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-07 18:32:55 +00:00
Spoike 591b848148 trying improve ftedroid and fix the issue with opera+file urls.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4558 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-07 00:30:48 +00:00
Spoike 5f1ec064dc fix annoying warning about temps not being freed when pointers are used.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4557 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-07 00:28:02 +00:00
Spoike 6defcc7a5f better parsing for #pragma target
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4556 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-07 00:24:06 +00:00
Spoike f311eaec54 fix stupid binds menu bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4555 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-04 06:14:10 +00:00
Spoike d75ef8869e add a default autoexec.cfg for android at mushi's request.
add temp(ish) workaround for non-functioning tmpfile libc function on android.
clarified the error message displayed when tmpfile fails.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4554 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-03 15:15:50 +00:00
Spoike f438694f28 msvc sucks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4553 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-02 14:33:22 +00:00
Spoike 218006198d fix q2 bsp texture animations.
fix q2 prediction.
fix q2 saved games issues.
fix q2bsp fullbright/fullwhite lights.
fix potential issues from svs.clients no longer being preallocated.
fix rtlights not doing q1 bsp texture animations.
misc crash fixes.
hack to allow a clickable hud when using a touchscreen.
gl_max_size no longer affects 2d images.
select faithful fps preset option by default.
gl_font a,b,c works to select fallback fonts. freetype fonts reused to reduce memory usage when the same font is used multiple times either with different sizes or as fallbacks as part of other fonts.
allow static member functions. allow static locals.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4552 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-02 14:30:30 +00:00
Spoike 409c17b9fc fix some rtlight issues on q2bsp. this has a sideeffect of about trippling framerates, as well as enabling shadows and stopping glitches... a win all round... yay.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4551 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-12-01 10:54:16 +00:00
Spoike e000c2db3b fix new game not resetting everything.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4550 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-29 20:36:59 +00:00
Spoike 32ba2e16e8 fix cold-loading saved games issue
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4549 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-29 20:35:29 +00:00
Spoike e0faf074c7 stripped out my ancient form of in-engine translation. Implemented gettext style translation instead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4547 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-29 15:59:02 +00:00
Spoike 04a43ff62c hrm, that cvar wasn't defined
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4546 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-29 15:56:23 +00:00
Spoike 9d3c1e4477 stop getting confused between lava and slime.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4545 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-29 15:36:21 +00:00
Spoike 87564c9d79 stripped out my ancient form of in-engine translation. Implemented gettext style translation instead. Automatically determine language from environment settings.
try to imitate cyrillic chars if the charset doesn't support them using koi8 mappings, so russian-speaking users don't get so easily pissed about not knowing how to select a font that actually contains chars for their language.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4544 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-29 14:36:47 +00:00
Spoike 52a682bc8c misc tweaks to support:
opening (qtv) urls with android browser. mvds should stream using the same mechanism, if they have the right mime type.
arbitrary unicode basedirs in windows should work, and commandlines. not sure what else still doesn't work.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4542 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-28 01:41:55 +00:00
Spoike a1a78d787f mingl fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4541 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-28 01:38:33 +00:00
Spoike 75ef62b6f3 mingl fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4540 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-28 01:08:12 +00:00
Spoike ad8d634916 misc tweaks to support:
opening (qtv) urls with android browser. mvds should stream using the same mechanism, if they have the right mime type.
arbitrary unicode basedirs in windows should work, and commandlines. not sure what else still doesn't work.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4539 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-28 00:45:22 +00:00
Spoike c5f51a6801 fix compat with IE3. lol.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4538 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-28 00:39:49 +00:00
Spoike d6e089d87f small bug there when not running any progs...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4537 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-24 17:31:59 +00:00
Spoike ad2ee5ddd1 (too lazy to boot linux to test this before committing)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4536 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-24 16:49:56 +00:00
Spoike 494d794f95 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4535 fc73d0e0-1445-4013-8a0c-d673dee63da5 2013-11-24 16:47:17 +00:00
Spoike 70ac2fa5a3 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4533 fc73d0e0-1445-4013-8a0c-d673dee63da5 2013-11-24 16:38:57 +00:00
Spoike c9bc1e135a nacl tweaks.
attempt to list local ips properly on linux (needed for ICE).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4532 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-24 16:35:52 +00:00
Spoike 32dacf7492 upgrade to nacl sdk 31 in an attempt to stop chrome from erroring out.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4531 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-22 03:09:06 +00:00
Spoike 2c253d6635 fix some bugs...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4530 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-22 01:54:26 +00:00
Spoike 810686489d let emscripten compile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4529 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-22 00:15:46 +00:00
Spoike ef8a74fe1c grr
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4527 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-21 23:29:24 +00:00
Spoike 31c072501f blurgh.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4526 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-21 23:20:47 +00:00
Spoike 05644d07b4 fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4525 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-21 23:16:59 +00:00
Spoike 8640500899 err... linux doesn't need that.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4524 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-21 23:06:58 +00:00
Spoike f08489f141 .po support for qc.
rewrote messagemode to support utf8 properly, as well as left-arrow etc keys.
support for mouse-over images on console links and stuff.
added r_lerpmuzzlehack for certain viewmodels.
use libtool's dlopen stuff on cygwin to try to cover some cygwin path differences.
try to support utf-8 in filenames even in windows (only in nt, 9x is still ascii only).
added certificate validation for gnutls. gnutls now enabled by default in linux.
d3d11 tweaks. shadowmapping works.
tweaks for updated terrain format, to try to fix some inefficiencies/limitations.
xmpp plugin can now display avatars (xmpp /set avatars 1)
xmpp file transfers supported by default, but capability is disabled by default (can be enabled by hacking config).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4523 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-21 23:02:28 +00:00
Spoike 84315e641d iqms are NOT psks... some people... :P
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4522 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-11 05:14:45 +00:00
Spoike b85672ddfa I never learnt how to test stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4521 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-10 21:41:12 +00:00
Spoike 4ccf715bb1 fix shadowmaps on terrain.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4520 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-10 21:14:28 +00:00
Spoike 47fa0b93d2 nacl tweaks to get it working again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4519 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-06 21:55:56 +00:00
Spoike c17aa5f9a5 fix mouseover bug. Thanks to Max_Salivan for reporting it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4518 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-05 18:46:53 +00:00
Spoike d832b24d09 qcc debug builds were getting written to the release dir.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4517 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-05 18:12:18 +00:00
Spoike 6fb7a6c706 add model+sound precache counts.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4516 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-11-05 17:39:05 +00:00
Spoike 365e104f88 a couple of fixes for things that didn't compile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4515 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-29 17:58:20 +00:00
Spoike fb86222fc7 made max_clients more dynamic on the server to attempt to reduce bss usage. hopefully this will help the webgl port without resulting in extra crashes.
tweaked shadowmaps. now seems faster than stencil shadows. cubemap orientation should now match other engines.
tweaked terrain. rtlights work. added pvs tests for embedded terrain. sections are now saved in chunks instead, which should mean windows doesn't have a panic attack at 16 million files in a single directory. hurrah.
first pass at realigning menu options to cope with variable-width fonts. still need to do pure-text items.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4514 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-29 17:38:22 +00:00
Spoike 38305b4f06 Added OpenAL capture support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4513 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-26 02:50:24 +00:00
Spoike e8b6c874a2 Small fix for voice chat (oops).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4512 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-26 02:49:28 +00:00
Spoike 667b40ddf6 no water warping for secondary views.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4511 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-25 15:46:05 +00:00
Spoike df6ee13e90 fix spectating issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4509 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-21 05:20:13 +00:00
Spoike 27debce140 try to fix a crash OMC is having.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4508 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-21 04:27:36 +00:00
Spoike f52cf7cae1 fix qwd playback.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4507 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-19 10:33:06 +00:00
Spoike 2a73a3c2b1 clarify that it is a warning and not an error.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4506 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-19 10:30:38 +00:00
Spoike 224cd87ade don't try to use pvs on heightmaps where there is no pvs
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4505 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-19 10:29:33 +00:00
Spoike 6aeb900e90 Fix juddery mvds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4504 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-19 10:28:06 +00:00
Spoike 7f8bdb4cfa fix non-windows ports.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4503 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-09 01:00:24 +00:00
Spoike 73d82ddf13 fix non-windows ports.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4502 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-09 00:16:32 +00:00
Spoike a4481bac93 fix black skies bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4501 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-09 00:16:08 +00:00
Spoike a7a29c0907 compile fix for webgl port's non-features.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4500 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-08 17:18:44 +00:00
Spoike da01f6a98a Include module information in crash dumps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4499 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-08 17:09:41 +00:00
Spoike 07c93d76af favour mingw64 toolchain over the older mingw32 toolchain, because the headers associated with the toolchain are more up to date.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4498 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-08 16:49:42 +00:00
Spoike 740878d7c8 fix some non-windows builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4497 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-08 16:31:53 +00:00
Spoike b5dcabb9f5 fix some non-windows builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4496 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-08 16:29:54 +00:00
Spoike ae84691b38 fix some non-gl builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4495 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-08 16:23:42 +00:00
Spoike ceb259ccbc fix some non-windows builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4494 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-08 16:21:11 +00:00
Spoike ac5122ec7d fix some non-windows builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4493 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-08 16:17:19 +00:00
Spoike c469bcd446 fix some non-gl builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4492 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-08 16:13:18 +00:00
Spoike d396450a0a log file defaults changed to be more readable. timestamps now included by default. also fixed a bug in the location the log is written.
fixed numerous shadowmapping bugs. actually seems to work now. appears to draw more lights than is actually needed, however.
changed how keyboard focus works. can now have menu+console open at once, although you probably need shift+escape to get at it.
fixed a few issues with nexuiz compat. there are *still* other issues.
greatly refactored cd playback code. cd driver code is now a backend only and does not provide its own commands. track remapping accepts named faketracks. worked around missing notifications in vista+, so looping will now work.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4491 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-08 14:28:11 +00:00
Spoike b965a21c3b Fix OMC's lag issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4490 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-10-07 15:27:55 +00:00
Spoike 5bb896392f git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4489 fc73d0e0-1445-4013-8a0c-d673dee63da5 2013-09-30 00:03:16 +00:00
Spoike 4d9e937626 missed another. this is what happens when you casually use msvc and attempt partial commits...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4488 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-09-29 17:14:33 +00:00
Spoike d938fc9751 final q2 fix I think...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4487 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-09-29 17:11:47 +00:00
Spoike dad407a8c3 hide our internals properly, to avoid issues with symbol name conflicts (which is currently crashing quake2 gamecode). Why the fuck this option isn't enabled by default I have no idea.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4486 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-09-29 17:07:57 +00:00
Spoike 89ed71b134 Fix q2 cinematic maps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4485 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-09-29 15:06:42 +00:00
Spoike f9685cde37 Fix a bug with md2 loading.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4484 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-09-29 15:04:49 +00:00
Spoike 759c436d09 okay, that's still buggy then.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4483 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-09-26 16:43:11 +00:00
Spoike d741392ef2 revamp fteqcc a little to cope with a.b.c+=f;f++; more correctly/efficiently.
also fix some preprocessor issues with nexuiz's qc code.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4482 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-09-26 14:36:52 +00:00
Spoike db3f55f24a Try to fix a couple of issues raised by beloko.
One was a bug with registered not getting set properly (configs hid the bug from me). The registered check is now updated on (and AFTER) gamedir changes, ensuring the filesystem is up and running properly before determining if we have any proof of purchase in it.
The other was a bug due to pak/path precedence which broke hexen2 maplist.txt support, this update should match the new filesystem path/pak ordering fixing the bug.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4481 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-09-26 09:24:52 +00:00
Spoike 350bafee54 try to work with non-portals progs too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4480 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-09-23 22:53:26 +00:00
Spoike 18ac985526 Don't realloc console lines quite so much. Should let spammy stuff like timedemos run a tiny smidge faster.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4479 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-09-22 06:28:14 +00:00
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
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
TimeServ 292f61c6e0 add command line options via query string for web build, add web memory option and boost default to 384MB, use gcc4.7 for android build, fix pnacl, clean makefile slightly
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4310 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-09 21:31:44 +00:00
Spoike 6ddd50e769 include clipboard stuff for mac.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4308 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-09 00:21:55 +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