Commit Graph

2372 Commits

Author SHA1 Message Date
Spoike 45f567dc34 cl_lerp_smooth 2 should include spectating as well as just demos.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5535 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-05 15:37:40 +00:00
Spoike 5fa6e12d56 Compile fixes (mostly focused on windows)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5533 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-04 23:39:39 +00:00
Spoike 200ec8c246 Compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5532 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-04 09:15:13 +00:00
Spoike 41b0d993f2 smoother console scrolling (at least with the mouse)
support RLE+luminance+alpha tga files.
support half-float tga files.
recognise hdr astc images.
added appropriate fallbacks for astc support.
load mip-less .astc files (mostly just for debugging stuff).
allow packages to warn about required engine/gpu features.
catch when stdin flags get changed to blocking by external libraries, to avoid fatal stalls.
basic support for .mdx files (kingpin models)
sort packages loaded via wildcards, by datetime then name, to avoid random ordering from certain filesystems.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5531 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-04 08:32:22 +00:00
Spoike d561772bb0 stripped support for qvm-based plugins. rewrote native plugins to use a more efficient interface.
merged engine menus, native menus, game menus, plugin menus into a single layered menu interface, simplifying all the special-case input.
engine confirmation prompts can now show regardless of underlaying menus, including above the console.
skeletal formats can now provide their own way to build bones, for variable per-bone keyframes/interpolation methods/etc (used by gltf2).
updated various plugins for the new api.
removed qvm makefiles/scripts.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5530 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-04 07:59:40 +00:00
Spoike 6f00bc8e8a Fix the off-by-one that has been causing ogg vorbis crashes all these years.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5529 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-09-03 12:33:14 +00:00
Spoike 9202c3f015 Restore choke lines into the netgraph, and support discontinuities so it doesn't look so weird. Also tweak realip warnings. Don't honour dupes if it would exceed rate limits (new data is better than dupe data), which can also double-up as a CBR type thing to try to reserve the bandwidth (avoiding packetloss bursts at the worst times).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5525 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-24 16:09:08 +00:00
Spoike 2377c3fa54 Compile fix (Wastes already removed those console commands).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5524 fc73d0e0-1445-4013-8a0c-d673dee63da5
2019-08-20 11:46:53 +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
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
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
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
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 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 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 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 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 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 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 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 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 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 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 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