Commit Graph

5464 Commits

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