Commit graph

6625 commits

Author SHA1 Message Date
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
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
7c50a8a269 HL2: attempt to find all the valid texture directories for mdl 2024-11-22 17:31:52 -08:00
6e57500c15 HL2: comment out seemingly undesired normal negation 2024-11-21 22:44:53 -08:00
a0d3a3ba2c HL2: slightly more tolerable prop lighting 2024-11-21 22:11:26 -08:00
5676b8b849 HL2: fix version check to be more precise regarding v19 2024-11-21 22:10:50 -08:00
bb3e6a3802 HL2: MDL sequence loop flag support 2024-11-21 22:09:17 -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
5a98bf1ef0 HL2: Quick support for $envmaptint and $envmapsaturation 2024-11-20 14:15:27 -08:00
d89d7aa8be HL2: Shove the modelevent .events override in there 2024-11-20 14:14:49 -08:00
697035476b HL2: VBSP prop_statics cast no dynamic shadow, fix dxlevel check when 0 2024-11-20 14:14:32 -08:00
22b1bb2d41 HL/Q1BSP: tag textures starting with "scroll" to be able to scroll. 2024-11-12 02:42:57 -08:00
Yo Soy Freeman
4b943f9a9e
Utilize dynamiclight_spawnstatic on csaddon and fixes a problem with spawning lights on x64 builds (#293)
* Fixed first 32 lights not working on csaddon on 64 bits builds

* Added a comment back...

* fix the fix for the comment. I love Git

* double check that the new selectedlight is not the same as the old selectedlight (oldl) just in case.
2024-11-08 04:03:28 -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
e4c4938efe
HL2 Plugin Improvements (#290)
* HL2 plugin: bunch of vmt parsing additions, and a hack to load old Left4Dead .vpk files.
2024-10-20 20:17:40 -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