1
0
Fork 0
forked from fte/fteqw
Commit graph

5979 commits

Author SHA1 Message Date
bf6ddf21ae HL2: Load BSP from Vampire the Masquerade: Bloodlines, truly flag SKY/TURB surfaces, basic decals 2024-12-03 20:43:43 -08:00
a6fca4638f ODE: add absolute speed clamp cvar as an alternative to the movelimit check 2024-12-02 02:36:41 -08:00
4f1553d97d ODE: pass valid trace_endpos and trace_plane_normal on contact 2024-11-30 16:58:26 -08:00
60f804aa93 cubemap rtlights should not contribute to entity ambient light 2024-11-21 22:08:45 -08:00
fa0058be72 VBSP + BIH crash fix from Spoike 2024-11-21 22:08:08 -08:00
fee8027e2c getlightstylergb: fix lightstyle check, fixing it returning the same light value 2024-11-20 14:19:00 -08:00
22b1bb2d41 HL/Q1BSP: tag textures starting with "scroll" to be able to scroll. 2024-11-12 02:42:57 -08:00
b0e74e893c com_phys_ode.c: fix tiny discrepancy. 2024-10-26 14:40:22 -07:00
b7cc45f091
Allow use of devmap globally, regardless of game. (#292) 2024-10-25 02:03:46 -07:00
8c71c4103c
particle scripting: allow model lines to set r= g= b= color tint (#291)
* particle scripting: allow model lines to set r= g= b= color tint

* pass RF_FORCECOLOURMOD to the relevant CL_SpawnSpriteEffect call changes.
2024-10-24 23:02:08 -07:00
2b2ff7a6fa
ODE: support for joint groups, required for physics constraints. Also new tracked fields: .damp_linear, .damp_angular, .max_angular and .jointgroup (#289) 2024-10-20 20:13:13 -07:00
d7380a6895 expose frametoname and modelframecount to MenuQC 2024-10-20 20:04:59 -07:00
59d8d6914b
WIP: linear fog mode (required for Source Engine compatible fog) (#223)
* r_fog_linear implementation for GLSL and Vulkan path

* Linear fog in the non-GLSL backend
2024-10-20 19:12:16 -07:00
SArpnt
a097b8a64a
add panini projection (#288) 2024-10-20 11:25:43 -07:00
eb6ff7beff MDL, MDX, and MD2: Parse the Model Events after Framegroups instead otherwise the events won't load 2024-09-23 01:06:50 -07:00
09768089c0 Mod_LoadQ2Model: allow parsing .framegroups override files 2024-09-14 22:48:30 -07:00
Brad D
2e51fb74be
Enhancement: Build Improvements (Unix + CoD Plugin) (#272) 2024-09-13 11:15:15 -07:00
97321a198a SV_SpawnServer: .map extension test is supposed to be commented out. tbh the whole extension check doesn't work as well here as in SV_Map_f and should probably be redone and/or streamlined. 2024-09-11 12:17:47 -07:00
2fc6b2e085 com_phys_ode.c: remove #ifndef check that breaks custom builds 2024-09-09 00:16:30 -07:00
01a78ca2d1 sv_user.c: check if prydon cursor entnum is in range 2024-09-09 00:11:28 -07:00
Daniel Svensson
2efeab6a4c
Vulkan+Wayland fixes (#271)
* Process wayland events with vulkan renderer.

* Handle vulkan offscreen swapchain size selection.
2024-09-06 09:32:13 -07:00
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
cea1acab34
fix qcc-{rel,dbg} targets in engine/Makefile 2024-08-26 17:34:58 -07:00
53420aab02
Move CL_TryTrackNum again where it doesn't cause further complaints 2024-08-26 16:34:08 -07:00
4950f5971b
safeswitch in SV_AcceptMessage requires mentions of all protocols despite being unavailable. 2024-08-26 16:18:38 -07:00
9a453bed2f
Multiplayer menu should not poke skins when QWSKINS isn't set 2024-08-26 16:18:34 -07:00
29f442a325
Log_Logfile_f is only available when HAVE_LEGACY is set 2024-08-26 16:18:30 -07:00
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
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
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