Commit graph

5472 commits

Author SHA1 Message Date
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
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
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
2b81527a69 Make our q2/q3 bsp code more modular, with q2/q3 gamecode treating it more generically.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6097 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-11-03 20:30:40 +00:00
Spoike
23196df675 Allow hosting webpages to submit console commands to the web port.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6096 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-31 18:20:51 +00:00
Spoike
3afbfc8547 Attempt to download missing files from the uri named by the local sv_dlURL setting, if specified, for easier demo playback.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6095 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-31 18:20:45 +00:00
Spoike
d2937174bf Try to fix potential crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6094 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-31 18:20:38 +00:00
Spoike
9051c590e2 Make r_torch work regardless of whether the player model is visible or not.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6093 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-31 18:20:33 +00:00
Spoike
bc5d8c6815 Hide some cvars that don't have well-defined defaults when using 'cvarlist -c'.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6092 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-31 18:20:28 +00:00
Spoike
b676f9c3e2 Allow for bigger map-packs. Hopefully everyone is running a 64bit system now...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6091 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-31 18:20:22 +00:00
Spoike
660f128569 Fix up some backslashes in zips. Fix a typo.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6090 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-31 18:20:17 +00:00
Spoike
eb157e09b8 Spawn decals on csqc's bmodels, not just engine-deltaed ents.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6089 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-23 10:05:26 +00:00
Spoike
442d23f226 Rework our web html for drag+drop filesystem seeding to make it easier to run copyrighted stuff.
Add zlib support to the web build, to make running the rerelease's content feasable with a hack to get png files sized right.
Enable botlib in web builds, now that q3's data can be used.
Fix up our webrtc support a little.
Enable the server browser in web builds (rtc hosts only, for now).
A couple of related minor tweaks.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6088 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-22 22:27:58 +00:00
Spoike
f76fd58f3f Strip WebVR support. Any new stuff should be using WebXR instead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6087 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-22 22:27:28 +00:00
Spoike
15bd67c8f0 Add support for AL_SOFT_loop_points. Implement quake-mixer-over-openal as a workaround for weird performance issues in Chromium.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6086 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-22 22:27:21 +00:00
Spoike
5018d3e650 Fix crash from rtlights on inefficient deformVertexes shaders in wastes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6085 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-22 22:27:14 +00:00
Spoike
8132b2fd57 Bake patches into submodels in reverse order... This should fix submodel patch issues with _q3bsp_bihtraces.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6084 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-13 02:08:25 +00:00
Spoike
62cf0286f5 Ensure that menu.dat.default.po is always considered as a fallback.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6083 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-13 02:08:19 +00:00
Spoike
a5312d7838 Add s_al_hrtf for people that want in-game control over that (changes need snd_restart). Try to fix up browser audio not being spatialised properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6082 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-12 04:42:07 +00:00
Spoike
947d41ea95 Make use of webgl2 where available.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6081 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-12 04:42:01 +00:00
Spoike
7d7cb5f40c Try to disable mouse accel in chromium. Use RAF timing for better precision to try to get smoother in-browser framerates.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6080 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-12 04:41:49 +00:00
Spoike
06a8133048 Add an extra workaround as part of dpcompat_makeshitup 2 (to handle shaders that are not terminated properly).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6079 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-12 04:41:41 +00:00
Spoike
00cd084bb8 Fix a few annoying bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6078 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-09 07:58:27 +00:00
Spoike
23437fff01 Switch to supporting the october quake rerelease instead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6077 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-09 07:58:17 +00:00
Spoike
b4127e58cc Fix some missing thread names in debug info.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6076 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-09 07:58:08 +00:00
Spoike
c09fef6c4d Fix water brushlist contents AGAIN...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6075 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-05 06:30:54 +00:00
Spoike
f3cab7b153 Tiny fix for my standalone http server.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6074 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-05 05:06:10 +00:00
Spoike
7404d81d0b Add some sha2 stuff to qtv connections. Fix up 'qtvplay' command to support passwords.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6073 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-05 05:06:04 +00:00
Spoike
8ae9fe1141 Open dp's download protocol to more client types (for qss's benefit). Work around some DP bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6072 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-05 05:05:56 +00:00
Spoike
0218f2dcf2 Try to update our javascript.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6071 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-05 05:05:50 +00:00
Spoike
8267939edb Misc tweaks, including a corrupt-bsp crash fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6070 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-05 05:05:43 +00:00
Spoike
8ec36b7ab4 Rework our fallback defaults to override id1's too, so newbies don't need to rebind everything before playing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6069 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-05 05:05:34 +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