1
0
Fork 0
forked from fte/fteqw
Commit graph

6649 commits

Author SHA1 Message Date
Shpoike
247556928f Misc tweaks. 2025-01-26 07:21:39 +00:00
Shpoike
12721c764b Nano seems intent on having mvds with a few more twiddles in them - enable some of that stuff in qtv so as to not be caught out.
also fix a couple of bugs.
2025-01-26 07:21:38 +00:00
Shpoike
f101a82066 Let qc make websocket connections. 2025-01-26 07:21:38 +00:00
Shpoike
7339ddd47a Fix up imgtool a bit regarding palettes.
Fix issues turning rgba images into alpha-tested stuff like conchars.
Viewing a wad2 file will use the embedded palette if present (and different).
--genwad3 now attempts to generate per-mip palettes (and doesn't bug out when viewing them).
Allows converting to .lmp(qpic).
Rejects dupe input files with different extensions in a more deterministic way.
2025-01-26 07:21:38 +00:00
Shpoike
ad5366ae54 Make getinfo responses consistent, whether actual getinfos or the broker equivelent. 2025-01-26 07:21:38 +00:00
Shpoike
e5e7dde336 Fix dlights getting drawn despite being switched off. 2025-01-26 07:21:38 +00:00
Shpoike
8cc2fdd591 Fix OpenAL_GetChannelPos so it handles streaming sources too. 2025-01-26 07:21:38 +00:00
Shpoike
f767d952e3 fteqcc was failing to generate reflection info for nested arrays. 2025-01-26 07:21:38 +00:00
Shpoike
f1b76e4832 Enable multiprogs in menuqc too.
Add gettimed builtin (clone of gettime, but won't screw up precision from long uptimes).
Add 64bit versions of fseek+fsize+ftell, just in case it ever matters.
Tweak sendevent builtin to allow passing blobs (ptr arg, with previous int arg for size). Beware MTU!
2025-01-26 07:21:38 +00:00
Shpoike
64f805980a Tweaks to try to make Paradoks happy. 2025-01-26 07:21:38 +00:00
Shpoike
edda391be5 New qc builtin to allow menuqc+csqc to stream their own audio. 2025-01-26 07:21:38 +00:00
Shpoike
3837beb84e Add 'DECLAMP' to gl's default2d, so mods can display render targets a bit more easily without needing custom glsl.
Fix dumb issues with the recent gltf2 extensions.
Fix r_fog_linear compile issues in the vulkan renderer.
2025-01-26 07:21:38 +00:00
Shpoike
f35c156800 Fix some build option compile errors. Strip a small bit of redundant code. 2025-01-26 07:21:38 +00:00
Shpoike
46636fd08e Demolist wasn't listing .qwd for some reason. 2025-01-26 06:55:31 +00:00
Shpoike
f38f27e388 Add 'auto' keyword, this works around ptr-to-local in a C compatible way. Unlike C, can also be used for globals where it serves to reduce bss in favour of loadtime allocs.
Fix some other C-related qcc bugs.
Add 'extern "QC"' and 'extern "C"', probably doesn't quite tweak enough compiler settings like type keywords, but should otherwise be fine for *extensions.qc.
Avoid using popen on weird systems (for git info).
Add emulation for pointers to char/short, so they can be used with older/limited opcode targets (eg DP - char/short ptr maths is still an issue there though).
2025-01-26 06:55:31 +00:00
64f4e2a10a glsl: unbreak lightmapped surfaces 2024-12-30 02:22:35 -08:00
Shpoike
247f186a68 Fix up some more C compat issues. And some general qcc bugfixes that would have affected qc code too. 2024-12-28 16:30:05 +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
778bbefc8f something complained about alignment. 2024-12-28 16:29:14 +00:00
Shpoike
0c5e912397 Add a couple of extra options for jumping around demos. 2024-12-28 16:29:14 +00:00
Shpoike
59c0c8857a Parse gltf2's KHR_materials_transmission and KHR_materials_volume extensions, so eukara can figure out the glsl for it. 2024-12-28 16:29:14 +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
6e35299bf8 Rewrite fork/resume logic to not bug out when the qc used alloca. 2024-12-28 16:28:29 +00:00
Shpoike
affb96a3b3 Add support for char/short/bitfields. Fix up some other stuff for better C compat. 2024-12-28 16:24:00 +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
39e921624f Allow mods to provide raw 8bit paletted image data. 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
777b4b1fd9 Add _some_ support for the rerelease's waypoints. 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
d26b741e4b Update the doom3 map support. Still not enabled on account of severe material issues. 2024-12-12 13:42:05 +00:00
Shpoike
dd4ff8d530 Fix up some -std=C issues. 2024-12-12 13:42:05 +00:00
Shpoike
fe6ef90c44 Better gmqcc compat. 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
3b140e9cf8 Fix https://github.com/fte-team/fteqw/issues/287 2024-12-12 13:25:56 +00:00
Shpoike
9c32640189 Fix https://github.com/fte-team/fteqw/issues/286 2024-12-12 13:25:56 +00:00
Shpoike
0ac7268cc5 Include other proxies in viewer counts, on account of all the people misusing it... 2024-12-12 13:25:56 +00:00
Shpoike
3df06cd519 qtv: strcpy with overlapping dest/source was resulting in serverinfo corruption with glibc. 2024-12-12 13:25:56 +00:00
Shpoike
ee534acb8c ftemaster Fixups. Should actually work again now. 2024-12-12 13:25:56 +00:00
Shpoike
84438b5f9b vk: Add lit water support to the spir-v. 2024-12-12 13:25:56 +00:00
Shpoike
6f579815d2 Hopefully fix https://github.com/fte-team/fteqw/issues/275 though the specified input is still optimised too much for this usage to be useful. 2024-12-12 13:25:56 +00:00
Shpoike
a1bf9dd60a Fix bug with randomv intrinsic. 2024-12-12 13:25:56 +00:00
Shpoike
f0e57311d6 Fix silly timing bug. 2024-12-12 13:25:55 +00:00