Commit Graph

3908 Commits

Author SHA1 Message Date
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