Commit graph

1812 commits

Author SHA1 Message Date
Shpoike
f35c156800 Fix some build option compile errors. Strip a small bit of redundant code. 2025-01-26 07:21:38 +00:00
Shpoike
0df247d4c1 Add setwatchpoint builtin, for debugging stuff that would otherwise be hard to monitor. 2024-12-28 16:30:05 +00:00
Shpoike
1ea029f789 Fix up some misc issues. 2024-12-28 16:29:58 +00:00
Shpoike
249ff8777b Make apropos command a bit more clickable. 2024-12-28 16:29:14 +00:00
Shpoike
62ff790114 Fix possible loophole. 2024-12-28 16:29:14 +00:00
Shpoike
b1b0f5e654 Small compile fixes. 2024-12-28 16:29:14 +00:00
Shpoike
c9de6f4bff Fix https://github.com/fte-team/fteqw/issues/299 2024-12-28 16:29:14 +00:00
Shpoike
0650610667 Add the fork+sleep builtins to the menuqc and csqc VMs too. 2024-12-28 16:24:00 +00:00
Shpoike
0a7f0cd7d4 Undo the damage from 2e51fb74be 2024-12-28 16:24:00 +00:00
Shpoike
dc010d6ec8 fteqw: add memrealloc builtin.
fteqw: make it a bit clearer when there's no tls drivers compiled/loaded.
fteqcc: fix decompiler code to not crash nor misbehave on 64bit cpus.
fteqcc: add -TDP_20241108 to target dp's most recent additions.
fteqcc: add -Fundefwordsize (autoenabled when targetting dp) to tell the compiler to not make any assumptions about runtime pointer types. this skips some optimisations, blocks sizeof(float), casts between pointer and string,  and a few other sizing things, unsafe operations will become errors.
fteqcc: add -FILP32 - changes 'long' datatype to int32_t, which should match common C assumptions around long/size_t/intptr_t
fteqcc: add -Fpointerrelocs (autoenabled with a recent enough fte target). this finally allows pointer globals to be preinitialised with the addresses of other globals.
fteqcc: add -Fomitinternals. this omits the reflection data in the progs roughly equivelent to visibility=hidden om linux. This WILL break saved games, and probably a few other things too, but will greatly reduce stringtable sizes.
fteqcc: improve compat when compiling C code
qclib: fix op_push
2024-12-28 16:24:00 +00:00
Shpoike
7e9d138d5f Try to fix up some q2 protocol/ice quirks.
Add r_imagelist_wad command to show lumps in the current map's wad list.
Hide the gpu utilisation info unless developer. its misleading on account of power profiles.
Make the menu not flash/animate so much when something else has focus.
Add QTV streaming option when browsing servers (assuming servers are configured properly).
Show people's health+armour+weapons on the scoreboard, if we have that information.
"enemyskin solid; enemycolor 0x00ff00" will make enemies full green without needing any external texture files.
Add ENGINE_HAS_ZIP build option, to have the engine look for concated(self-extracter style) zips for use in single-file games.
Small speedup for hl2bsp load times.
ftemaster now supports bad-word filters. Basic, probably easy enough to hack around, but at least we tried, admins can extra words as needed. People should at least realise they're being naughty.
Misc fixes for ftemaster's html generation.
Add support for a couple of quirky hlbsps.
Don't attempt to auto-use setangles_delta when sv_nqplayerphysics is active, to avoid compat quirks with AD.
2024-12-28 16:24:00 +00:00
Shpoike
e82f61256a Add 'setrenderer sv' for linux, without needing to be started from a terminal. 2024-12-28 16:23:59 +00:00
Shpoike
9bc9700506 Add json-formatted framegroups files. Allow for ragdolls to be used with hlmdl. Try to be smarter/higher with gpu bone limits. 2024-12-28 16:23:59 +00:00
Shpoike
28a880c56e Misc small fixups/cleanups. 2024-12-12 13:42:05 +00:00
Shpoike
3b554f3742 Fix a couple of issues with the hl2 plugin. 2024-12-12 13:42:04 +00:00
Shpoike
ee534acb8c ftemaster Fixups. Should actually work again now. 2024-12-12 13:25:56 +00:00
Shpoike
a1bf9dd60a Fix bug with randomv intrinsic. 2024-12-12 13:25:56 +00:00
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
fa0058be72 VBSP + BIH crash fix from Spoike 2024-11-21 22:08:08 -08:00
b0e74e893c com_phys_ode.c: fix tiny discrepancy. 2024-10-26 14:40:22 -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
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
2fc6b2e085 com_phys_ode.c: remove #ifndef check that breaks custom builds 2024-09-09 00:16:30 -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
29f442a325
Log_Logfile_f is only available when HAVE_LEGACY is set 2024-08-26 16:18:30 -07:00
Shpoike
ff1a2299f4 megacommit.
adds qtv relay support.
lots of other misc tweaks.
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
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