Commit Graph

1755 Commits

Author SHA1 Message Date
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
Marco Cawthorne 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
Marco Cawthorne f4044af503
Fix compilation of the 'nocompat' build config. 2023-06-23 15:06:54 -07:00
Marco Cawthorne 2fbf78579d
Fix WinNT server builds by not using snprintf and updating FS_FixupFileCase. 2023-06-23 14:32:20 -07:00
Shpoike 75c6527893 csaddon can now create/edit patches. 2023-04-17 03:58:21 +01:00
Shpoike d37b8d07ff Try fixing te_gunshot with nq protocols. 2023-04-17 03:58:21 +01:00
Shpoike 5082928f36 Try to reduce warning spam. 2023-04-17 03:58:21 +01:00
Shpoike eaf59671a4 Messing around with flatpak. 2023-04-17 03:58:21 +01:00
Shpoike 1ce399e969 Fix up some obscure builds. 2023-04-17 03:58:21 +01:00
Shpoike cae062b142 Make updates menu searchable, make qi plugin a little more friendly. 2023-04-17 03:58:21 +01:00
Shpoike 226c1cf6b4 Fix recent console click quirks. 2023-04-17 03:58:21 +01:00
Shpoike 505061a8d2 Add deflate64 support, cos why not. 2023-04-17 03:58:21 +01:00
Shpoike 6f61af8ee9 Cvar description tweaks. 2023-04-17 03:58:21 +01:00
Shpoike 527233154c Clients can now request the master to initiate an WebRTC/ICE connection with 'sv_public 1' servers. This is primarily for the browser port. Servers now report their srflx address via the status command (with fp, ready for secure copy+paste). 2023-04-17 03:58:21 +01:00
Shpoike 727aaec80c Fix console expansion when execing macros, to expand on line execution rather than the entire macro contents. 2023-04-17 03:58:21 +01:00
Shpoike 95d25558ef Move broker address to a cvar, so users can actually change it. 2023-04-17 03:58:21 +01:00
Shpoike 02a8a4fb76 Prevent our sctp implementation from corrupting its inbound messages. 2023-04-17 03:58:20 +01:00
Shpoike 2c8c9b615f Fix some bugs. 2023-04-17 03:58:20 +01:00
Shpoike f2d54f30d8 Update DTLS stuff, fixing certificate pinning bugs.
We should now support dtls1.2 under win10 (otherwise win7+8 is still stuck with 1.0).
SSQC can now query client certificate info via infokey - *cert_sha1 or *cert_dn
Server addresses can be postfixed with eg ip:port?fp=BASE64 to provide a fingerprint to verify the server without depending on cert authorities.
2023-04-17 03:58:20 +01:00
Shpoike a5232cfecd Allow manifests to provide signatures for packages. Restart the menus when a package with a menu.dat is enabled. 2023-04-17 03:58:20 +01:00
Shpoike c5f837d468 Rework some hashfunc_t stuff. 2023-04-17 03:58:20 +01:00
Shpoike 7caee8b453 Improve command arg completion. 2023-04-17 03:58:20 +01:00
Shpoike 22533dfab8 Fix up some minor portability issues. 2023-04-17 03:58:20 +01:00
Shpoike a70c84a2bc When models include two sets of texture coords, let the glsl actually access them. 2023-04-17 03:58:20 +01:00
Shpoike d97fd1bfc9 Fix '+set tls_provider foo' not working properly. Fixes https://github.com/fte-team/fteqw/issues/162 2023-04-17 03:58:20 +01:00
Shpoike 990066dea1 Add pm_bunnyfriction cvar to better mimic nq player physics with predictable QW physics. 2023-04-17 03:58:20 +01:00
Shpoike f54b9b8459 Fix up the web build's text+touch input a little. Make its webrtc cvars more consistent with desktop builds. 2023-04-17 03:58:20 +01:00
Shpoike 5786b43a7d Fix q3 when going into controls menu. 2023-04-17 03:58:20 +01:00