1
0
Fork 0
forked from fte/fteqw
Commit graph

5898 commits

Author SHA1 Message Date
newbytf
322f01f212
Deliver _ONE messages to correct spectator(s) (#265)
Previously it would only deliver if:
  (a) you were spectating no one
  (b) player-0 was getting messages (which you'd then incorrectly receive)

Co-authored-by: newby <newby@rakis.net>
2024-08-26 15:46:51 -07:00
Peter0x44
7599872f9c
Allow overriding CC for cross-compilation. (#262)
In the case of SDL2 cross-compilation, I had to make this change.
FTE_TARGET=SDL2_arm and such don't work. If I override the compiler with
something like:
make CC=aarch64-linux-gnu-gcc then this particular line reverts it to
gcc and calls the system compiler anyway. I'm not sure why this line
needs to exist at all.

I did the same for windres, because it might also make sense to override
it with an i686-w64-mingw32-windres. Or potentially for the
aarch64-w64-mingw32 gcc in future.
2024-08-26 15:46:01 -07:00
Peter0x44
00a42c24c3
Account for setsensitivityscaler in IN_MoveJoystick (#264) 2024-08-26 15:44:14 -07:00
Shpoike
f75ba7d8e8 Fix gl_screenangle with postproc. 2024-08-26 20:27:35 +01:00
Shpoike
62b1e27620 Fix player skins with software banding. 2024-08-25 06:12:05 +01:00
Shpoike
e002c43430 Support a couple of other wav file variants. 2024-08-25 06:12:05 +01:00
Shpoike
75ee7daa82 Fix postprocess screwyness with the classic sbar. 2024-08-25 06:12:05 +01:00
Shpoike
d45687ccf0 Reduce the chances of input_cursor_entity getting stale values on map changes. 2024-08-25 06:12:05 +01:00
Shpoike
541b98edda Fix mvd ents spawning with the wrong entity in certain cases. 2024-07-21 01:18:21 +01:00
Shpoike
ff1a2299f4 megacommit.
adds qtv relay support.
lots of other misc tweaks.
2024-07-14 19:58:26 +01:00
Shpoike
effee0e45a Make the web port's local storage stuff more visible. Fix web port's touchscreen inputs. 2024-07-14 19:58:26 +01:00
Shpoike
6c795f62ab Fix issue with ktx's parsing of certain entities. 2024-07-14 19:58:26 +01:00
Shpoike
5685376732 TURN support (stupidly) requires md5 support. Make it available to a couple of other subsystems too. 2024-07-14 19:58:26 +01:00
Shpoike
b2557adfe2 Fix up gamepad support in the web target. 2024-07-14 19:58:26 +01:00
Shpoike
f9ed78383c Try to fix up ktx compat a bit. 2024-07-14 19:58:26 +01:00
Shpoike
f513ea03ef Attempt to fix map-startup timing issues. This should fix (older) copper's door-linking ents. 2024-07-14 19:58:26 +01:00
Shpoike
0923cda873 Allow browser port's FS_OpenTCP function to open a 'faketcp' websocket connection. This is so qtvplay can work without first needing to use the 'udp' protocol. 2024-07-14 19:58:26 +01:00
Shpoike
353f5b7ff9 Fix up master's http stuff to properly report serverinfo for brokered servers. 2024-07-14 19:58:26 +01:00
Shpoike
d99bc0b22a Improve webrtc compat. 2024-07-14 19:58:26 +01:00
Shpoike
5bc9626dd6 Handle dpi scaling / zooming in the browser port. 2024-07-14 19:58:25 +01:00
Shpoike
44f97c2cc1 Ditch the windows close messagebox in favour of telling the menuqc instead. Should help encourage people to save their config changes a little more often... 2024-07-14 19:58:25 +01:00
Shpoike
92fd7eb9a7 Stub some wrath builtins mostly for docs. 2024-07-14 19:58:25 +01:00
Shpoike
8b0cfff7c7 Always load envmaps as linear, they don't make much sense as nearest (consistent with lightmaps). 2024-07-14 19:58:25 +01:00
Shpoike
8927712e0f Tweak fteqcc's --help output. 2024-07-14 19:58:25 +01:00
Shpoike
3fed00b830 Allow for the separation of address and tls certificates (eg when the target is a explicit ip:port. 2024-07-14 19:58:25 +01:00
Shpoike
9abb3b479c small tweak to item timers. 2024-07-14 19:58:25 +01:00
Shpoike
904d482627 Move our glsl func prototypes away from the ARB ones to match the gl2 variants. This sidesteps apple fucking with the types and should result in fewer type mismatches when compiling on mac, basically a move towards consistency. 2024-07-14 19:58:25 +01:00
Shpoike
5796d256e8 Fix some quirks exposed by the the web port.. 2024-07-14 19:58:25 +01:00
Shpoike
534f4874b1 Don't print the trailing junk in demos. 2024-07-14 19:58:25 +01:00
Shpoike
5397d3ecf6 Add a bit more configuration to r_tracker. 2024-07-14 19:58:25 +01:00
Shpoike
69982c9b96 temp 2024-07-14 19:58:25 +01:00
Shpoike
fd387f3e99 'dir textures/*/*.wal' can now show previews. 2024-07-14 19:58:25 +01:00
Shpoike
3da900073e q2rtx servers were not showing up. 2024-07-14 19:58:25 +01:00
Shpoike
f61f98fe6f Add vk_khr_ray_query support as an option instead of using shadowmaps.
currently world-only shadows, and inefficient to compute.
2024-07-14 19:58:25 +01:00
Shpoike
1a446879d8 Preliminary CoD formats support. 2024-07-14 19:58:25 +01:00
Shpoike
8dadfb4878 Added sys_openfile console command(and menu option) to web and flatpak(via cmake+dbus) builds, to 'install' packages on sandboxed systems a bit more easily.
Cmake: Add FTE_WERROR option, defaults to true in debug builds and off in release builds (in case future compilers have issues).
Cmake: Pull in libXscreensaver so we don't get interrupted by screensavers when playing demos.
Make: Added `make webcl-rel` for a web build without server bloat (eg for sites focused on demo playback. Yes, this means you XantoM).
fteqcc: Include the decompiler in fteqcc (non-gui) builds ('-d' arg).
fteqcc: Decompiler can now mostly handle hexen2 mods without any unknown opcodes.
Allow ezHud and OpenSSL to be compiled as in-engine plugins, potentially for web and windows ports respectively.
Web: Fix support for ogg vorbis. Add support for voip.
Web: Added basic support for WebXR.
QTV: Don't try seeking on unseekable qtv streams. Don't spam when developer 1 is set.
QTV: add support for some eztv extensions.
MVD: added hack to use ktx's vweps in mvd where mvdsv doesn't bother to record the info.
qwfwd: hack around a hack in qwfwd, allowing it to work again.
recording: favour qwd in single player, instead of mvd.
Protocol: reduce client memory used for precache names. Bump maximum precache counts - some people are just abusive, yes you Orl.
hexen2: add enough clientside protocol compat to play the demo included with h2mp. lacks effects.
in_xflip: restored this setting.
fs_hidesyspaths: new cvar, defaults to enabled so you won't find your username or whatever turning up in screenshots or the like. change it to 0 before debuging stuff eg via 'path'.
gl_overbright_models: Added cvar to match QS.
netchan: Added MTU determination, we'll no longer fail to connect when routers stupidly drop icmp packets.
Win: try a few other versions of xinput too.
CSQC: Added a CSQC_GenerateMaterial function, to give the csqc a chance to generate custom materials.
MenuQC: Added support for the skeletal objects API.
2024-07-14 19:58:24 +01:00
Shpoike
ea0509805b Pull in updated vulkan headers instead of carrying our own. 2024-07-14 19:58:24 +01:00
Shpoike
5a6cbc4375 Always show the bones of models that exist purely to hold skeletal animations (with no actual meshes). 2024-07-14 19:58:24 +01:00
Shpoike
5474a5a5c8 Make CSQC's cliptonetwork stuff skip according to entnum, so deltalisten ents (or weird hacks) can pass through the ssqc ents they're supposed to represent. 2024-07-14 19:58:24 +01:00
Shpoike
5334ca5d4c Someone managed to strip a comma and break hipnotic with it. 2024-07-14 19:58:24 +01:00
Shpoike
5e088e77d0 Let menuqc configure the hexen2 class colourmapping rubbish. 2024-07-14 19:58:24 +01:00
Shpoike
ee36f33522 Fix up some issues with buffer stuff. 2024-07-14 19:58:24 +01:00
Shpoike
b133a4defb Fix https://github.com/fte-team/fteqw/issues/228 2024-07-14 19:58:24 +01:00
Shpoike
6783c4dc81 Fix a qcc crash and some quirks. 2024-07-14 19:58:24 +01:00
Shpoike
d781018df3 Add all the junk for network compat with Q2E.
Defaults to using Q2E's protocol 2023 (but not netchan).
FTEQ2 servers can host both vanilla and Q2E clients simultaneously, but its recommend to use the vanilla gamecode to avoid localisation issues.
2024-07-14 19:58:24 +01:00
Shpoike
3708dab87a Clean up some zlib references. 2024-07-14 19:58:24 +01:00
Shpoike
e39b29b130 Allow queueing of centerprints. 2024-07-14 19:58:24 +01:00
Shpoike
7b5d2745ed Use EXIT_SUCCESS/FAILURE on windows too, for the exceedingly rare times that it actually matters. 2024-07-14 19:58:24 +01:00
Shpoike
73d8832318 Handle skyautorotate so the q2 remaster's skies do not spin constantly in a really annoying way. 2024-07-14 19:58:24 +01:00
Shpoike
6cffd6f3ab Add r_glsl_emissive to work around q2 remaster fullbright issues. 2024-07-14 19:58:24 +01:00