Commit Graph

6118 Commits

Author SHA1 Message Date
Eukara f612b97fc9 Animate surfaces at twice the speed when rendering HLBSP.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6147 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-03 01:57:23 +00:00
Spoike cfaef2bf11 Refuse to load maps exceeding the bsp29 clipnode limit. This avoids possible infinite loops or other weirdness in favour of a clear error. The QBSP really ought to be doing this too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6146 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-12-20 10:08:01 +00:00
Spoike 423b549fa8 Support for qqshka's ktx api version 16.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6145 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-12-20 10:07:55 +00:00
Spoike cfb1814be3 Migrate oldviewcluster stuff into the individual bmodel state. This allows us to clean things up a little.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6144 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-12-20 10:07:46 +00:00
Spoike 1d2626674e Fix skyrooms with openxr.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6143 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-12-20 10:07:34 +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 4d2251a06b Try to fix vulkan-related crashes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6141 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-12-20 10:07:24 +00:00
Spoike 9d6b599150 Fix mapcluster in dedicated linux servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6140 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-12-20 10:07:15 +00:00
Spoike 6c3754cf50 Strip useless symbol.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6139 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-12-20 10:07:07 +00:00
Spoike 4a6ba7146b Basic menu hack for vr.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6138 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-12-20 10:06:43 +00:00
Spoike 4f2994ab12 Prevent the setmaster console command from forgetting non-legacy masters...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6137 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-12-20 10:06:32 +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 d3f0bfea71 Try to enable openxr with SDL's opengl too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6135 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-12-20 10:06:17 +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 7e985b431b Make sure 'surfaceparm noshadows' works for q3bsp.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6132 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-12-20 10:05:47 +00:00
Spoike 2e4702e41f Try and do the whole 'surfaceparm noshadow' thing, which apparently got lost somewhere along the way.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6131 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-19 19:40:32 +00:00
Spoike 249b71bdc4 Allow ktx-like mods to send csqc ents too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6130 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-19 19:40:25 +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 9ede88f8be Tweak scenecache some more for more smoothness.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6128 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-14 03:15:17 +00:00
Spoike b97496df20 Make r_scenecache a little less stuttery.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6127 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-14 00:35:28 +00:00
Spoike 5ace5c8d3f Improve compat with nq servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6126 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-14 00:35:23 +00:00
Spoike 566bba6af1 SDL builds are unable to guarentee stdin works, so don't depend on it (eg: when setrenderer fails completely due to no display server).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6125 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-14 00:35:18 +00:00
Spoike cfff8f49f5 Improve robustness in the face of buggy QBSP versions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6124 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-14 00:35:13 +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 99f20e7b80 Remove MAX_DYNAMIC_CHANNELS limit. We'll just spend even more time mixing audio instead of suffering random cutoffs. Yay.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6122 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-14 00:34:59 +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
Spoike f8e355e990 Make visibility=hidden more aggressive to fix vulkan segfaults and probably some other things too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6120 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-10 01:36:00 +00:00
Spoike 39add9730f Make plugins more robust with regard to different build configs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6119 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-10 01:35:55 +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 c8e844c0bb Small fix thingie.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6110 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-08 08:46:31 +00:00
Spoike 161fa66d55 Fix Q3BSP viewcontents issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6109 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-05 17:44:00 +00:00
Spoike 6a2c21f14d Fix up d3d builds a smidge.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6108 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-04 22:33:00 +00:00
Spoike 803d3801c9 Fix some mingw compile-time issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6107 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-04 17:54:24 +00:00
Spoike 8212ead238 More toys for map-loading plugins.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6106 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-03 20:31:52 +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 57746acd5a Strip built-in VTF support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6102 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-03 20:31:15 +00:00
Spoike df1e916717 Ensure package plugins get their packages loaded/purged at appropriate times, without needing an extra fs_restart.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6101 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-03 20:31:08 +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 a096ec87d3 Scenecache wasn't bothering with areaportals.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6099 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-03 20:30:54 +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