Commit Graph

5908 Commits

Author SHA1 Message Date
Daniel Svensson e62a712ee9
CI and various compile fixes (#270)
* Fix emscripten build.

* speexdsp need to disable neon support.
* all deps need --host=none.

* Fix mingw 32 bit build.

* Only try to static link ezhud if building client.

* Make STRIPFLAGS overrideable.

* pkgconf typo, should be --atleast-version.

* Fix -host -> --host typo.

* Update CI.
2024-09-06 09:31:36 -07:00
Daniel Svensson 72fe01555a
Fix vwep injection for demos. (#269) 2024-08-30 12:04:56 -07:00
erysdren 52e672d034
Fix makefile for linux->win64_SDL target (#258)
Co-authored-by: eukara <marco@icculus.org>
2024-08-27 23:50:12 -07:00
Marco Cawthorne cea1acab34
fix qcc-{rel,dbg} targets in engine/Makefile 2024-08-26 17:34:58 -07:00
Marco Cawthorne 53420aab02
Move CL_TryTrackNum again where it doesn't cause further complaints 2024-08-26 16:34:08 -07:00
Marco Cawthorne 4950f5971b
safeswitch in SV_AcceptMessage requires mentions of all protocols despite being unavailable. 2024-08-26 16:18:38 -07:00
Marco Cawthorne 9a453bed2f
Multiplayer menu should not poke skins when QWSKINS isn't set 2024-08-26 16:18:34 -07:00
Marco Cawthorne 29f442a325
Log_Logfile_f is only available when HAVE_LEGACY is set 2024-08-26 16:18:30 -07:00
Marco Cawthorne 7d70e3c612
Move CL_TryTrackNum out of the QWSKINS define 2024-08-26 16:18:23 -07:00
Solarite 75e51c3081
Fix typo in capturedemo command (#259)
Fixed a slight typo in the description for the `capturedemo` command.
2024-08-26 15:47:03 -07:00
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