Spoike
77f5f7adc1
Fix a gl buffer handle leak.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6290 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:16:59 +00:00
Spoike
7e49962039
Fix up replacement texture names for sprite framegroups to better comply with what might be called a standard.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6288 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:16:48 +00:00
Spoike
52cede2e9f
Fix possible out-of-bounds access (reported by qqshka).
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6287 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:16:42 +00:00
Spoike
91ea3ed518
Change 'player minlight' rules from the singular player.mdl to any entity with a player's colourmap. This is to fix ktx's vwplayer.mdl not responding like players should. This may also slightly affect TF's sentries and telepads and stuff.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6284 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-07-28 02:16:20 +00:00
Spoike
d8364a4cc2
Clean up the q3 plugin a little.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6274 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-06-20 07:16:16 +00:00
Spoike
f59283aa56
Try to work around an nvidia issue.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6256 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 18:00:37 +00:00
Spoike
08aedd4b5b
Mouse4 now acts as a back button in our menus. Binds menu should now report system key names instead of guessed names (better non-qwerty support).
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6244 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 17:59:01 +00:00
Spoike
9824304aa5
Make sure model fields are 0-filled, to avoid issues with models that are reloaded (eg when the user replaces them with a different type of model/etc.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6238 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-05-28 17:58:21 +00:00
Eukara
bc8895c5fa
Fix compiles without RTLIGHT. Update config_wastes.h
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6235 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-04-23 20:10:18 +00:00
Eukara
34e9917d76
Fix lightmap corruption that happens after a while.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6234 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-04-20 15:14:22 +00:00
Spoike
7a8472ed6b
Eukara complained about .fatness not working with hlmdl.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6225 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-04-06 19:23:57 +00:00
Spoike
73c05fe3b2
Fix up some stubs in the q3 plugin.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6212 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-08 05:32:15 +00:00
Spoike
cb64ea30f9
Move playerview weaponmodel matrix into r_refdef instead, to fix viewmodel positions in q3.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6211 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-08 05:32:03 +00:00
Spoike
6ceb76233c
Move Quake3 support to a plugin. There's still a number of stubs+bugs.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6209 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-08 05:31:34 +00:00
Spoike
1fd65cc80d
Use our json parser to make sense of emoji names instead of our previously hacked up mess.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6201 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-01 02:52:09 +00:00
Spoike
a5cb7af5d1
Fix silly q3-crash bug.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6197 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-03-01 02:51:41 +00:00
Spoike
bd64ae2d17
Disable r_dynamic when r_shadow_realtime_dlight is active (both at the same time is a waste of processing time). Also treat the rerelease's world lights as dlights instead of just world lights, which should give behaviour closer to what's expected.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6190 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-02-19 20:48:59 +00:00
Spoike
73f6df016c
A few minor tweaks.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6183 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-02-07 14:34:11 +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
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
2ed9c6a968
Proper support for lit sprites.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6167 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-17 09:13:05 +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
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
2e108f2a99
Misc minor fixups.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6154 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-08 10:00:49 +00:00
Spoike
0dbb8919be
Make the ent lighting distance match QS by default - increasing the distance from vanilla's 2048 to 8192.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6151 fc73d0e0-1445-4013-8a0c-d673dee63da5
2022-01-08 09:59:54 +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
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
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
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
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
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
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
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
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
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
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
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
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
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