1
0
Fork 0
forked from fte/fteqw
Commit graph

6525 commits

Author SHA1 Message Date
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
3ca6a3a515 Add proper support for touchscreen events to menusys. 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
Shpoike
9c96ab9b31 Add the n64 texinfo flags from the q2 remaster. 2024-07-14 19:58:24 +01:00
Shpoike
f4330d765d Clean up some buffers that were never used. 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
3357338ab7 win: Make sure sys_clockprecision gets applied at startup, which should help improve emulated system timer precision. 2024-07-14 19:58:24 +01:00
Shpoike
aa43bc40f7 Fix the issue with needing double clicks to interact with the engine's menus. 2024-07-14 19:58:24 +01:00
Shpoike
d5c711014f Make some cmake deps more optional. Don't bail when zlib is unavailable. 2024-07-14 19:58:24 +01:00
Shpoike
ed06967318 Support for q2pro's dlserver= stuff. 2024-07-14 19:58:24 +01:00
Shpoike
4f047a2214 Sound channels should match actual channels, rather than matching the weird remapping done for the qw-specific legacy sound variation that packed the reliable flag in the middle of channels. 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
345a0978c6 Fix rtlights with decoupled lightmaps. 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
99569251a8 Don't make assumptions about framecounts in angled sprites. 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
1f9f3635f0
Add support for $loc_name_mh in teamplay messages. (#251) 2024-04-06 12:19:16 -07:00
RandomBrushes
0630ea571e
RoQ decoder: Work on RGBA-data interenally instead of YUV420-data (#250)
* RoQ decoder: Work on RGBA-data interenally instead of YUV420-data

This fixes color-smearing artifacts on movement (caused by uneven motion vectors not being correctly applicable on half-resolution UV-buffers) and makes RoQ-video directly uploadable as texture.

YUV-to-RGB-conversion is now done only when receiving new codebooks in the RoQ stream, which is a lot less data to be RGB-converted per-frame.

* RoQ decoder: C89-compliant variable declarations

* RoQ decoder: more consistent indentation
2024-04-06 12:16:24 -07:00
Daniel Svensson
b7963e6241
Scoreboard enhancements (#246)
* Hide scoreboard stats for specs without score.

* Hide centerprint when showing scores.

---------

Co-authored-by: Daniel Svensson <dvensson@gmail.com>
2024-04-05 16:09:34 -07:00
57e9276670
Route_Process: Respect the filter (denylinkflags) (#236)
Originally submitted by CYBERDEViL, only made style changes to fit in with the rest.
2024-03-08 11:45:50 -08:00
1c5e82bec7
Handle masked textures from post-release Half-Life MDL files. (#243)
Half-Life models did not have these flags, but games/mods starting in 2003 and later (Day of Defeat, Condition Zero etc.) use these for plants, trees, cars and anything else desiring masked textures.
2024-03-08 11:45:21 -08:00
76e4258ad3
Use zlib fossils directory for permalinked releases of zlib. (#244) 2024-03-08 11:44:06 -08:00
Shpoike
118dab975e
Merge pull request #234 from qw-ctf/warnings-etc
Warnings etc
2024-01-27 06:33:05 +00:00
Daniel Svensson
3b6cd9aac0 Add GitHub Actions workflow. 2024-01-16 19:26:58 +01:00
Daniel Svensson
ab1e8d321a Fix indentation in ezhud to avoid confusing the compiler. 2023-12-25 11:07:30 +01:00
Daniel Svensson
317ca00298 Use snprintf and a larger buffer for file size.
In practice it would likely never overflow, but if you happen to have an implausible large demo in folder it could.
2023-12-25 11:07:30 +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
bdb5df93a9 No need to NULL check statically declared array entries. 2023-12-25 11:07:30 +01:00
Daniel Svensson
c7eb4fb3b0 keydown is a bitmask, not a qboolean. 2023-12-25 11:07:30 +01:00
Daniel Svensson
21d3080fbe Avoid dangling &m pointer warning in BE_GenTempMeshVBO.
meshes and meshcount are always updated after the function call, so the assignments had no effect.

Also make the function void as it always returns true.
2023-12-25 11:07:30 +01:00
Daniel Svensson
c95a739208 Match Master_SetSortField decl with its implementation.
Second parameter is a bit field, not a boolean.
2023-12-25 11:07:30 +01:00