Commit Graph

1552 Commits

Author SHA1 Message Date
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
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 0eecce227e Try to fix alpha blend issues with the webgl port.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6065 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-05 05:05:06 +00:00
Spoike 13d8d0fbdf Fix non-gl builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6051 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-28 15:23:25 +00:00
Spoike e244436641 Fix a couple of silly bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6050 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-28 07:10:03 +00:00
Spoike 4e172f3507 Optimise rtlights slightly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6049 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-28 07:09:54 +00:00
Spoike c73b9774da Mute an annoying warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6047 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-27 04:29:49 +00:00
Spoike da46f65679 Fix misc rerelease issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6042 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-24 06:06:05 +00:00
TimeServ 904fa4ce64 pass integer key reference instead of pointer reference to particle systems, remove switch fallthrough on q64 bsp switch
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6041 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-23 22:14:34 +00:00
Spoike ca03eba000 Try to parse the rerelease's various _shadowlight keys, needs 'r_editlights_reload bsp' still.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6039 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-23 06:37:30 +00:00
Spoike c2d3d3a41b Fix up translations stuff with the rereleased version of quake.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6038 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-23 06:37:21 +00:00
Spoike d0d2c31f38 Fix other stuff after quake64 bsp support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6033 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-23 06:36:32 +00:00
TimeServ ee1a93d01b preliminary quake 64 remastered bsp support (mipmaps currently busted), reduce missing anims in bsp to warning (needed for q64)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6031 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-21 18:16:13 +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 e83cfe3bb0 Misc q2 fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6022 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-19 06:01:52 +00:00
Spoike 6f86bf0118 Strip .crh support. Noone ever used it, and -wrbrushes is superior anyway and actually has toolchain support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6018 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-14 04:04:01 +00:00
Spoike b76d139a58 Show relight times, cos why not. Fix hdr pre-relight levels.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6014 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-09 23:06:23 +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 52ab543bd7 Misc small bugfixes and tweaks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6005 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-04 21:18:04 +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
Spoike 9c9a540635 Fix xrandr-related crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5999 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-04 21:17:04 +00:00
Spoike 87245a290a Fix up SDL build to enable our multithread stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5996 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-25 22:55:17 +00:00
Eukara 1f75d2bc9e Added new builtins: gp_rumble(), gp_rumbletriggers(), gp_setledcolor(),
gp_settriggerfx(). More improvements to touchpad sensor code, analog
stick tweaks... mostly beneficial to the SDL2 backend


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5994 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-25 16:12:24 +00:00
Spoike e2b88fafc8 Fix stupid bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5991 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-23 19:11:38 +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 5154c86611 Fix softwarebanding forgetting textures on map changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5980 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-18 12:13:01 +00:00
Spoike 52b7a441e3 Some small fixups.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5979 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-18 01:28:34 +00:00
Spoike 0e6a0b789e Misc minor fixups.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5973 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-17 15:11:15 +00:00
Spoike 55dbce5a3b Arg completion for the 'sky' command, as requested by Bal... though he did ask it for QSS instead...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5969 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-17 15:10:30 +00:00
Spoike 89a1be8e8c Fix some warning messages.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5962 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-17 15:09:39 +00:00
Eukara a6b33d25f2 Fix a crash/oversight with CSQCs getlight() and fix GLQ3_LightGrid from
using a global that may not even be set. 


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5957 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-06 16:32:59 +00:00
Spoike 07365c6428 update built-in shaders.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5956 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-06 11:14:31 +00:00
Spoike af661232e3 Support for equirectangular sky images. Because skybox orientations are generally too hard to get right. Urgh.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5955 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-06 00:12:35 +00:00
Spoike 139b916e46 Make scenecache less... flickery.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5953 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-06 00:12:20 +00:00
Spoike fbdee5f149 Fix issue with r_keepimages 0.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5947 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-04 03:58:19 +00:00
Spoike 3409df483e Try to resolve some of the things RennyC complained about.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5938 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-01 21:05:45 +00:00
Spoike 93253a026a My realignment logic wasn't actually realigning the bsp data...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5936 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-01 15:43:18 +00:00
Spoike 853d1ef330 Try to fix recent errors about incomplete attachments.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5930 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-01 01:16:40 +00:00
Spoike 2338e5b505 Add a cvar to restore buggy dlight range behaviours, requested by Orl.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5928 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-01 01:16:29 +00:00
Spoike 8c0646159f Try to make the vulkan renderer more robust on nvidia.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5925 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-01 01:16:11 +00:00
Spoike c71a4f8587 Enable scenecache by default, lets see who complains.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5923 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-01 01:15:59 +00:00
Spoike 5c585b0e6e Prod r_temporalscenecache a bit to make it more tolerant of those inefficient shaders.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5918 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-25 18:50:53 +00:00
Spoike 2363b05216 If texture names can have map-specific prefixes, shaders must also.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5912 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-22 14:40:53 +00:00
Spoike 27831f7265 Fix some misc issues that noone else is likely to notice.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5911 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 19:13:33 +00:00
Spoike b34618507a Try to reduce memory usage.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5902 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:46:06 +00:00
Spoike ca482a4f49 Some keys were not getting mapped to quake keycodes in X11.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5899 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:45:26 +00:00
Spoike aa4cfe91b9 Fix oriented sprites - quake draws them backwards.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5893 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:44:14 +00:00
Spoike 1057453158 Fix softwarebanding. Fix problem with map textures with a leading #.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5890 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:43:45 +00:00
Eukara 9194f5cddf Fix rendering of turb surfaces on HLBSP
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5886 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-18 20:37:57 +00:00
Spoike 868f13cb29 Fix for FTE_CONFIG=wastes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5885 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-02 15:29:56 +00:00
Spoike c035801161 Add support for maps/foo.bsp.xz too, for better compression.
Seeking within files inside zips is now slightly more efficient.
Fix issue with servers decompressing .gz before download...

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5883 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-02 15:29:44 +00:00
Spoike d85cdd4c50 my map package tweak was defective. whoops. try again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5880 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-01 10:56:08 +00:00
Spoike 1979150076 Preliminary attempt at loading zips concatenated onto the end of bsp files, instead of having servers load 5000+ different pk3s up front.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5876 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-28 07:07:48 +00:00
Spoike fb54cc140b Lit sprites should not be additive. Make gl_blendsprites 2 replicate that tenebrae behaviour instead. Allow colormod to oversaturate sprites.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5868 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-27 11:33:48 +00:00
Spoike 100850ee93 Apparently I got those ranges backwards.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5866 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-20 15:35:32 +00:00
Spoike fcbbfc223d Add colourmap support for hlmdls.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5863 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-20 12:29:25 +00:00
Spoike 2b2e7c76c4 Make FTE slightly more likely to work on gles<3 when configured for 32bit indexes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5859 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-19 04:49:33 +00:00
Spoike d5beed038f Skinobjects now attempt to cache qwskins. This can be used as a precache for fortressone.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5858 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-19 04:49:24 +00:00
Spoike 8023ceadc8 Add r_glsl_precache cvar to force all glsl permutations to compile at startup. This can be slow on some drivers due to all the permutations involved, but probably handy for debugging, or for people worried about stutters.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5857 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-19 04:49:15 +00:00
Spoike cdbf3614a3 Small tweak to temporalscene cache to adhere to r_novis. Change sort order of water shaders when refract_fbo isn't active, to ensure the refraction scene is actually drawn before its read.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5853 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-13 10:17:27 +00:00
Spoike f35928f4fd OpenXR stuff should be a little more usable now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5850 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:02:49 +00:00
Spoike 2538e37e28 Add a preview for 2d array textures. Bind gl textures according to texture type rather than hardcoded assumptions, making it more consistent with the other rendering APIs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5839 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:01:15 +00:00
Spoike 320cf1cee5 Try to fix some compile issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5814 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-04-14 06:10:37 +00:00