Commit Graph

5574 Commits

Author SHA1 Message Date
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
TimeServ 76f927f789 fix typo in setup script
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5472 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-06-08 17:17:21 +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