Commit graph

1569 commits

Author SHA1 Message Date
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
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
69982c9b96 temp 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
5e088e77d0 Let menuqc configure the hexen2 class colourmapping rubbish. 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
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
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
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
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
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
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
771500d9f8 Incorrect surf_styles param size for LightPlane.
Most callee's already used MAXCPULIGHTMAPS as size, which the function expects.
2023-12-25 11:07:30 +01:00
Daniel Svensson
435a020cb8
Don't purge tracker icons. (#233) 2023-12-18 10:26:55 -08:00
Shpoike
0eeb410ce0 Support for ericw-tools' lightgrid stuff. 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
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
4894a3b77e Fix some obscure q3 issues. 2023-08-12 13:59:55 +01:00
Shpoike
e698f60884 Hexen2 has fewer player colours for the user to select from (0-10 instead of 0-13). Don't glitch if they pick something invalid. 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
76cbc3c019 Make use of fontconfig where detected by cmake, to avoid having to make sense of the system's font directory mess. 2023-08-12 13:59:54 +01:00
Shpoike
0509f7c83c Tweaks for the flatpak builds. 2023-08-12 13:59:54 +01:00
25f1915fbf
Add more descriptions for CVARs (#201)
* Add more descriptions for CVARs

* Fixed a small typo

* Another small typo

* Added the suggestions from @Shpoike and @eukara along with a little more cleanup
2023-07-29 17:04:47 -07:00
Fix
a024a82b89 Remove NPFTE preprocessor stuff 2023-07-09 20:41:24 +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
f4044af503
Fix compilation of the 'nocompat' build config. 2023-06-23 15:06:54 -07:00
Shpoike
96dd67b3d0 Include audio mixer timings in r_speeds 2. 2023-04-17 03:58:21 +01:00
Shpoike
75c6527893 csaddon can now create/edit patches. 2023-04-17 03:58:21 +01:00
Shpoike
eaf59671a4 Messing around with flatpak. 2023-04-17 03:58:21 +01:00
Shpoike
84035c8ae2 This seems more correct... 2023-04-17 03:58:21 +01:00
Shpoike
6f61af8ee9 Cvar description tweaks. 2023-04-17 03:58:21 +01:00
Shpoike
5ed4012a9b Fix OOM with obviously corrupt miptex lumps (eg: jvoxdm1.bsp). 2023-04-17 03:58:21 +01:00
Shpoike
832ee6beef Prevent skyboxes from getting disabled on vid_reloads. 2023-04-17 03:58:20 +01:00
Shpoike
c5f837d468 Rework some hashfunc_t stuff. 2023-04-17 03:58:20 +01:00
Shpoike
1fe478dfa1 Add basic support for ktx's 'mapname#modifier' ent stuff. 2023-04-17 03:58:20 +01:00
Shpoike
774fb93721 Work around some BS issue. 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
0d2a0c615a Eukara expressed an interest in loading fonts without any antialiasing. 2023-04-17 03:58:20 +01:00
Shpoike
d9a334c694 Add halfrate shading to the vulkan renderer, where supported by headers+drivers. Fonts are exempt. 2023-04-17 03:58:20 +01:00
Spoike
48576a59dc A bit of a code cleanup, change a couple of prints.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6343 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:15:31 +00:00
Spoike
a003674c01 Fix vulkan renderer's rt spotlights (both shadows and spinning).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6332 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:14:09 +00:00
Spoike
407c4eca8b Rework gamepad menu bindings, should be more intuitive now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6320 fc73d0e0-1445-4013-8a0c-d673dee63da5
2023-01-09 05:12:59 +00:00