1
0
Fork 0
forked from fte/fteqw
Commit graph

915 commits

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