Commit Graph

873 Commits

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