Commit graph

1781 commits

Author SHA1 Message Date
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
d99bc0b22a Improve webrtc compat. 2024-07-14 19:58:26 +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
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
5796d256e8 Fix some quirks exposed by the the web port.. 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
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
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
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
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
6cffd6f3ab Add r_glsl_emissive to work around q2 remaster fullbright issues. 2024-07-14 19:58:24 +01:00
Shpoike
9c96ab9b31 Add the n64 texinfo flags from the q2 remaster. 2024-07-14 19:58:24 +01:00
Shpoike
10402a5f1c Support for Q2E's variation of md5s. 2024-07-14 19:58:24 +01:00
Shpoike
969134d9fd Add support for Q2E's lan networking layer (the annoying lobby bit).
This is separate from protocol 2023 stuff.
2024-07-14 19:58:24 +01:00
Shpoike
f3a4005c71 Allow for lit water on q2bsp. 2024-07-14 19:58:24 +01:00
Shpoike
330cbcdb20 Try to fix up some manifest quirks... 2024-07-14 19:58:24 +01:00
Shpoike
b0b4725119 Fix up PACKAGE_DOOMWAD 2024-07-14 19:58:23 +01:00
Shpoike
88514bda4f Add support for the 'qbsim' variant of q2bsp. 2024-07-14 19:58:23 +01:00
Daniel Svensson
3672234c24 Pass origin point to CM_BoxLeafnums.
Used to pass uninitialized mins and maxs.
Renames p to point for readability.
2023-12-25 11:07:30 +01:00
Daniel Svensson
c9687bfd7b Use float[3] for MSG_ReadPos and MSG_WriteDir.
vec3_t is not available in header, but float[3] matches better than float*.
2023-12-25 11:07:30 +01:00
Daniel Svensson
9d6f5eb9cb Missing braces in SSL_LoadPrivateCert.
Harmless as the NULL vars were set to NULL again, but ugly.
2023-12-25 11:07:30 +01:00
Shpoike
dbb9aa329a Be more agressive about using our ffmpeg plugin instead of it just failing outright. 2023-08-12 14:04:01 +01:00
Shpoike
eb6490aa43 Add DECOUPLED_LM to our q2bsp support too, and fix up its FACENORMALS too. 2023-08-12 14:04:01 +01:00
Shpoike
bb9f7eb51a Add r_nolerp_list (matching QS) for people who insist on breaking lerping on eg wall torches. Also add a dupe cvar name to provide compat with QS's r_noshadow_list. 2023-08-12 14:04:01 +01:00
Shpoike
5dba16de0d Fix up some issues with drawpic(HTTPURL) 2023-08-12 14:04:01 +01:00
Shpoike
75166b0815 Fix up an __int64 networking issue. allow qc's sprintf builtin to print them ('q' modifier, also works for doubles when paired with the 'float' modifier as appropriate). 2023-08-12 14:04:01 +01:00
Shpoike
e48e9c67ad Add support for the DECOUPLED_LM bspx lump. 2023-08-12 14:04:01 +01:00
Shpoike
6fc3d57c76 Finally added support for ericw-tools' FACENORMALS bspx lump. 2023-08-12 14:04:01 +01:00
Shpoike
b5705e4d7e Try to fix up the flatpak build's handling of fmf files. 2023-08-12 14:04:01 +01:00
Shpoike
01a958e0a6 Handle Hexen2's SOLID_PHASE more accurately, including warts, so corpses can be reliably whacked with melee weapons. 2023-08-12 13:59:55 +01:00
Shpoike
e0c6c78c3d Hexen2: Try to match hexen2's movement speeds more accurately. 2023-08-12 13:59:55 +01:00
Shpoike
587032f1f6 Hexen2: Tweaks to the sbar to better match hexen2's. 2023-08-12 13:59:55 +01:00
Shpoike
603eb89ca2 We flood-fill model skins for compat with vanilla glquake. Turns out glquake had a bug that causes it to only floodfill skin 0, rather than all (non-group) skins, and our behaviour was making hexen2 compat noticably worse. 2023-08-12 13:59:55 +01:00
Shpoike
e292e1bbfb Attempt to do a better job at internationaliation. 2023-08-12 13:59:55 +01:00
Shpoike
997af19495 Add support for eukara's freehl updates. 2023-08-12 13:59:55 +01:00
Shpoike
ff80b3bd59 Rework maplist command so mod maps are displayed last instead of first (so nearer the input line instead of the order the engine searches them).
Also .bsp vs .bsp.gz etc maps are now ordered consistently too.
Modifiers like maps/foo#bar.ent are now shown separately in the listing too.
Hide maps that are shadowed by a higher-priority gamedir (so no dupes).
Closes https://github.com/fte-team/fteqw/issues/171
2023-08-12 13:59:55 +01:00
Shpoike
6b69fe0378 Be more agressive about ignoring vid_restart inside configs saved by dodgy engines. 2023-08-12 13:59:54 +01:00
Shpoike
0509f7c83c Tweaks for the flatpak builds. 2023-08-12 13:59:54 +01:00
f317282571
Quake II: read the skin, effects, renderfx, and solidsize fields as unsigned shorts (#200)
* Quake II: read the skin, effects, renderfx, and solidsize fields as unsigned shorts.

* Add missing header definition for int MSG_ReadUShort();

* Rename MSG_ReadUShort() to MSG_ReadUInt16() as per @Shpoike's wishes

* solidsize needs to be read in via MSG_ReadSize16 because it does protocol conversions (@Shpoike)

* Q2UFRAME16 and Q2USOUND should be read unsigned as well, as it matches the internal data within FTE (@Shpoike)
2023-07-26 12:12:21 -07:00
Fix
a024a82b89 Remove NPFTE preprocessor stuff 2023-07-09 20:41:24 +02:00
Fix
8adffcecfa remove NPQTV-specific defines 2023-07-09 20:27:30 +02:00
fhomolka
6d83a3218a
Remove NaCl code (#190)
* Remove the nacl dir

* Remove nacl from ifdef checks shared with other platforms

* Remove nacl from build bash scripts

* More removal of nacl from bash scripts

* Remove nacl-specific code from the engine

* More removal of nacl-specific code from the engine

* remove nacl-specific code from the Quake 3 plugin

* Remove nacl from readme (also seems to have force LF line endings)

* Remove nacl mention from browser.txt

* Remove nacl from Makefile

* Remove nacl from dotnet2005 solution file (lol)

* Correcting an endif, this did not end nacl

* Clarification for NaCL no longer needed

* Left small todo for myself

* Partially undo f44daef091bcc5917b0ddb2cbe41ebdd9738f770
the if preproc checking for `_DEBUG` was incorrectly removed
2023-07-01 15:20:13 -07:00