Commit Graph

5834 Commits

Author SHA1 Message Date
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 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 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
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 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 7da9b4fcc4 Add setsendneeded builtin for setting per-player SendFlags.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6064 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-10-05 05:04:59 +00:00
Eukara bca422ab08 Misc OpenAL backend fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6063 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-09-16 20:08:30 +00:00
Eukara 156a629513 Delete wherever this came from, cough.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6062 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-09-16 16:10:06 +00:00
Eukara e69e81b9f5 input_sequence now formally added, will let the server know which input
sequence we're on when handling input_ globals.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6061 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-09-15 20:33:54 +00:00
Spoike e2e1505e83 Stop vulkan-only builds crashing when playing around in the menus.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6060 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-09-09 14:42:28 +00:00
Spoike f16d244387 Don't throw the presets menu into people's faces quite so much.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6059 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-09-07 23:43:25 +00:00
Spoike 863e40d6f3 Fix Wastes builds to not crash on start.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6058 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-09-07 23:43:19 +00:00
Spoike f0fbc813e2 Polo demanded more accurate bounds for mdl files, to match QSS.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6057 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-09-05 00:35:00 +00:00
Spoike 051442c041 iqmtool now supports --static. Also embeds some multi-skin info.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6056 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-09-03 08:02:21 +00:00
Spoike aa651c5059 'fteqcc -x foo.pak foo' now accepts wildcards.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6055 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-09-03 08:02:15 +00:00
Spoike 9741676e79 Try to fix some hexen2 saved game issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6054 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-09-01 07:30:48 +00:00
Spoike 01f6d7a75a Make sure filesystem depths are consistent between maplist.txt and hexen2's progs.dat. This should fix the base game failing on the first boss map.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6053 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-09-01 03:54:47 +00:00
Spoike 4d7836b5ff Make sure our own web servers report wasm files as the correct mime type. Firefox can be a bit quirky otherwise.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6052 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-09-01 03:54:40 +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 8c7c69a4ea Fix vpk support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6048 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-28 07:04:37 +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 a532819655 Stub menu_credits so its slightly less weird when the game seems to crash to console upon completion.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6046 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-27 04:29:43 +00:00
Spoike 5b0de425b7 Try to fix mge5m1 the lame hacky way. The new QC code makes true rotation non-viable.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6045 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-27 04:29:37 +00:00
Spoike 6136cad786 Fix #merge bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6044 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-27 04:29:31 +00:00
Spoike a8d606e042 Fix c++isms.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6043 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-27 04:29:25 +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 0382bb7049 Fix a crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6040 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-23 06:37:36 +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 81d5091fac Make sure there's some binds set up (the rerelease lacks a usable default.cfg).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6037 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-23 06:37:10 +00:00
Spoike b33d20fa75 Don't try to interpret http(s) uris as quake servers to connect to (should help fix the webgl port).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6036 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-23 06:36:51 +00:00
Spoike eea586dd13 Fix up our iqmtool to not fail on md5mesh inputs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6035 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-23 06:36:44 +00:00
Spoike 7791405627 Our md5 loader now handles the rerelease files a little better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6034 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-23 06:36:38 +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 d63a4cea1f fix fallback particles not rendering properly with high fps
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6032 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-21 21:33:09 +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 f9533ee8fc Fix up silly warnings in fteqcc's decompiler.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6030 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-20 20:56:24 +00:00
Eukara 8830baabd2 Enable HALFLIFEMODELS for FTE_TARGET_WEB
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6029 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-20 18:14:52 +00:00
Spoike 634fd7cb7e Try to work around some remastered-quake compat issues. Still need to deal with the string non-concat issue properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6028 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-20 11:34:41 +00:00
Spoike 4426a286d2 Fix up our shoddy md5 format support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6027 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-20 04:53:39 +00:00
Spoike 34f55c05e6 Minor tweaks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6026 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-20 04:53:33 +00:00
Spoike 783185cc59 Comment/etc tweaks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6025 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-19 06:02:18 +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 ac6605e0d7 Tweak inputs some more.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6023 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-19 06:02:03 +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 cf31dcccad Add 'schemes' value to fmf files, for games to list (multiple) uri schemes with which to easily start the engine and connect to a specified server. Also add cl_verify_urischeme, a bit like ezquake has.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6021 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-19 06:01:42 +00:00
Spoike f0aea54e5d Make sure backbuf net primitives don't get corrupted. This is presumably what was causing the wrongly-sized angles / illegible server message issues that fortressone was having.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6020 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-14 04:04:15 +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 6d72f7487f Tweak updates menu to allow launching package-specific maps (read: quaddicted's maps).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6017 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-09 23:06:41 +00:00
Spoike 182ff709c9 Small optimisation.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6016 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-09 23:06:34 +00:00
Spoike a13a436594 pgup/dn should work in menus, primarily for the packages menu.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6015 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-09 23:06:28 +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 04849bce16 Fix ommission.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6013 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-05 17:37:18 +00:00
Spoike e598d136b9 grr.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6012 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-05 17:12:41 +00:00
Spoike b24c6ed9d9 Fix iqmtool make rule confusion between building on windows and building FOR windows.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6011 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-05 17:07:06 +00:00
Spoike 67ff1e6cbb Try to fix dotranslate symbols getting b0rked.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6010 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-05 16:49:32 +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 a23ef7534b Fix 'map qi_package:mapname' not working for previously run packages when current mirror info is not avaialble.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6008 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-04 21:18:28 +00:00
Spoike cd45de7a1e Scoreboard display will now handle big games better, instead of truncating the list.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6007 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-04 21:18:20 +00:00
Spoike 662f7cfd75 Try to fix getlight builtin.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6006 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-04 21:18:11 +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 8156eda700 Add anglesub builtin, requested by Shpuld. Returns angle difference within rotations +/- 180.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6004 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-04 21:17:52 +00:00
Spoike 057d8fcff2 Show the mesh projection on the skin textures. Eukara wanted this.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6003 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-04 21:17:45 +00:00
Spoike f75a9cae23 Minor tweak for better ktx support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6002 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-04 21:17:38 +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 1c5b264402 Fix up imgtool a little, to behave better when extracting/generating gfx.wads.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6000 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-04 21:17:13 +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 14e7517b16 Support ezquake's kinda flawed float-ent-coords workaround extension. Update PEXT2_VRINPUTS for base angles (for angle nudges when standing on rotating objects).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5998 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-08-04 21:16:57 +00:00
Eukara 5584fb1ab1 Don't clamp pitch at 2.0 for the AL backend. That's not required
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5997 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-30 11:40:37 +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 8068109392 Remove debug printf
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5995 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-25 16:25:39 +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
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
Spoike da27411b26 Fix up some stupid bugs that were causing q2 to completely fail.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5992 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-23 21:06:52 +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 bb4d5d1917 Quicky hack to query gpu utilisation on linux with nvidia gpus.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5990 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-23 19:11:33 +00:00
Eukara 9b38473295 More input adjustments, added new SDL gamepad button mappings
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5989 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-23 13:36:18 +00:00
Eukara de522617e7 Interpret controller buttons as known keynums in Quake III Arena
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5987 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-22 07:17:30 +00:00
Eukara 42b6d60115 Register binds for SC_LPADDLE and SC_RPADDLE, fix joy button detection.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5986 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-21 11:48:31 +00:00
Eukara 1c038872f3 Controllers now communicate analog trigger keys in SDL2 builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5985 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-21 11:02:20 +00:00
Eukara 7800434ecb Fix iqmtool building on NIX via Makefile
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5984 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-20 10:15:02 +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 2599af212a setfl command was not updating the userinfo/serverinfo directly, but waiting for a later cvarset to do it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5982 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-18 12:13:11 +00:00
Spoike bbd468d1f0 Fix .button3 etc failing when loading saved games.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5981 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-18 12:13:06 +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 0dc79f7f0a Small fixup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5978 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-18 00:24:06 +00:00
Spoike 50aa60a8ca Fix pointcontents+wrbrushes, again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5977 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-17 15:11:41 +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 9e54944bde Attempt some stronger mitigation against UDP amplification attacks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5975 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-17 15:11:26 +00:00
Spoike f664c42776 Try to boost compat with shanjaq's uhexen2 fork.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5974 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-17 15:11:20 +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 9d8b442cf3 fteqcc __GITDESC__ et all were not quite working properly. Fix bitnot operator.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5972 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-17 15:10:46 +00:00
Spoike e41e42b966 Fix up menu scrollbars somewhat for when there's a thousand entries.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5971 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-17 15:10:40 +00:00
Spoike 4ddb475e7b Fixups to work around ktx issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5970 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-17 15:10:35 +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 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 9735064a89 Tweak splitscreen a little to work around a KTX issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5967 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-17 15:10:10 +00:00
Spoike e90a0b3945 Update VR-Inputs extension. Should now be more resilient against impulse loss, should also report better ping times.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5966 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-17 15:10:01 +00:00
Spoike 0fd629f2d2 Try harder to avoid players getting pushed into walls. This was visible with ktx.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5965 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-17 15:09:54 +00:00
Spoike d4c8d1a17b Fix ktx-with-nq-clients illegible server message issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5964 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-17 15:09:49 +00:00
Spoike 2ae4157738 Support for '[const] static type name=val;' inside classes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5963 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-17 15:09:44 +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
Spoike 626a053b36 Tweak a few extension checks, to try to avoid nasty surprises.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5961 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-17 15:09:34 +00:00
Spoike 44e6ec8dd1 Make the player-setup menu apply changes when closing, so you can actually change your name in Q2.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5960 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-17 15:09:27 +00:00
Spoike d3b1350ca5 Fix up autoproto with class-accessors and named enums.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5959 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-07 13:10:20 +00:00
Spoike 246cd8147c Fix a really really stupid bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5958 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-06 16:46:38 +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 0dc1b91ec6 Add -ftags to generate tag info for vi and compatibles. Files will still need to be concatenated then sorted before use.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5954 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-06 00:12:27 +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 18c0e79c47 Fix up SOLID_CORPSE a little.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5952 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-06 00:12:12 +00:00
Spoike f4ec928c2d cl_c2sdupe for nq, too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5951 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-06 00:12:05 +00:00
Spoike bd72a60c98 Hopefully this change will make the illegible server messages on fortressone's map changes a little bit easier to track down.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5950 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-06 00:11:58 +00:00
Spoike e7822ff2bf Fix some bugs that are exhibited in taov.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5949 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-06 00:04:41 +00:00
Spoike 5d75f6fa50 Fix issue with -wrbrushes not reporting contents values properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5948 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-04 03:58:24 +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 b3f387a548 Misc dull tweaks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5946 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-03 23:33:59 +00:00
Spoike 3d1014efe4 A quick attempt to get accessors working inside classes. Needs proper testing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5945 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-03 23:33:52 +00:00
Spoike 4ac09f8a03 Try to handle some qcc 'standards' a little better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5944 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-03 01:47:16 +00:00
Spoike 4d4a2943fb Refuse to autoupdate the engine when the binary looks like it has a revision number in its file name.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5943 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-03 01:47:10 +00:00
Spoike 61b13c7b8e Make sv_autooffload a little more user-friendly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5941 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-03 01:46:58 +00:00
Spoike b45ce608c0 Remove qcc hunk size limitations.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5940 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-03 01:46:52 +00:00
Spoike 80399796c7 Fix sv_autooffload on linux.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5939 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-03 01:46:46 +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 c452bccd94 Fix up some qc genericdefs stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5937 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-01 15:43:28 +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 f9b9087011 Fix a few things.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5935 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-01 11:03:28 +00:00
Spoike 1614b75142 Parse meta information from drag+dropped/file-associated packages for easier installation of mods.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5934 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-01 01:17:07 +00:00
Spoike 248c248ece Fix a bad read in the console code.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5933 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-01 01:17:00 +00:00
Spoike dc97689e9e Add SOUNDFLAG_NOREPLACE flag.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5932 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-01 01:16:54 +00:00
Spoike 713c5676ab Add -exec commandline arg (to override every gamedir). Try to fix or diagnose other issues Maverick was having.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5931 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-01 01:16:47 +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 f0f7002a6f Use some atomics to try to get a tiny loader-thread performance increase.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5929 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-01 01:16:35 +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 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 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 72952c6467 Fix a bad read.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5924 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-01 01:16:04 +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 2ce0947948 Add -noenumerate arg to play it safe by skipping device enumeration for video and sound drivers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5922 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-07-01 01:15:52 +00:00
Eukara be25f43c89 Run CSQC_WorldLoaded after Surf_NewMap to prevent static rtlights and
other fun things from getting flushed on a new map.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5921 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-29 09:22:56 +00:00
Spoike 0361787967 Fix noweb build.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5920 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-26 20:46:56 +00:00
Spoike 4816b418c4 Fix black particles (fallback textures were not loading).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5919 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-25 18:50: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 d602e51e54 Try to fix up some splitscreen quirks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5917 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-25 18:50:42 +00:00
Spoike 4d1b686c2f Try to fix issue with nvidia reporting VK_ERROR_INITIALIZATION_FAILED errors from vkCreateSwapchainKHR calls for unknowable reasons.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5916 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-25 18:50:20 +00:00
Spoike 9bd8625d90 resize the modelviewer's texture display if it would have gone offscreen.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5915 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-25 18:50:15 +00:00
Spoike 36f750ba23 Fix naming issue from more than 10 people all called Player.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5914 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-23 02:14:18 +00:00
Spoike 0ca1e9177b Fix up some splitscreen issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5913 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-23 02:14:13 +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 d6e09af52d Try to make lightning beam particles not endlessly spawn without dying while paused.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5910 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 16:55:58 +00:00
Spoike 0c41ac0b7d Load from wad files only when there isn't already a fallback. This reduces confusion over textures with the same name.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5909 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 15:03:04 +00:00
Spoike f810be4830 Make input_servertime available to ssqc too, so it can guage the player's latency more accurately.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5908 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:46:52 +00:00
Spoike 8b4a282c47 This should match Reki's revision, hopefully.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5907 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:46:44 +00:00
Spoike 0b0d6c3df7 Fix up the emscripten target a little.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5906 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:46:38 +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 26d9d89f24 Update infrastruture updates.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5904 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:46:23 +00:00
Spoike a12c453c30 Try to make some semblence of sense from git revisions/tags.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5903 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:46:13 +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 98da911996 Fix up a couple of missing opcodes in our qc decompiler.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5900 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:45:33 +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 7c162c1b5b Try to get windows to delete temporary files early, so they don't linger over crashes or whatever. win9x still sucks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5898 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:45:20 +00:00
Spoike be0c0b1821 Small defs cleanup.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5897 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:45:14 +00:00
Spoike 19073fe2a5 Prevent ftenq from overflowing its svc_serverdata quite so easily.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5896 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:44:34 +00:00
Spoike eb4af059cb Make the presets menu behave better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5895 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:44:28 +00:00
Spoike 6ff548cc64 -Ounreferenced wasn't doing anything (as it would break spawn functions). stop claiming it does stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5894 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:44:22 +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 04689373a3 Add disabled-by-default openssl plugin. Try to fix up ffmpeg build rules.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5892 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:44:05 +00:00
Spoike d4714cab52 Rework tls/dtls stuff into a more formal crypto interface instead of lots of ifdefs all over the place.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5891 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:43:57 +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
Spoike d15d82e1d1 Fix possible crash when using -nosound arg.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5889 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:43:40 +00:00
Spoike b3c469f106 Fix out-of-bounds read in COM_DefaultExtension
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5887 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-21 13:36:24 +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 3a97a75ab2 Small code cleanup in the ftemaster code.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5884 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-02 15:29:51 +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 5ceb4730ad COM_FileBase should strip .ext.gz instead of leaving the .ext there - the .gz is handled by our filesystem so we try to pretend that its not there. This fixes loading textures/foo/bar.png files from inside foo.bsp.gz files.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5882 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-01 17:11:13 +00:00
Spoike c76735b1fc Strip support for VK_NV_glsl_shader. nvidia drivers no longer support it anyway, and it was never recommended.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5881 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-01 17:11:07 +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 c8ca5f09e1 Make my little standalone http server report its own public address instead of needing to visit random websites.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5879 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-01 09:23:49 +00:00
Spoike 84d6ef3e45 Take extra measures to ensure that zip-in-bsp content is actually used.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5878 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-01 09:23:42 +00:00
Eukara 286159d191 pass -DMULTITHREAD to GL_CFLAGS on BSD
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5877 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-06-01 08:33:06 +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 b4092ab903 Remove some array length limitations with package lists.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5875 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-27 11:36:01 +00:00
Spoike 148de2e082 Fix qcc crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5874 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-27 11:34:28 +00:00
Spoike 08b5b09fd3 Add -Fdumplocalisation arg to fteqcc to dump localisation stuff (in part to try to encourage more people to use this stuff).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5873 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-27 11:34:22 +00:00
Spoike 4d351b60f3 Add SV_PerformSave/SV_PerformLoad entrypoints for QC-controlled saved games, at Eukara's request.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5872 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-27 11:34:15 +00:00
Spoike 883207989e Always rename aliases that conflict with commands, because they're utterly pointless otherwise.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5871 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-27 11:34:07 +00:00
Spoike 1e2b0cdb18 Some ktx fixups.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5870 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-27 11:34:01 +00:00
Spoike 2657dce9c8 Fix a couple of crashy issues that were possible with the updates menu.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5869 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-27 11:33:55 +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 ff6c438d89 Try to handle qc execution warnings a little better, with less undefined behaviour.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5867 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-27 11:33:26 +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 e6c9a979c7 Some obituaries were not getting coloured, others could not be linked. Also underline console links on mouseover to encourage users into realising that they can actually be clicked.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5865 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-20 15:35:26 +00:00
Spoike f73e1b7ffc Fix up our new png bug. Attempt to save a little memory with greyscale pngs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5864 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-20 12:29:31 +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 a9897b7d4e Make multicast respond to sv_nopvs too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5862 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-19 04:50:06 +00:00
Spoike 9af3e9b307 Fix small bug where the TF2.8 intro demo didn't play its music.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5861 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-19 04:49:58 +00:00
Spoike e789d4400b Hack around the qc code to restore its jump sound when using autobunny.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5860 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-19 04:49:52 +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 01d1ca73c1 imgtool now exports pngs as 8bit when appropriate, and imports them again without losing fullbright info.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5856 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-19 04:49:03 +00:00
Spoike 466dac47f4 Move connect's dns lookup to a thread. Handle multiple results (we can finally connect to ipv6-only 'localhost').
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5855 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-19 04:48:57 +00:00
Spoike 4507c7c8b4 Don't bother trying to use a couple of SDL pixel formats. Too paranoid.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5854 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-13 10:17:35 +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 13d524a30b Some menu reorganisation suggested by Qmaster.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5849 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:02:31 +00:00
Spoike 5e38a007c7 Switch to poll instead of select, to avoid crashes from select's arbitrary fd limit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5848 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:02:23 +00:00
Spoike a13e5cfbcf Fix stupid signed byte indexing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5847 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:02:15 +00:00
Spoike 1f6f0979bc FTEQCC was having issues with initialising variables from other constants when using -Fautoproto.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5846 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:02:09 +00:00
Spoike 90597c9fbb Add date+time info to fte config files, to thwart people claiming that fte doesn't _save_ their configs when its some quake.rc or autoexec.cfg stomping over things afterwards. Might also be nice to have for people that copy stuff around without saving them that often.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5845 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:02:01 +00:00
Spoike c3038db058 Let FTE know about git revision info, for people that refuse to use svn...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5844 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:01:50 +00:00
Spoike 440a8e7b53 If the user picks an explicit vulkan device, attempt to ignore any issues from vulkan not reporting any render queues that can present to the screen. This allows us to start up with mesa's software vulkan implementation.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5843 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:01:44 +00:00
Spoike b4b4653b68 csqc traces against ssqc bmodels should support rotation like the ssqc does.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5842 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:01:37 +00:00
Spoike f98486687b Archive the cl_sbaralpha cvar.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5841 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:01:29 +00:00
Spoike 7ca9d0698f I really do not trust nquake's configs. Completely refuse to exec them, at least when warnings are silenced (so manual attempts will still work).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5840 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:01:21 +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 ff4b88dd45 Tweak FTE_TARGET arch postfixes in our makefile to make cross compile targets a little more readable.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5838 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:01:04 +00:00
Spoike de7a03a780 Fix some warning prints not printing what was intended.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5837 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:00:56 +00:00
Spoike 43bff54529 Warn when images cannot be used for a cubemap.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5836 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:00:49 +00:00
Spoike b8667546c9 The modelflags field wasn't working for trails unless the actual model already had some trail.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5835 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:00:43 +00:00
Spoike 11ed815a7f Accept any gamedir that contains a 'fortress' substring for tf-specific rules, instead of only 'fortress' specifically.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5834 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:00:37 +00:00
Spoike 692fe2c211 Add serverside pm_autobunny support. Will result in prediction misses for older clients.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5833 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:00:30 +00:00
Spoike 190070d277 Basic ktx2 support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5832 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:00:21 +00:00
Spoike 2cf2247b84 Optimize endian routines when we know the endian at compile time.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5830 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-09 13:00:00 +00:00
Spoike 176afd6d5d Add resetcfg for compat with QS.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5826 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-05 21:59:23 +00:00
Spoike 8ba2b21c5d Fix up alignment with r_speeds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5825 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-05-05 21:59:17 +00:00
Spoike 9dd692c4bb Fix audio menu not escaping device names with spaces in them.
With sv_nqplayerphysics now using auto, we probably don't want to force it for _graphics_ presets when the mod will do it anyway.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5824 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-04-22 17:31:06 +00:00
Eukara eb27688181 Fix blob shadows/itemtimers from corrupting other trisoup
by not flushing. ok'd eukara@ Spoike@


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5823 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-04-20 19:21:34 +00:00
Eukara 0f7294564a Fix BIH generation crash for patches. ok'd eukara@ Spoike@
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5822 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-04-20 19:08:14 +00:00
Spoike 2ccae3b1cf Fix emscripten build
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5821 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-04-19 19:17:14 +00:00
Spoike aa5c71f839 Fix silly cvar-related crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5819 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-04-19 18:25:11 +00:00
Spoike 36fb0bbe8e Give some 2d builtins some implicit args, particuarly stringwidth. This should work around weird dp-compat behaviour.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5818 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-04-19 15:37:36 +00:00
Spoike dded6a1b90 fix imagetool to support enumerating wad3 qpics, and mdl textures.
fix window sizing issue with viewer.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5817 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-04-17 21:35:13 +00:00
Spoike ee70a255b4 fix some compile issues
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5816 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-04-17 14:00:51 +00:00
Spoike 6bb6acde94 Try to fix some compile issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5815 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-04-14 06:48:19 +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
Spoike b9cd6ec91b openxr plugin: tweaked - inputs should be working properly now, and are visible to csqc. subject to further breaking changes, however.
_pext_vrinputs: added cvar to enable vr inputs protocol extension allowing vr inputs to be networked to ssqc too. defaults to 0 for now, will be renamed when deemed final.
updates menu: the prompt to enable sources is now more explicit instead of expecting the user to have a clue.
updates menu: added a v3 sources format, which should be more maintainable. not final.
updates menu: try to give reasons why sources might be failing (to help blame ISPs if they try fucking over TTH dns again).
presets menu: no longer closes the instant a preset is chosen. some presets have a couple of modifiers listed. force the demo loop in the background to serve as a preview.
prompts menus: now does word wrapping.
ftemaster: support importing server lists from other master servers (requested by Eukara).
server: try to detect when non-reply inbound packets are blocked by firewalls/nats/etc (using ftemaster to do so).
qcvm: added pointcontentsmask builtin, allowing it to probe more than just world, with fte's full contentbit range instead of just q1 legacy.
qcvm: memfill8 builtin now works on createbuffer() pointers.
qcvm: add missing unsigned ops. Fixed double comparison ops. fixed bug with op_store_i64. added missing OP_LOADP_I64
qcc: added '#pragma framerate RATE' for overriding implicit nextthink durations.
qcc: fixed '#pragma DONT_COMPILE_THIS_FILE' to not screw up comments.
qcc: added __GITURL__ __GITHASH__ __GITDATE__ __GITDATETIME__ __GITDESC__ for any mods that might want to make use of that.
qcc: fix up -Fhashonly a little
setrenderer: support for vulkan gpu enumeration.
rulesets: reworked to support custom rulesets (using hashes to catch haxxors, though still nothing prevents just changing the client to ignore rulesets)
bspx: use our BIH code for the bspx BRUSHLIST lump instead of the older less efficient code.
(static)iqm+obj: these model formats can now be used for the worldmodel (with a suitable .ent file). Also using BIH for much better collision performance.
pmove: tried to optimise PM_NudgePosition, should boost fps in stress tests.
wayland: fix a crash on startup. mousegrabs now works better.
imagetool: uses sdl for previews.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5813 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-04-14 05:21:04 +00:00
Spoike d4606452e6 Fix some type confusion in fteqcc's enums.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5809 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-02-17 03:55:20 +00:00
Spoike 931bddff56 Oops, __uint64 was signed...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5808 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-02-15 21:44:50 +00:00
Spoike ed08236922 Fix windows build issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5807 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-02-15 21:43:54 +00:00
Spoike df98b816ce Add sys_clockprecision to see if it helps with timer precision on windows. Set to 1 if having issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5806 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-02-15 21:43:11 +00:00
Spoike e26f26e170 Don't try to clean up .. segments in fteqcc's include paths. Its buggy, and doesn't handle symlink weirdness properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5805 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-02-08 10:59:53 +00:00
Spoike 193d14a931 Try to fix webgl port.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5804 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-02-01 20:22:47 +00:00
Spoike 2fdb7ab6b3 Fix Tulkas' crashes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5802 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-01-24 14:33:45 +00:00
Eukara 46eaeabbc6 Fix config_minimal.h from being unable to compile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5801 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-01-18 22:18:09 +00:00
Spoike 5cc499d5eb movetype_follow was not respecting r_meshpitch.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5800 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-01-11 07:09:50 +00:00
Eukara 4a2c74ee83 Check to make sure we don't send lightstyle updates to unsuspecting fake-clients/bots
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5799 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-01-04 13:44:42 +00:00
Eukara d8e001b336 Make r_speeds respect con_textsize...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5798 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-01-04 09:57:49 +00:00
Eukara 9925427ac9 export waypoint radius to the route-data passed onto QC, this will change nodeslist_t
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5797 fc73d0e0-1445-4013-8a0c-d673dee63da5
2021-01-02 10:13:59 +00:00
Eukara a98bd4eaf6 Routing: We forgot to pass the linkflags a way-file may define, fixed that
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5796 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-12-29 07:22:21 +00:00
Eukara f152acaa12 Fix a logic error with my rendering check. Sleep required.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5795 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-12-25 03:20:48 +00:00
Eukara a322a175de Add support for the FIRSTPERSON renderflag from Q3
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5794 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-12-25 03:07:07 +00:00
Eukara 29e511817a Server: Check for fakeclients before attempting to 'fixangle' them
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5792 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-12-25 01:29:40 +00:00
Eukara 8dce502335 Uncomment the mapping of Q3RF_FIRST_PERSON to RF_WEAPONMODEL for Q3A
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5791 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-12-14 00:35:06 +00:00
Spoike 583922f586 Try to fix r_stereo_method anaglyph rendering.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5790 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-12-05 04:08:40 +00:00
Spoike c652b9a7e5 Reset v_cshift when changing who we're tracking, to try to hide bugs caused by TF flashbangs not being reset by the mod. Stuffcmds suck.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5789 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-12-05 04:07:41 +00:00
Spoike 546be5849a Allow server cshifts to be disabled when playing back demos.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5788 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-12-02 06:38:32 +00:00
Spoike d6bae5a2bf Fix qclib-only makefile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5787 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-11-12 20:48:02 +00:00
Eukara fd3198904d git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5786 fc73d0e0-1445-4013-8a0c-d673dee63da5 2020-11-07 07:16:39 +00:00
Spoike 29cb22af8e try to fix vulkan validation warnings (and maybe some crashes on amd gpus)
fix sdl1 not compiling.
fix temporalscenecache with q3bsp
add the net_wm_ping protocol to fte's native x11 stuff, allowing our process to be killed if we lock up (usually due to vulkan drivers...).
qccguiqt: actually save the config.
try to fix hl fonts


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5785 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-11-04 10:19:30 +00:00
Eukara 5d5067ed82 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5784 fc73d0e0-1445-4013-8a0c-d673dee63da5 2020-11-03 15:52:26 +00:00
Spoike e649f6ebdb Add SB_NAMESORT for search_begin to ensure files are sorted by name instead of filesystem precedence.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5783 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-10-27 04:10:51 +00:00
Spoike 5d4f66cffd Add SB_MULTISEARCH flag for search_begin.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5782 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-10-27 02:56:18 +00:00
Spoike 3008072807 Fix some stupid bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5781 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-10-26 11:48:50 +00:00
Spoike 4d25c073ec big commit. :(
fix crash from qwplayers with invalid modelindexes
rework allow_skybox a little. now applies immediately.
try to fix the appears-outside-of-map bug, again.
dir *.wav now shows a little extra info on mouse-over.
try loading music file extensions that we expect to be able to play via ffmpeg, not just the ones that are directly supported.
rework the hidden fps_presets, show them with tab completion.
fix a possible crash with r_temporalscenecache
fix lightmap updates on submodels not happening properly with the scenecache.
fix the serious memory leak with scenecache.
add r_glsl_pbr cvar to force use of pbr pathways in our glsl.
fix bug in alsa output not supporting float output properly.
preliminary work to have the mixer use floating point mixing. disabled for now.
try to update sys_register_file_associations on linux, still needs work though.
try to work around nquake's config quirks, so config files don't get overwritten.
repackage quake's conchars in order to add padding. this should avoid extra junk on the outside of glyphs.
give fteqcc(commandline version) some extra package extration/creation support. our paks should be more end-user-friendly, and our spanned pk3s are awesome.
write rune state to legacy saved games, so we don't ever have the missing-runes bug ever again...



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5780 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-10-26 06:30:35 +00:00
Eukara 0ceff5a31d Fix QC adddecal() calls from crashing the engine when the affected model hasn't fully loaded.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5779 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-10-23 02:50:11 +00:00
Spoike 697edaac76 Optimise lightmap updates with threaded world rendering.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5778 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-10-15 00:17:37 +00:00
Spoike 899c54223e Some build fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5776 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-10-06 04:30:48 +00:00
Spoike 432bc96456 Add r_meshroll, like r_meshpitch (hexen2 requires it set to -1 - they made the bug worse).
HTTP client code now tracks the reason for failure better (so we can distinguish between dns, no response, disconnects, and tls cert issues).
Downloads menu shows reasons for failure for its various sources.
make hexen2's +infoplaque button work even when tab isn't held! Yes! usability! who'd a thought it?
Try to clean up some client-only build issues.
Added 'librequake' as a recognised game name (mostly so that we can reuse the quake-specific engine compat settings.
.map support now supports patches enough to query+create(+network)+select them. Collisions are basically defective though.
qcc: Remove char as default keyword.
qcc: Fix some recent regressions.
sv: Add 'sv_protocol csqc' setting to force csqc protocols on clients that disabled handshakes, for mods that NEED csqc support. other options include 'fte1' and 'fte2', if you want to force extra stuff. Engines that don't support the selected protocols will crash out so only set these if your mod/map always requires it.
sv: default to qw physics whenever a mod defines the SV_RunClientCommand, even if its an nq mod.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5775 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-10-06 03:17:28 +00:00
Spoike 524fdb3dfd Fix unintended rounding issue with hexen2's movechain stuff that was preventing origin changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5774 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-10-01 01:27:00 +00:00
Spoike 155ef1f460 better compat with hexen2's intermissions
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5773 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-30 21:03:59 +00:00
Spoike 069433abc1 Rework how fte clients handle serverinfo watervis a little. Server's setting (if set) overrides client's ruleset_allow_watervis.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5772 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-30 14:54:52 +00:00
Spoike 4cead675f6 Try to fix fteqccgui not parsing its ini file properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5771 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-30 00:10:22 +00:00
Spoike f3049f1b85 fix a couple of bugs in the updates junk.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5770 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-29 11:43:09 +00:00
Spoike 4de49e06d1 Try to fix some stuff that was wrong in the last commit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5769 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-29 09:34:38 +00:00
Spoike e3fdbfcdbd qcc: Add unsigned int, long/__int64, unsigned long/__uint64, and double datatypes to qcc+qcvm.
qcc: Add '#pragma opcode enable|disable NAME' to override whether an individual opcode may be generated for the current target.
nq: Fix smartjump on nq servers.
nq: Fix enemyskin/teamskin stuff on nq servers.
Rework show_fps cvar to give a greater focus on the timings graph.
Update updates menu to allow enabling/disabling specific sources.
Add separate settings for ef_red+ef_green+ef_blue.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5768 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-29 07:09:01 +00:00
Spoike 24a9634ccc Fix pvs issue on maps with far too many leafs (was still using 16bit leaf indexes, whoops).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5767 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-28 17:13:51 +00:00
Spoike e5f358ee5e Fix tokenizebyseparator with ',,,,' returning 3 tokens instead of 5.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5766 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-21 10:34:00 +00:00
Spoike b040358b54 capturedemo wasn't respecting -nosound arg properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5765 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-15 09:58:29 +00:00
Spoike 378570256c Make sure -homedir arg ends with a slash, to avoid messy surprises.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5764 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-15 08:55:53 +00:00
Spoike 6094fc6ab3 '+set vid_renderer egl_headless' will now give a headless client that's able to take screenshots and video captures without creating any kind of window. Because we can.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5763 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-15 08:54:10 +00:00
Eukara 2b21ab1164 basedir on UNIX should not be "" as the fallback.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5761 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-14 16:32:29 +00:00
Spoike b095410ce6 Make sizeof into an actual operator instead of a mere intrinsic
Char immediates now support a greater range of escapes for parity with string immediates.
Don't misparse triple field parameters as variable args+junk.
Recognise octal immediates, but warn in case it was unintended.
Fix a bug with initialised const locals.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5760 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-11 01:18:32 +00:00
Spoike ebc28bf3ef Yup, looks like we are actually using that path now...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5759 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-08 10:40:21 +00:00
Spoike 7d970f78f8 Change r_shadow_realtime_world_importlightentitiesfrommap to default to 0. This will prevent the engine from using rtlights on maps that don't have any rtlights defined. Can still be forced on a per-map basis with 'r_editlights_reload bsp', or by just changing this cvar back to 1, if you're the kind of person who MUST have rtlights. makestatic+pflags stuff can still be used if a mod wants to define its own light conversions. This should make FTE a little more palettable to the mapping community.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5758 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-08 10:38:26 +00:00
Spoike b380421e42 Lets try using _LARGEFILE64_SOURCE in 32bit linux builds. Not that anyone will notice.
Clarify the 'too many alternate clients' messages.
Gamepad movement should respond to +speed.
favour fte's nq protocols over dp ones when both are supported by the client, to boost compat with qss.
try to generate proper utf-8 filenames from player/team names when recording mvds, instead of bad char encodings.
Fix loading saved games with splitscreen enabled.
pr_dumpplatform can now optionally filter symbols via some specific external files, adding deprecated tags for any symbol not also supported by DP and QSS.
Rework CSQC globals to use macros, to ensure completeness and consistency.
rework sv_csqcdebug to use special svcs. This should make it more robust.
Fix some scary warnings when vid_reloading the vulkan renderer.
Fix a possible segfault from opengl+rtlights.
Mousewheel will now interact better with engine menus.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5757 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-08 05:11:09 +00:00
Spoike a5371f0027 Add 'using' keyword (for muting deprecation warnings), eg __using(foo) {codethatuses(foo);};
Make checkbuiltin also mute deprecation warnings for the referenced builtin within the current scope (read: usually entire containing function).
Move crc-based module-type prints to after any warnings about missing symbols.
Fix load-game bug that was causing strings to be forgotten (reported by Orl).
Add (virtual) mod+pow opcode variants that accept int types.
Add compiler flags to dump symbol lists, field lists, autocvar lists, and file lists. This replaces similar functionality from multiple -v args.
Add a little colour to a few more warnings.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5756 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-08 04:44:07 +00:00
Spoike 2ce617ce7a Update the qclib-only makefile. linux's gcc didn't like the -l ordering.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5755 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-08 03:21:27 +00:00
Eukara 42d810b320 Support for HL SPR's INDEXALPHA blend type.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5754 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-09-05 18:58:12 +00:00
Spoike 64fb49e908 Fix crash from DNS resolution failures.
Additionally attempt to work around ISPs with dodgy DNS services.
Add tls_provider cvar, for builds using both gnutls and openssl.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5753 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-26 09:30:51 +00:00
Spoike 79d851d6ea Fix some crashes with rtworld enabled.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5752 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-26 09:25:48 +00:00
Spoike 8651ff62d8 fix 24bit skins to work again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5751 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-24 07:52:55 +00:00
Spoike 244b0681ed dont use CLOCK_MONOTONIC when not defined (should fix compile-time issue on non-posix macos, reported by rhoenie).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5750 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-24 07:50:15 +00:00
Spoike da6b6c3e6c qcc: Avoid crashing from trying to warn about uninlinable inlines.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5747 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-16 04:41:11 +00:00
Spoike 0c0b6c3ed0 Try to explicitly opt in/out to windows's ASLR in release/debug builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5746 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-16 04:40:13 +00:00
Spoike ac4e7c396c Only try to autoupdate the fmf file if we know which file to actually update... (should fix a crash).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5745 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-16 04:00:46 +00:00
Spoike 22ea0b87d7 Try to fix up some qcc inline logic to no longer result in so many offset_0 values.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5744 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-15 04:31:27 +00:00
Spoike 51ef92fa52 Add map selection list to menusys. Some other minor tweaks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5743 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-13 10:09:39 +00:00
Spoike 744b9a25db try to fix common-symbol conflicts in windows builds.
attempt to provide some better gettext support for engine strings (especially cvar/command descriptions). still no translations available though.
try to optimise hldml rendering a little.
fix issue with menuqc models rendering as black when fog is active.
use threads to try to reduce stalls from player-skin switches.
add sys_clocktype cvar to linux builds too, with CLOCK_MONOTONIC by default.
enable dtls certificate pinning log stuff.
fix r_viewmodel_fov being used instead of fov cvar.
fix possible segfault when egl driver fails.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5742 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-13 08:39:48 +00:00
Spoike f7d46b7878 Fix clientside sv_cheats overriding server settings. Don't pointlessly stall for 5 secs when connecting via dtls.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5741 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-10 18:34:10 +00:00
Spoike 437a3091e4 Fix some recent bugs in fteqcc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5740 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-03 10:34:44 +00:00
Spoike 48d4e97515 Try to make the readcmd builtin more robust (by erroring out if some command destroyed the qcvm during execution). Stop forceinfokey from spamming when the new value is unchanged.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5739 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-01 06:33:05 +00:00
Spoike 1d4535f5a1 Add sys_clocktype cvar for windows, for people on older versions of windows that need to work around windows timer bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5738 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-08-01 06:28:22 +00:00
Spoike b005d9fdcd Try to fix missing impulses bug.
Fix skybox fog glsl compile error.
Implement DP_QC_FS_SEARCH_PACKFILE, search_getpackagename, and search_fopen.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5737 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-21 07:58:54 +00:00
Spoike a3a0e1eae1 Do the _xyz thing for vectors in structs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5736 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-19 22:39:10 +00:00
Spoike 8a20cb3a70 Annonymous union/struct fields were not initialising their symbol data properly for vector types.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5735 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-19 16:00:31 +00:00
Spoike 4d1a45109c Fix msvc compile issue reported by ericw. Tighten some syntax checks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5734 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-19 01:38:42 +00:00
Eukara 00dc8aad4f Makefile: Force PKGCONFIG on OpenBSD
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5733 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-17 16:19:35 +00:00
Spoike 1ff329062f Fix 'enum int {};' syntax.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5732 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-16 19:23:00 +00:00
Spoike bd29617dce Fix NOT_I instruction emulation.
Fix 'struct{.float a,b;}' type confusion.
Display a more helpful message when too many globals are used.
Fix warnings about qcc commandline (eg when -max_regs is used).


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5731 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-15 23:50:30 +00:00
Spoike 6ffa59d684 Warn when fog rgb is specified above 2. fog rgb is supposed to be floats, not byte values. The oversaturation causes problems with skyboxes and other infinite-distance type things.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5730 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-15 23:47:04 +00:00
Spoike 457b7e5f58 Fix warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5729 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-14 01:16:20 +00:00
Spoike 6bea300f30 Allow menuqc to access the clipboard. Fix some c++ish warnings. Fix SDL build linker issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5728 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-14 00:48:56 +00:00
Spoike 474aaf68a2 Add support for generating DP-style arrays, now that it looks like they might actually be getting support in DP...
Update list of opcodes usable with -Tdp
Fix issue with logic ops resulting in crashes.
Fix enumflags crashes.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5726 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-13 17:48:16 +00:00
Spoike 3129400101 Fix problem with symbol offsets (read: structs) and inline functions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5725 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-09 12:27:31 +00:00
Spoike 763888e1ff Try to fix a crash OMC had.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5724 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-07 22:05:36 +00:00
Spoike 82ecdfbfa8 Try to fix the bugs that Paril found... I wonder if I broke anything new.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5723 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-07 22:01:53 +00:00
Spoike c09cf1481a Fix fteqccgui compile issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5722 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-02 16:29:01 +00:00
Spoike f2fe6951b6 Fix up issue with \!int ignoring the upper bits.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5721 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-02 16:28:20 +00:00
Spoike 0bda1b5c38 Add support for writing uhexen2's v7 progs files.
Try to fix issues with newer gcc not merging common symbols any more.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5720 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-07-01 05:32:21 +00:00
Spoike 856cad09cc Try to switch some types in preparation for potentially switching to 64bit types (so qc timer can use doubles for longer map uptime).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5718 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-27 19:32:49 +00:00
Spoike ee55057f8d Make the help command easier for csqc to replace without needing to use menuqc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5717 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-27 19:32:36 +00:00
Spoike 9dda706952 Fix conditionals for -log and -nolog args.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5716 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-27 19:32:31 +00:00
Spoike 3c0743f169 Add offset pointer stores to fteqcc, for writable tempbuffers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5715 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-27 19:32:26 +00:00
Spoike 27cf81cde7 Attempt to make clang happier.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5713 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-27 19:32:16 +00:00
Spoike 18b2ee695f Engine and vm changes required for tempbuffers (along with a few related builtins like findlist).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5712 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-27 19:32:08 +00:00
Spoike 7a22fb2527 Support Middle+Drag to move around in modelviewer. Fix bone orientation display. Start frametimes at the start.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5711 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-27 19:32:00 +00:00
Spoike 571d16b14f Attempt to fix VK_NOT_READY issue on amd vulkan drivers, as well as xlib errors also on amd.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5710 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-27 19:31:55 +00:00
Spoike 08f8cb2d35 Fix double-free crash on TLS failure.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5709 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-27 19:31:48 +00:00
Spoike dfc44e5d36 Print a warning message when we try to make sense of an invalid/corrupt infostring.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5708 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-20 09:19:18 +00:00
Spoike dfed212698 Try to handle 'r_clearcolour 1 0 0' better without getting confused by palette indexes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5707 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-20 09:17:38 +00:00
Eukara 4851956acb GLX: Map the key 'MENU' aka K_APP to XK_Menu.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5706 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-13 20:02:55 +00:00
Spoike 5aa11ddbb1 makefile: attempt to fix freetype when not using makelibs (should make it slightly easier for people to compile with msys2 without needing to resort to cmake).
emenu: clean up hexen2's maplist options slightly.
emenu: modelviewer should now be slightly more friendly (click+wasd to move around).
particles: fix up randomised s coords.
csqc: try to fix issue with applycustomskin not refcounting properly.
client: [s_]precache and (new) mod_precache cvars can be set to 2 to precache the resources after load, for faster loading at the expense of some early stutter, without risking later mid-game stuttering.
gltf: add support for morphweights in a cpu-fallback path. don't expect good performance on surfaces with morphtargets for now.
gtlf: add some support for gltf1 files. far from perfect.
shaders: gltf1 semantics handling
shaders: const correctness
iqmtool: fix up mdl skin export.
iqmtool: integrate the engine's gltf2 loader. works with animated models, but unanimated ones suffer from basepose-different-from-bindpose issues.
q3bsp: hopefully fixed bih traces. still disabled for now.
qc: change default value of pr_gc_threaded to 1.
qcext: add the '__deprecated' keyword to various symbols in fteextensions.qc, now that fteqcc supports it.
ssqc: spit out a more readable error for WriteByte(MSG_CSQC,...) outside of SendEntity.
ssqc: add registercommand builtin, for consistency with menuqc and csqc (though only one can register any single command).
sv: report userinfo/serverinfo sizes (some clients still have arbitrary limits, plus its nice to see how abusive things are)
sv: try to optimise sv_cullentities_trace a little.
movechain: relink moved ents.
csqc: add spriteframe builtin, for freecs to use instead of more ugly less reliable hacks.
menuqc: fopen("tls://host:port", FILE_STREAM) should now open a tls stream. tcp:// should also work.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5703 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-12 23:29:58 +00:00
Spoike a37f70e5f0 Add con_savehistory cvar, so the user can disable saving conhistory.txt all the time.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5702 fc73d0e0-1445-4013-8a0c-d673dee63da5
2020-06-01 01:41:17 +00:00