1
0
Fork 0
forked from fte/fteqw
Commit graph

1530 commits

Author SHA1 Message Date
Shpoike
0650610667 Add the fork+sleep builtins to the menuqc and csqc VMs too. 2024-12-28 16:24:00 +00:00
Shpoike
39e921624f Allow mods to provide raw 8bit paletted image data. 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
777b4b1fd9 Add _some_ support for the rerelease's waypoints. 2024-12-28 16:23:59 +00:00
Shpoike
28a880c56e Misc small fixups/cleanups. 2024-12-12 13:42:05 +00:00
Shpoike
d26b741e4b Update the doom3 map support. Still not enabled on account of severe material issues. 2024-12-12 13:42:05 +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
b7cc45f091
Allow use of devmap globally, regardless of game. (#292) 2024-10-25 02:03:46 -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
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
01a78ca2d1 sv_user.c: check if prydon cursor entnum is in range 2024-09-09 00:11:28 -07:00
4950f5971b
safeswitch in SV_AcceptMessage requires mentions of all protocols despite being unavailable. 2024-08-26 16:18:38 -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
Shpoike
d45687ccf0 Reduce the chances of input_cursor_entity getting stale values on map changes. 2024-08-25 06:12:05 +01:00
Shpoike
ff1a2299f4 megacommit.
adds qtv relay support.
lots of other misc tweaks.
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
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
353f5b7ff9 Fix up master's http stuff to properly report serverinfo for brokered servers. 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
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
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
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
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
f4330d765d Clean up some buffers that were never used. 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
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
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
Shpoike
e907f6adf0 Be a bit more verbose about errors. 2023-08-12 14:04:01 +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
11a5b27689 NQ: Try to improve compat with proxies/port-forwarding and proquake's numeric-only passwords. 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
0fb35f3d01 Fix stupid bug resulting in crashes when loading saved games, reported by TwinBeast. 2023-08-12 14:04:01 +01:00
Shpoike
dab68fd136 Fixup the lua code a bit. 2023-08-12 13:59:55 +01:00
Shpoike
9dc0109589 Implement ssqc's ex_localsound builtin properly (was previously a stub). Mark telejano's as deprecated. 2023-08-12 13:59:55 +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
067f3b5ddf Hexen2: H2's Monsters are not meant to make thud sounds when hitting the ground, apparently. 2023-08-12 13:59:55 +01:00
Shpoike
732e3a0847 Hexen2: Fix ring of flight. 2023-08-12 13:59:55 +01:00
Shpoike
04f2e112e7 Hexen2: Fix invisibility artifact bugs. 2023-08-12 13:59:55 +01:00
Shpoike
4577ffcbb1 Hexen2: Fix suicidal monsters bug (could also break quake too). 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
4977eca99e Fix notifications about nqplayerphysics from well-defined mods (which will always behave consistently). 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