Commit Graph

5065 Commits

Author SHA1 Message Date
Spoike 267d9a1753 Make astc pixel formats more likely to load (nvidia are the only ones that don't support ldr astc on new gpus, but their drivers can emulate it so things still work).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5522 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-20 10:46:02 +00:00
Spoike eeba6c912e Remove the 'weapon' command and a few others in q2/q3. Never reset pending input angles to 0 (makes mods that use input_angles instead of view_angles work a bit better). Some c++ tweaks for the bullet plugin.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5521 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-19 16:15:31 +00:00
Spoike b497142fa7 Fix some ragdoll issues with the modelviewer. Fix mouse not working in mods menu.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5520 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-19 16:10:57 +00:00
Spoike 2f6cd29511 Allow ragdoll joints to default to disabled, fix off-by-one bug (which can cause ode problems).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5519 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-19 16:09:47 +00:00
Spoike a6ec9fd9b5 Avoid unintended clamping when approaching slopes the wrong way (typically because of minor precision issues).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5517 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-19 16:01:24 +00:00
Eukara e9e15b77f6 qclib: register VF_SKYROOM_CAMERA to make the voices in my shell go away
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5516 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-17 23:41:25 +00:00
Spoike 3986dfe944 Add some warnings for ragdoll errors, instead of crashing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5515 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-16 20:28:13 +00:00
Spoike 1effff9be4 Some mapcluster/nq fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5514 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-16 06:58:37 +00:00
Spoike e378ff51ac Fix high's te_teleport effect.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5513 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-12 03:48:46 +00:00
Eukara 3250a794b3 Hardlink against Freetype on OpenBSD from now on. The versioning is different on systems apparently and we don't want dynamic linking to turn into a Lovecraftian nightmare
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5512 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-12 02:32:18 +00:00
Eukara 299921118d Use CC=cc on BSD systems. On OpenBSD that'll use clang which produces more stable results than its version of gcc. For example release builds will break on Quake 3 Arena when playing with bots.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5511 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-11 23:35:23 +00:00
Spoike c0b383886e Fix downloads-are-going-to-qw-gamedir bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5510 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-11 13:54:26 +00:00
Spoike c8b040b360 Fix obscure compile bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5509 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-11 07:02:38 +00:00
Eukara e7726fe42f Fixed crash with the getchannellevel QC builtin
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5508 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-11 05:34:37 +00:00
Spoike 93a9fe379a fix a few unrelated bugs
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5507 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-11 05:32:53 +00:00
Eukara 3d55513a48 Fixed off-by-one that'll totally fix model issues, especially on OpenBSD.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5506 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-06 07:46:38 +00:00
Spoike 07ac8fd047 fix outline quirks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5505 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-03 18:02:21 +00:00
Spoike 15faa72a3d Fix gles-only builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5504 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-03 03:41:22 +00:00
Spoike 5066a8b1b5 Compile error.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5503 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-03 02:28:31 +00:00
Spoike 707fba95cd Implement gl_outline, fixing some of the issues with my previous attempt.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5502 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-03 02:07:40 +00:00
Spoike 26e527a8a6 Fix compile issues when HAVE_PACKET is disabled, also removing references to resulting unusable hostnames.
Fix recent sizeof(void) error.
Fix crashes from 0-byte lit files (and a few other related bugs that noone else noticed yet).
r_loadlit 3 now generates e5bgr9 .lit format (for over-over-bright). Also supports world.light for minlight values, now also uses super-sampling (slower but nicer).
Additionally disable PEXT_TRANS in the FortressOne fork of ezQuake (sidestepping its inherited bugs).
Fix q3's sprites getting horizontally flipped.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5501 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-03 01:58:03 +00:00
Spoike 7991260cc0 Add BPTC (aka: bc6+bc7) fallback decompression.
Fix some warnings.
Work around ezquake's PEXT_TRANS bug - now properly gets disabled.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5500 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-01 02:13:44 +00:00
Eukara c159d90253 Fixed FTE not compiling on OpenBSD 6.5.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5499 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-30 23:34:18 +00:00
Spoike e88ae1537e Fix up SDL port.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5498 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-29 16:33:59 +00:00
Spoike b7204b7004 Fix some more stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5497 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-29 06:32:37 +00:00
Spoike 8612ca3437 Lets try enabling Z_EXT_PF_ONGROUND by default for a bit, lets see what explodes.
Some warning/compile fixes.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5496 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-29 06:04:43 +00:00
Spoike 7ca727489a Fix some warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5495 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-29 05:49:27 +00:00
Spoike 1b8e779b9b Last fix for skyrooms. Should now show entities in the skyroom.
Fix a couple of valgrind issues.
Added reason info for when a download fails.
Downloading models now forgets failed-to-load state, fixing a downloaded-but-still-missing bug.
Use anisotropic filtering in more fps_presets.
Fix significant fps loss when using the modelviewer.
First attempt at automatic LOD (supported for md3s and extended-iqms for now).



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5494 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-29 05:28:20 +00:00
Spoike 326f9dddc8 Fix skyrotate glsl compilation error, apparently nvidia are fine with qcish syntax while other drivers are not.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5493 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-21 05:00:29 +00:00
Spoike df8440d682 Make sure skyrooms show only the entities inside the skyroom (disabling non-static entities if their pvs is not reliable).
Make sure q2's skyaxis/skyrotate stuff actually works properly on skyboxes.
Add a cvar to spin skyrooms too (separate from skyboxes, allowing for double spins though probably only one will be useful).
Fix win32+reversedns issue.
Fix a splitscreen networking bug.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5492 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-19 02:13:19 +00:00
Spoike e0fe3c8dec vulkan: fixed anisotropy
vulkan: fixed msaa
vulkan: fixed some validation errors
input: fixed bug with mwheel etc failing to register
screenshot_360: default to vid width/height instead of assuming a megascreeny
images: reworked Image_ResampleTexture to handle image formats in a more generic way
console: toggle command now accepts two args to toggle the cvar between
skyrooms: fixed a couple of bugs.
x11-egl: should actually work now
wayland: fixed up some omissions. still needs more work but should at least be somewhat tolerable now.
server: be a little more friendly towards ktx
server: added sv_use_dns cvar, to report reverse-dns instead of ip addresses.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5491 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-16 02:59:12 +00:00
Spoike f75beaff81 Make sure the menus for quake2 and hexen2 have a splitscreen option.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5490 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-07 04:20:09 +00:00
Spoike 145c99e802 Make sure stripping actually happens now that we're spitting out .db files.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5489 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-03 18:27:09 +00:00
Spoike 69e1c6a880 Ignore maxclients limit when adding splitscreen seats for loopback.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5488 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-03 17:53:08 +00:00
Spoike 748f373783 Fix bug with xinput axis not triggering simulated buttons.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5487 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-03 17:41:30 +00:00
Spoike 49e10926be Fix bug with offset capsule collisions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5486 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-03 15:45:54 +00:00
Spoike af48d07bc5 Fixes for winX_sdl builds.
Disable -ffast-math in release builds, as it was causing problems.
Added a build config that disables a number of things that might trigger antivirus FALSE-positives (including all http+tcp support, process forking, tls/crypto), for use in SDL builds where any further system interactions is deferred to SDL. For crippled builds.
Made the output of the version command more verbose to reflect networking features.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5485 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-02 04:37:11 +00:00
Spoike 8197e0875f Track areas properly, so we don't bug out when a client has multiple cameras in different areas.
Fix up r_ignoreentpvs 0 to check areas properly.
checkpvs builtin can no longer mess up area checks elsewhere.
Write out foo.db files for release builds, in the hopes of at least getting function names from release-build crashes.
Implement _skyroom worldspawn field, still needs a few tweaks though.
Try to fix android surface-related crashes, AGAIN.
Separate parsing of connect requests, in preparation for formal logins (and removal of the old ranking code).
A few tweaks to try to improve compatibility with q3 mods.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5484 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-07-02 04:12:20 +00:00
Spoike 6c7220324e Fix some compile issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5483 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-27 14:38:51 +00:00
Spoike 1f421b40cc Try to fix emscripten build error.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5482 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-22 03:11:41 +00:00
Spoike 73ef27d709 Fix quad-speaker audio crash when LG is fired (issue reported by Monster).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5481 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-21 23:08:34 +00:00
Spoike 9c7ba654b5 Add a maptimes log, to display best times (and whether a map has actually been completed).
update the qi plugin a little, and for maptimes.
Try to fix a bug with android.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5480 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-21 03:59:46 +00:00
Spoike 5fabdcd186 Fix missing symbol in certain build types.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5479 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-18 15:09:31 +00:00
Spoike 5c5830eb53 Fix possible crash with deluxemapping.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5478 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-18 15:06:51 +00:00
Spoike 6ed36fa5a9 Fix shaders forcing lowercase.
Fix saving of infoblobs (larger than 48000 bytes will not be saved).



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5477 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-18 13:03:37 +00:00
Spoike 2715ee0767 That gl define wasn't defined on windows.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5476 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-17 17:48:42 +00:00
Spoike 5721e754a6 Rework android code to avoid google's nativeactivity limitations.
Fix a number of gles2 bugs.
Fix infoblobs. they should be much more reliable now.
Added callbacks so csqc can know when serverinfo|playerinfo changes (at least for processing blob changes anyway).
Fix 'pkg addsource' not saving (and remsource).



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5475 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-17 04:21:41 +00:00
Spoike b0083491a7 Fix csqc te_lightning quirk.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5474 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-12 01:47:03 +00:00
Spoike 83199ef8d6 Match DP for no-size arg stringwidth.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5473 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-12 01:45:19 +00:00
Spoike 19ac844e90 Only activate the low-level keyboard hook if one of the relevant cvars is enabled.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5471 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-07 22:19:49 +00:00
Spoike 40c0eea061 Fix serverside issue with the second+ dpp7 download failing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5470 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-06 18:07:12 +00:00
Spoike 00ab3f5998 Fix serverside issue with the second+ dpp7 download failing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5469 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-06 18:03:01 +00:00
Spoike 1dd8153998 fix some warnings and some alternative build configs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5468 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-06 04:32:09 +00:00
Spoike 00885ffd27 Fix q2 cinematics (was giving black screens).
Add support for DP_SV_CLIENTCAMERA (primarily to work around an rmq bug).
Now pointing the engine at the shadowy updates.triptohell.info domain (with a self-signed cert), so that we can give fte.triptohell.info a proper cert that browsers will trust. Still need to make a stable release some time before that can happen.
Make sure q2 gamecode updates can work, so win64/linux64 can actually run q2 now (using yamagi's).




git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5467 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-05 20:48:06 +00:00
Spoike c975aa55cd Fix SZ_GetSpace overflows when recording mvds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5466 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-03 16:18:47 +00:00
Spoike c4d339c5c0 Fix SZ_GetSpace overflows when recording mvds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5465 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-02 13:05:05 +00:00
Spoike 0b3b2c55ce Try to fix gamepad axis on android (where joysticks were already working).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5464 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-05-29 23:20:42 +00:00
Spoike 4ab6af4f75 Bugfix for an addition with the last commit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5463 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-05-28 08:27:52 +00:00
Spoike 81b3749a71 Added support for MST_PATCH_FIXED=256 for fixed-tessellation patches.
Also enforce some sanity limits for bsp lump sizes, to avoid int overflows.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5462 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-05-23 19:06:04 +00:00
Spoike 3c5518afa8 Optimised the textures of defaultwall with fast preset.
Fix simpleitems transparency in gles2.
Fix a couple of GL errors in gles2 (including some fixed function stuff that could result in segfaults).
Dynamically adjust MTU values with legacy qw clients too.
Added some small sleeps while waiting for downloads (this fixes insanely slow valgrind startups but might make non-valgrind start a smidge slower).
Fix title metadata in the updates system.
Clean up some issues for when WEBCLIENT is not defined.
HAVE_HTTPSV also disables websocket connections, to completely avoid any http strings anywhere, in the hope that it reduces virus scanner false positives.
Fix presets initial option, again.
Writing files to FS_GAMEONLY no longer purges the entire fscache, which should give a speedup in certain situations.
Added some new cvars to control heightmap lightmap generation.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5461 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-05-23 15:11:32 +00:00
Spoike b3050121cf Some Android tweaks.
clean up args to Net_PextMask.
some build config fixes.
attempt to support meag's 'status 32' qtv address lists.
fix bug with vulkan+sdl renderer.




git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5460 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-05-10 09:31:21 +00:00
Spoike e58daf1090 Enable building plugins for android.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5459 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-05-10 02:06:07 +00:00
Spoike 5e99d9b6f3 Fix missing serverinfo+userinfo in mvd files and qtv streams.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5458 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-05-07 03:19:42 +00:00
Spoike 1c32da08f9 just testing stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5457 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-05-04 22:09:07 +00:00
Spoike c8a08c9ac7 just testing stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5456 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-05-04 21:06:36 +00:00
Spoike 78c9daaf7c just testing stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5455 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-05-04 20:57:00 +00:00
Spoike 3246a96aa8 Fix demolist/cmd dlist crash when there's no demos.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5454 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-05-02 07:10:07 +00:00
Spoike 1282e487e2 client_t->netchan.netprim wasn't getting updated properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5453 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-04-20 16:55:12 +00:00
Spoike 21186f9c11 Fix issues with falling out of the world or so, on large maps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5452 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-04-20 15:46:35 +00:00
Spoike c22a6b707a android/msvc tweaks/fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5451 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-04-19 23:55:47 +00:00
Spoike 15390a908f Made Sys_GetFreeDiskSpace, because it'll probably need to get reused eventually anyway.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5450 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-04-17 19:57:26 +00:00
Spoike cb346bc1db Do ansi colours in sdl builds too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5449 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-04-17 09:48:03 +00:00
Spoike 1c26738095 Misc compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5448 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-04-17 00:50:14 +00:00
Spoike dd92e6c9f2 Try to fix up FTE's android port.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5447 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-04-16 23:05:06 +00:00
Spoike 9f46ea14ff Build config tweaks.
Changed NOLEGACY to HAVE_LEGACY (the negation was annoying).
Added missing defines to the alternative build configs, and removed some obsolete ones.
Fixed a crash in svc_setportalstate.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5446 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-04-16 22:40:05 +00:00
Spoike 3ee3230f96 Try to fix up FTE's android port.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5445 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-04-15 18:43:42 +00:00
Spoike 12d3e48785 Added support for culling csqc entities according to pvs (primarily to fix skyrooms, but can also help other situations too). Requires r_ignoreentpvs 0 (compat builds still use 1).
Added some explicit IMGFMT_ constants for qc.
Apply contrast after gamma, instead of before, should give a slightly more colourful result.
Version command now lists supported image formats (separately from extensions).
More BIH fixes.
Add patchDefWS parsing in .map files, for rgba vertex colours.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5444 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-04-07 16:41:09 +00:00
Spoike e581d3ffeb Apparently I don't know C very well.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5443 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-04-01 10:28:41 +00:00
Spoike 974a8074a3 fix TW patch/uncrouch bug.
use sdl 2.0.4 audio queuing output when mixerthread is disabled.
first attempt at BIH traces. doesn't yet work properly so disabled for now, but does fix some performance blackholes in xonotic.
first attempt at a lfield_nearclip value.
add VF_SKYROOM_CAMERA for easier skyrooms.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5442 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-04-01 10:16:36 +00:00
Spoike 8dc9a9a117 Fix 'chat' userinfo not getting cleared, etc
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5441 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-29 06:16:20 +00:00
Eukara 15faeb2e77 Updated TW's config, added the missing USEEFX define.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5440 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-28 04:14:43 +00:00
Eukara c1c0a861b8 Added support for multipliers to the polygonOffset directive
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5439 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-28 04:12:47 +00:00
Spoike ee9c9025a0 Better compat with mvdsv
Added -install arg to linux dedicated servers, to automatically install dependancies and updates.
Fix edge friction (at least when pm_edgefriction is 2 and not empty - can't break compat).
Added getchannellevel csqc builtin.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5438 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-23 07:06:37 +00:00
Spoike a8b30e3008 Don't crash when xf86vmode extension isn't available (and when xrandr failed/was disabled)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5437 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-22 23:33:25 +00:00
Eukara 372bee5b8b Remove readonly flag from com_fullgamename and enable setwindowcaption in menuqc
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5436 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-17 15:18:30 +00:00
Spoike 15b1e813a4 Allow 'gl_font creditsfont' (and potentially others) for eukara.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5435 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-16 06:45:55 +00:00
Spoike dc999091aa Fix servers trying to redirect players to downloading directory-packages as a single file (which will always fail).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5434 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-15 04:01:46 +00:00
Spoike b04b7b2b0a Fix missing chrome effect.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5433 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-13 02:35:08 +00:00
Spoike b6fc034302 Fix some compile issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5432 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-12 08:28:19 +00:00
Spoike f38a6264b8 Fix a stupid bug with allow_download cvar.
Fix recursive errors from Sys_Error on worker threads.
Fix shader parsing on worker thread with hlmdl.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5431 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-12 06:41:52 +00:00
Spoike 5e7688a590 first public attempt at pbr.
update infoblobs to be slightly more self-contained (still not finalised).
q3ui can now change audio volumes.
linearise 16bit srgb textures as required.
code can now potentially support >256 bones. disabled until the stack overflows are fixed...
remap bone indexes where required, for a 10-fold speedup on models with otherwise-too-high bone counts
gltf loader updates, primarily shader changes, for better conformance.
shaders can now specify whether a texture should be treated as srgb or not.
implement serverside download queue for ezquake/legacy clients downloading multiple demos. fte clients should never need to use this (would break total download size display).
some work towards threading shader loading.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5430 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-12 05:04:27 +00:00
Spoike d6d8d4c695 Fix qcc bug with removed continues/breaks editing other statements after removal.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5429 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-05 14:39:47 +00:00
Spoike b9fd3c01be Fix +back not respecting scaling unlike +forward (reported by GoaLitiuM).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5428 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-05 13:20:06 +00:00
Eukara af7c4f214b Fixed some warnings that get triggered on OpenBSD's version of GCC 4
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5427 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-04 19:24:51 +00:00
Spoike bff1b66fac Expand the mesa invariant check to every single gl version, apparently they still didn't apply the patch to mainstream mesa.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5426 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-04 00:48:36 +00:00
Spoike ba238e454b Work around mvdsv bug where packetloss is misreported.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5425 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-04 00:46:41 +00:00
Spoike 1896a3b46f Fix start-game menu, again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5424 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-03 06:25:47 +00:00
Spoike 7f124f6391 Fix edgefriction with nq physics.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5423 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-03 06:13:38 +00:00
Spoike 3d86dc56ac gles fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5422 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-03 02:02:29 +00:00
Spoike 5c069300ed missing gl define
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5421 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-01 23:16:01 +00:00
Spoike be27f06b76 Somehow failed to commit some changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5420 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-01 22:53:51 +00:00
Spoike 6c5de8e8b1 Added pm_pground cvar for compat with mvdsv/ezquake. Do not use it with NQ mods however, as the QC will interfere with the onground state (QW mods are okay).
Added Z_EXT_PF_ONGROUND + Z_EXT_PF_SOLID for compat (not enabled serverside due to conflicts with pext - just a define away).
Fixed bug with loading screens switching sizes part way through loading.
Added hexen2 rain effect.
Fix hexen2 model texture alphas not working.
Fix potential linux crash from excessively long stdin lines.
Added cl_rollalpha cvar.
Fixed quirk where the player would slide along the base of steep walls/slopes.
Tweaked PM_NudgePosition to be more precise, giving more reliable prediction.
Fixed fread qc builtin.
Tweaked random() builtin to bias slightly away from 0, so that nextthink=random()*foo; will never cause statue-monsters.
Check for GL_WEBGL_depth_texture instead of just GL_OES_depth_texture, to fix compressedTex2d errors in firefox.
Second attempt at blocking invariant keyword with mesa.
Use xrandr for gamma where possible. This prevents reading stale XF86 gamma ramps and restoring those invalid ramps when quitting.
Try to grab mouse pointers slightly faster in x11.
Don't call XIFreeDeviceInfo if XIQueryDevice returned NULL.
Document parm_string and startspot qc globals.
Fix possible infinite loop from physics frames.
QTV: stripped most of the old plugin code (because really, who has a browser that still supports either ActiveX or NPAPI). Fixed up emscripten port references.
QTV: fix bug with protocol extensions not being reported to viewers.
QTV: use binary websockets instead of text.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5419 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-03-01 22:39:30 +00:00
Spoike d398af48b2 Fix movevars.entgravity not set. Reported by GoaLitiuM.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5418 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-25 06:40:26 +00:00
Spoike 0c22b8c344 Some q3 tweaks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5416 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-24 08:32:45 +00:00
Spoike d590b1d2aa Don't let player.thinks run quite so far in the past.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5415 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-24 08:31:04 +00:00
Spoike d8c480c75e Fix fast nq players
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5414 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-24 08:29:52 +00:00
Spoike 988b2fa80b Add fov mode to the menu
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5413 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-24 08:28:39 +00:00
Spoike 48694bb795 Fix r_softwarebanding. Again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5412 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-24 08:27:38 +00:00
Spoike 75e927c030 Try to work around mesa's invariant bug, by disabling use of the invariant keyword entirely.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5411 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-24 07:43:32 +00:00
Spoike c4381e48a0 And hack in support for worldspawn's _skyfog key for compat with QS.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5410 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-23 14:36:17 +00:00
Spoike d6291b3ca7 Add r_skyfog cvar.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5409 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-23 14:32:20 +00:00
Spoike 2b82c8d0a9 fix lshift qcc bug
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5408 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-23 11:45:48 +00:00
Spoike 4f3f6d78e3 Use invariant gl_Position whenever its supported, even where ftransform is used, to try to get rid of coplanar depth fighting (eg: viewmodel alpha, volumetric fov, etc).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5407 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-23 09:42:26 +00:00
Spoike 6502f02fbd Hexen2 uses @s for newlines in centerprints and the alt charset, also try to fix hexen2 custom map names. Allow mvdsv's UserCmd stuff without pr_imitatemvdsv.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5406 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-23 09:38:04 +00:00
Spoike b03ef96f36 Try to fix tracker image alphas
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5405 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-23 09:33:55 +00:00
Spoike d65d4f6ff1 Some fixes for the emscripten port
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5404 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-23 09:29:20 +00:00
Spoike 519630045c scr_fov_mode 4 is now the default, to better match other quake engines (reverting to vertical fov when in portrait mode.
Fix cfg_save trying to use a hardcoded path that doesn't exist.
Change the 'play' command to use chan_auto instead of -1. I don't know why it was ever -1. This makes it more consistent with ezquake (where the feature is often abused to avoid ezquake's protocol limits or mvdsv's lack of unicast sounds).


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5403 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-20 17:21:10 +00:00
Spoike 3250de5851 Fix csqc polygon issue (using explicit glsl that doesn't need normals).
Added gl_texture_lodbias cvar for the luls.
Fix some serious-but-situational traceline issues.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5402 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-19 06:49:03 +00:00
Spoike 3867760e75 fix win32
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5401 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-16 20:32:24 +00:00
Spoike fa0c73d33b Fixed crash from too many csqc entities (reported by shpuld)
Added .psd, .pbm/.pgm/.ppm, .pfm, and .hdr image formats. Extensions NOT added to r_imageextensions.
png (and the above formats) can now be loaded as RGBA16, instead of being truncated to RGBA8 (8bit pngs not affected).
r_imagelist will now show images from memory, instead of potentially loading new/different ones from disk.
Fix serverbrowser bug being too eager to join the server (eg from alt+tab).
Don't send ipv6 packets to qw/q2 masters. They won't be able to report ipv6 addresses anyway, and this reduces warnings when a host STILL has no ipv6 (my ISP sucks). this does not affect q3/dpmasters, for people without ipv4 addresses.
Tried to improve compat with Bloodshot's particle effects.
Fixed a couple of issues with R_AddTrisoup.
Fixed string tokenizing bug where it was using the wrong buffer size values.
Don't show link-local/localhost addresses in eg the status command (unless developer).
qtv-rel is now an easier target, for new qtv releases.
qtv warning fixes.
added a nailtrail effect to 'high' particles.
fixed terrain shaders.
fixed fogged water issue (on one of bal's maps).
first attempt at gltf2 format support



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5400 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-16 19:09:07 +00:00
Spoike 9548e23535 And fix up windows builds a little, too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5399 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-01 08:34:05 +00:00
Spoike de20b1e587 Fix a couple of splitscreen bugs.
Fix Quake3 connectivity issues.
Prepare for displacement maps.
More tweaks for 'quake15'.
Fix vulkan double-free.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5398 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-02-01 08:29:14 +00:00
Spoike aee6767e7d Misc minor compile fixes that noone else will ever notice
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5397 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-29 23:43:50 +00:00
Spoike 9f38246d59 Misc compile fixes (mostly warnings)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5396 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-29 20:38:12 +00:00
Spoike 4757bd34c6 Misc compile fixes (mostly warnings)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5395 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-29 19:41:31 +00:00
Spoike cd97d1fff3 cmake now builds botlib (as a shared object)
fix q3 looping sounds
fix q3sv bug that was kicking clients on map changes
attempt to resize q3ui if the window changes size
added some more disconnect reasons (for menuqc/q3ui to report).
reworked particle count/step arguments for better compat with DP. particles that used count for trails were already broken...
drawtextfield builtin will report line numbers shown, so qc can finally tell how much text there actually was
added some more items to 'fps_preset dp', stuff needed for the 'quake15' mod.
added dpcompat_noretouchground cvar for people wanting to mimic dp's bugs.
added 'r_netgraph 2' setting, which will show packet sizes per svc, in part to highlight wasteful mods.
added cvar to disable the q1mdl floodfill, which caused problems for yet another person.
internal editor now attempts to support debugging asm, if no source is available.
fix 64bit icon bug in x11.
FINALLY fix high's te_teleport effect.
load with no arguments will scan for the most recent a#/s#/quick savedgame instead of using just quick.
load command will chose between fte and vanilla savedgame formats based on modification time, if both exist in the same package/dir.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5394 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-29 07:18:07 +00:00
Eukara c87535ecef Fixed bug in Q3A that bots would carry over between SP campaign maps
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5393 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-27 04:57:50 +00:00
Eukara e64409274a Updated the fallback icon for FTE
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5392 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-27 03:52:14 +00:00
Eukara 8f6bb42a6a Fixed Q3A forgetting it's playing the singleplayer campaign upon map-change
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5391 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-27 02:01:42 +00:00
Eukara 6333ace416 wads: make sure decals.wad is assumed on hl bsp
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5390 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-22 13:57:57 +00:00
Eukara 7865011806 hlmdl: added "support" for fullbright and chrome materials. still requires GLSL additions upstream.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5389 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-22 00:52:35 +00:00
Spoike c3ea880846 Forgot the cmake file. few other minor tweaks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5388 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-20 16:26:50 +00:00
Spoike 2163fb7c77 Early version of fteqccgui-qt
a few other misc tweaks, eg for the debug protocol in linux fteqw.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5387 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-20 01:00:18 +00:00
Eukara cb88355800 hlmdl: fix framestate related crashes when tracing wrongly against hlmdl.
hlmdl: fix that looping animations wrongly get their last frame removed, presumably which will fix most crashes


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5386 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-17 09:27:09 +00:00
Spoike 0428f7851f Fix stupid typo.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5385 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-17 05:07:49 +00:00
Eukara b1f2b88d02 Enabled media decoder/encoder extensions for FreeCS
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5384 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-15 23:48:49 +00:00
Spoike 001bad5541 Fix eukara's error-on-restart issue.
Tweak downloads menu tooltips.
Some minor cleanups.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5383 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-15 14:12:49 +00:00
Spoike 4c2ac0cff3 Prototype was incorrect
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5382 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-14 19:43:29 +00:00
Spoike a82b367d8c fix freecs contents values
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5381 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-14 15:47:26 +00:00
Spoike 960d1c3616 fix some warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5380 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-13 17:56:26 +00:00
Spoike aaa78e5101 lame attempt at simple pulseaudio driver
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5379 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-13 17:01:59 +00:00
Spoike 2361c7d14f Flattened downloads menu.
Added scrollbars to various menus (when they're too tall for the virtual screen height).
Added warnings when qc draws to the screen outside of where it'll actually be displayed (freecs is guilty of this).
r_showshaders will now work in q2.
mod_texturelist will include a small preview, because I can.
plug_list command will now also display some plugins which are not currently loaded.
q1bsp now properly respects hitcontents (note that normally only hull 0 actually has contents other than solid+empty).
q1bsp now correctly reports content values in tracelines (this fixes freecs being unable to detect func_water).
Rewrote netgraph code. Now displays using polygons instead of textures for higher resolution graphs.
Fixed texture bug that appears with nouveau's core contexts (texture unit switches were not happening).
Added some better support for disabling vsync with nouveau, although its still broken fullscreen for some reason.
Changed fteqcc's warning for unrecognised CRCs. Should be more descriptive about the usual cause (but less technical and potentially technically wrong).



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5378 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-13 16:51:50 +00:00
Spoike b930659fe8 Fix a glsl type comparison bug
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5377 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-01-13 15:25:13 +00:00
Eukara 99e0191168 Changed basedirs in FreeCS' config
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5376 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-30 21:28:29 +00:00
Spoike f416201c66 Some minor fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5375 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-30 21:09:13 +00:00
Spoike 9069013dc5 "r_particledesc default" should not screw over the user. use ./default if you really meant that.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5374 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-30 20:29:39 +00:00
Spoike 06d7eac9a1 Some compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5373 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-29 07:43:02 +00:00
Spoike c6ed692871 Reworked networking a little, separating out common code for separate server/master processes.
Reworked glsl bones, so they work based upon the shader's version instead of the driver's version (more robust).
Fix te_teleport shader.
Track angles for antilag.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5372 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-28 00:04:36 +00:00
Eukara 18280be6e9 Added freetype support for config_freecs
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5371 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-27 17:24:39 +00:00
Spoike b5bdb349fc Small fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5370 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-20 16:18:10 +00:00
Spoike cc6fff1722 Fix issue where keypresses were getting sent to QC/etc while the engine is still busy changing video modes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5369 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-20 00:57:15 +00:00
Eukara ddd4b54f0e Changes for TW 1.2, fixes for mod-parsing, irc-clients, config changes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5368 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-19 18:53:04 +00:00
Spoike 8fde77593c Implement pm_edgefriction cvar.
fteextensions generation now has an option to skip some defs incompatible with id1/dp.
Misc minor tweaks.




git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5367 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-11 00:20:59 +00:00
Spoike 0884126e56 Implement getgamedirinfo builtin.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5366 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-11 00:12:47 +00:00
Spoike 1f587af822 Add mod_showent to quickly peek at the map's ent lump.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5364 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-10 15:02:55 +00:00
Eukara f7aea02266 Updated TW's and FCS's config, as well as made the plugins build properly on mingw
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5362 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-10 12:06:57 +00:00
Spoike 42908149f9 Dir command should allow wavs/oggs to be clicked too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5360 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-06 07:13:37 +00:00
Spoike 484d4d216e Fix green/etc fullbrights
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5359 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-06 07:11:04 +00:00
Eukara 486b1aa722 Fixed a crash related to texture-names
Added warning in case of a VIS-decompression overrun


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5358 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-06 05:51:24 +00:00
Spoike 98303e606e Weapon preselect/hiding stuff.
Attempt to track disconnection reasons.
Attempt to mimic QS for lightmap extent calculations.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5357 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-06 04:55:35 +00:00
Eukara 3f2302ce62 Updated FreeCS config to define BMP support which is very much necessary
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5356 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-05 19:34:14 +00:00
Spoike 75c7f7ce32 Those prints were annoying me
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5355 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-04 08:59:22 +00:00
Spoike d831199e2c Fix savegame quirk that was trying to force spprogs.dat.
Add developer==1 warnings from writebytes out of range.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5354 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-04 08:57:29 +00:00
Spoike 74fe35c482 Fix some typos from the glsl lazy-loading change.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5353 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-04 08:53:18 +00:00
Spoike c3b97f0983 open 'foo.fmf' in preference to 'default.fmf' when running eg foo_x86.exe. This should make TCs a little easier to release/maintain within eg quake's basedir, without breaking other TCs mods in the same basedir.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5352 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-04 06:15:53 +00:00
Spoike 8128d275af show system/engine/extension stuff as a different colour in fteqccgui.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5351 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-04 06:06:47 +00:00
Spoike c25e7908f0 fix PVSF_NOREMOVE bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5350 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-04 06:04:47 +00:00
Eukara 16abd453c8 rename this vile extension to actually represent what it means. shader to mat
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5349 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-02 13:35:23 +00:00
Spoike 2a3c667f09 fix bug reported by ciscon: do not crash when XDG_SESSION_TYPE is unset in linux's environment.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5348 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-02 09:01:51 +00:00
Eukara 8f664f2b2e Added get_path to m_native.
Fixed drawtextfield being affected by the previous draw* call colors


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5347 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-30 04:05:48 +00:00
Spoike f464d0fef3 misc windows-related fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5346 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-28 05:41:39 +00:00
Eukara fea0ab8014 tiny fix for gcc 5.5.0 & glx
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5345 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-28 01:40:47 +00:00
Spoike 5b4756f3d9 Lazy GLSL loading, for faster load times.
Fixed some xim issues, for proper keyboard input under x11.
Cmake project can now work for cross compiling win32 targets.
Some other fun-but-pointless stuff.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5344 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-27 16:48:19 +00:00
Spoike 79689474b6 Calculate voip levels for other clients
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5343 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-22 03:02:36 +00:00
Spoike 36eb350dc9 I screwed up The Wastes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5342 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-21 11:49:21 +00:00
Eukara d547047b7f Made TW's config compatible with the latest rev.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5341 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-20 01:04:32 +00:00
Spoike 73d836aaee Fix te_gunshot with only one arg erroring non-fte qw clients.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5340 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-19 08:47:26 +00:00
Spoike cb0f6fa6aa Fix some compile issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5339 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-19 08:06:07 +00:00
Spoike 2ee8387644 Many general cleaups and warning fixes.
Console code no longer makes assumptions about con_main
Screenshots rework, for screenshot_360, but also some other cleanups.
Fixed an issue with beginpolygon (finally).
Added per-rtlight style strings.
Added cvar to control whether ents will be culled by fog.
Added define to disable IPLOG, etc.
Added r_editlights cvar and related commands, for whenever csaddon isn't available.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5338 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-19 06:37:25 +00:00
Eukara 398c1afaf9 Fix crash on vid_reload using native menus.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5337 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-11 02:53:04 +00:00
Eukara 346e366dfa Updated config and native menu implementation
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5336 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-10 09:42:01 +00:00
Eukara 4cabdb80c5 Fixed r_showshaders crashing on a surface without shadername.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5335 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-10 08:26:51 +00:00
Spoike 2d539675cf Ignore spawnflags when CheckSpawn is defined, so that the mod can do it instead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5334 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-08 22:27:27 +00:00
Spoike 6d4bd2eb61 Fix possible double-free inside the image loader
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5333 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-06 19:42:05 +00:00
Spoike 9e98e44500 Try to fix some cubemap issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5332 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-04 22:22:18 +00:00
Spoike e31a485e98 Try to fix mvd playback issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5331 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-04 08:38:27 +00:00
Spoike eb56cc76df Patch from GoaLitiuM to fix some d3d11 stability/alt-tabbing issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5330 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-01 15:40:50 +00:00
Spoike 9a146f448f Don't write svc_playerinfo to a demo that's using supports replacementdeltas. Stuff like that can be confusing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5329 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-27 16:59:41 +00:00
Spoike c5a89bd5d6 Revert weird windows bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5328 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-27 08:20:44 +00:00
Spoike b024a19fc8 I forgot about d3d... again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5327 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-27 05:34:08 +00:00
Spoike 45b4659de6 Fix vulkan lag issue with vk_busywait. Separate lightmap formats, to fix deluxemapping-with-hdr-lightmaps. Fix decals lingering on removed bmodels.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5326 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-27 04:32:18 +00:00
Spoike a3f9fe886e Remove debug spam
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5325 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-26 16:51:24 +00:00
Spoike 8a3cc3b4b0 Be more generous with decal impacts spawned away from the wall that they're meant to be spawned on.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5324 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-26 16:50:06 +00:00
Spoike 2bedc32ff9 Misc tweaks.
Fix potentially serious crash with sprites+csqc tracelines.
Reworked fallback mouse cursor.
Fix decals on q3 bmodels.
Double-click to select a work to copy is now implemented.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5323 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-23 07:09:06 +00:00
Spoike 4ae635bc7b Some misc fixes, mostly win32/msvc focused.
Rename sound flags to include their valid scope.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5322 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-17 00:43:04 +00:00
Spoike 487201eeec properlyish distinguish between primary+clipboard x11 selections. Fix possible font crash. Fix possible QC weirdness with uri_get callbacks unexpectedly stomping globals.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5321 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-14 16:16:34 +00:00
Eukara 2cdbe035df Updated The Wastes' config to use world grid optimisation
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5320 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-13 19:46:33 +00:00
Spoike 39e1f24511 Added trace_networkentity global to csqc. Try to fix some misc bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5319 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-13 12:19:58 +00:00
Spoike b68a6218e8 Fix some stringop-truncation warnings. Enable static freetype in config_fteqw.h. Fix wastes build.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5318 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-13 06:20:49 +00:00
Spoike 49ae9573b8 reworked clipboard handling to avoid stalls when pasting in linux.
made a load of functions static (just code style stuff).
downloads menu now deselects any autoselected items, to avoid confusion.
csqc traces can now hit networked ents. I probably need to make some more tweaks to this.
arg completion for flocate+dir+modelviewer commands.
fix autosave not cycling saves when using the vanilla save format.
fix patch collisions with q3bsp submodels.
md3 now supports framegroups too.
added some more buttons to make xonotic happy.
gl_polyblend 2 shows the screen flashes at the edge of the screen instead of the middle.
colormod no longer applies to fullbrights (matching DP). this fixes an issue with xonotic.
fix uninitialised local that was causing issues with bones used as tags.
rewrote qc search_* to use a dynamic array instead of a linked list. this should make it faster to read when there's many handles open at a time.
fte's saved games can now save buffers properly.
fix issue with raster freetype fonts (read: coloured emoji).
initial support for struct-based classes (instead of entity-based classes). still has issues.
execing configs in untrusted packages will no longer run out of sync (fixing a number of afterquake issues).
fix stupid bug with the te_gunshot/etc builtins.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5317 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-11 10:31:23 +00:00