Commit Graph

366 Commits

Author SHA1 Message Date
Spoike 4b48a8b191 Fix a crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6193 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-02-19 20:49:33 +00:00
Spoike dd03b69609 Move our gltf's json parser into the engine-proper, implement QC builtins to make json parsing available to qc. API defined by Joshua Ashton.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6188 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-02-19 20:48:40 +00:00
Spoike f99764a887 GLTF loading should now be a smidge faster.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6187 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-02-19 20:48:16 +00:00
Spoike 42430d4712 Fix some misc memory leaks and a few other minor issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6176 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-30 05:55:01 +00:00
Spoike 86d2f0e0d4 Provide support for webrtc's sctp-over-dtls stuff, providing browser+native connectivity (via broker).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6171 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-28 10:48:01 +00:00
Spoike 578d12f254 Fix some updater issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6168 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-19 08:27:42 +00:00
Spoike 2ed3378a75 Misc compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6166 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-17 09:12:56 +00:00
Spoike 64b471c2d9 Add some metadata to plugins that lack it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6165 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-16 18:42:04 +00:00
Spoike ceee660184 Lets try to NOT crash QEx servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6164 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-16 18:41:59 +00:00
Spoike b21a648a4b Set up the openssl(3) plugin to statically link for windows, so people can actually host properly with dtls on windows.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6163 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-16 18:41:53 +00:00
Spoike 2e627df7b5 Add support for PSK for DTLS via gnutls and openssl. User needs to supply the keys.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6161 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-16 18:41:34 +00:00
Spoike b8e628cc39 Minor code cleanups.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6159 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-08 10:01:29 +00:00
Spoike bf44769b4d Add support for 'connect dtls://foo' without needing extra upgrading stuff first. This change allows for QEx to establish a dtls connection to our server, though the reverse still doesn't work.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6156 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-08 10:01:05 +00:00
Eukara 13b2a7935c Add support for HLMDL actions, and some builtins to interact with it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6148 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-07 03:18:00 +00:00
Spoike e3410eebe6 Try to work around steamvr not working with opengl.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6142 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-12-20 10:07:29 +00:00
Spoike 1f01465cf3 Rework openxr's actionset stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6136 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-12-20 10:06:25 +00:00
Spoike 2808962a49 Gather q1bsp rendering logic into one place. Try to clean up r_framecount and r_visframecount somewhat in an attempt to fix openxr issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6134 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-12-20 10:06:09 +00:00
Spoike df701ecfac Fix up some openxr issues (especially with vulkan).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6133 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-12-20 10:05:55 +00:00
Spoike 044a6744a7 That file wasn't actually needed in the end...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6129 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-19 19:40:18 +00:00
Spoike d332496ed4 Fix up some vulkan+openxr issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6123 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-14 00:35:08 +00:00
Spoike 268f122b23 Small fixups for the hl2 plugin.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6121 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-10 01:36:22 +00:00
Eukara d4bd64980f plugin.c: Fix return values so it compiles with g++ properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6118 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-09 16:53:31 +00:00
Spoike b01f2f69d8 Make the hl2 plugin state if any individual parts fail to init instead of finding it out later...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6117 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-08 08:47:36 +00:00
Spoike 1d1f2ad526 Add the vmt-specific glsl files to the hl2 plugin.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6116 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-08 08:47:27 +00:00
Spoike 4d00fd72b5 Add hl2-bsp support to our hl2-formats plugin. This is not a final version - there are multiple unresolved issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6115 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-08 08:47:16 +00:00
Spoike 462f3e4a20 Basic vmt support. Requisite GLSL files are still separate.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6114 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-08 08:47:05 +00:00
Spoike 0f8ea71841 Add hl2-mdl support to the hl2 plugin.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6113 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-08 08:46:57 +00:00
Spoike 195fd2b6f3 Add vtf loading to hl2 plugin, too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6112 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-08 08:46:48 +00:00
Spoike 485f2299c0 Start HL2 formats plugin, currently providing only vpk support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6111 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-08 08:46:40 +00:00
Spoike a9a4e3c358 Allow plugins to provide material interpreters.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6105 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-03 20:31:41 +00:00
Spoike 022e42c6c7 Move model loaders over to variable-length file-magics.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6104 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-03 20:31:32 +00:00
Spoike ab2dc14f49 Add support for image-loading plugins.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6103 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-03 20:31:21 +00:00
Spoike e89cc4dc5a Fix up filesystem plugins slightly. Remove engine references to VPK support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6100 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-03 20:31:02 +00:00
Spoike b0d2bf59a6 Try to fix up cef urls/win-compat.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6098 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-03 20:30:48 +00:00
Spoike f353f55024 Fix silly qi plugin bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6068 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-05 05:05:27 +00:00
Spoike ca999f6eb4 Embed some basic metadata into plugins. Still needs signatures.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6067 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-05 05:05:22 +00:00
Spoike b91273a930 Fix up CEF plugin a little.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6066 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-05 05:05:15 +00:00
Spoike cbec2d0660 Two minor fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6024 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-19 06:02:10 +00:00
Spoike fb239abaf7 Try to fix windows builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6009 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-05 16:49:25 +00:00
Spoike 221d4032af FTE_TARGET=msvc now invokes some old version of msvc via wine, old FTE_TARGET=vc removed. Related code tweaks to make it a bit happier.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6001 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-04 21:17:31 +00:00
Eukara 0ed2c90da9 Unbreak xinput, don't use -O3 for release builds as GCC creates
abrasive code, fix plugins-rel putting CFLAGS into the CC/CXX line


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5993 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-24 14:24:46 +00:00
Eukara 878f9b9d7c Fix ffmpeg plugin not compiling on UNIX and Windows.
Suppress passing -O3 to bullet's cmake. This will fail otherwise.
Fix plugin.c attempting to return 'false' instead of 'qfalse'.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5988 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-22 08:40:55 +00:00
Spoike 90aae69db3 Try to make things a little more stable.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5983 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-19 22:47:29 +00:00
Spoike 0907e66cff Tweak QI plugin to translate quaddicted's map database to fte's meta format. Make 'map package:map' download+run a map with the specified package enabled.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5976 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-17 15:11:35 +00:00
Spoike 71f1fa270f Clean up key held statuses a little, to try to fix issues with dual-controller splitscreen.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5968 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-17 15:10:22 +00:00
Spoike 14dddfd63c Try to fix up fps rates reported by ezhud.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5942 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-03 01:47:04 +00:00
Spoike 6cc5e1762b add support for gltf's KHR_materials_variants (for selectable skins) and KHR_materials_ior extensions
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5927 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-01 01:16:23 +00:00
Spoike df83d72837 Fix morph target issue where more than 4 targets were not interpolating correctly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5926 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-01 01:16:16 +00:00
Spoike ac427ff76c Improve gltf->iqm frame timings, update iqmtool's help text.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5905 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:46:31 +00:00
Spoike b0e4884b7b Add name/date/rating sorting to the qi plugin to make it a smidge more friendly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5901 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:45:59 +00:00