Buggem's Fedora PC
f2166a2c9d
ref: soft: Try to stop decal->pnext loops from recursing infinitely
...
Doesn't fix the root cause of the problem, which is the mysterious setting of decal->pnext to decal which doesn't happen in GL, but does act as a blockade and a temporary fix
2026-07-21 15:16:32 +05:00
Alibek Omarov
3366ad06d0
wscript: add yy-thunks library to help support the holy cow of windows users
2026-06-21 11:16:03 +05:00
Alibek Omarov
1e31fbcd51
ref: shut up DecalShoot about decals must hit mod_brush
...
This is an annoying message that's caused by the game code. Decals, without
custom renderer, cannot be rendered on non-brush entities, and everybody knows
that anyway.
2026-06-14 07:22:30 +05:00
Alibek Omarov
e87b14468d
ref: when entity model is NULL, the entity is player and we're drawing in menu, skip this entity silently
...
The menu relies on the fact that model is set from player's userinfo, and if it has bogus model, it will
trip on the nullptr model assert
2026-05-26 02:57:47 +05:00
Alibek Omarov
142dc7b87a
ref: use vector initializer macros
2026-05-20 23:24:36 +05:00
Alibek Omarov
64b1b54f5b
ref: use designated initializers where possible
2026-05-20 23:24:36 +05:00
Alibek Omarov
d0a98447c4
ref: soft: refactor variable declarations
2026-05-20 23:24:36 +05:00
Alibek Omarov
47aad1b3a3
ref: soft: cleanup unused variables
2026-05-13 10:46:59 +05:00
Alibek Omarov
fdb59e990e
engine: rename Host_IsLocalGame to Host_IsSinglePlayerGame to avoid confusion
2026-05-05 01:04:57 +05:00
Alibek Omarov
2ccef63754
engine: ref_api: change RefGetParm return type to intptr_t, bump RefAPI version
2026-04-26 04:12:52 +05:00
Alibek Omarov
22391eba1b
engine: handle swapping sequence files in LoadCacheFile for games with external StudioModelRenderer
2026-04-26 04:12:52 +05:00
Alibek Omarov
e2d5bea327
ref: cleanup unused functions
2026-04-21 23:10:32 +05:00
Alibek Omarov
044523434d
ref: add R_EntityDynamicLight that calculates lighting for studio and alias models, and also located in libref_common
2026-04-19 01:17:28 +05:00
Alibek Omarov
da4c4bb76a
ref: remove unused sprite_radius global variable
2026-04-19 00:32:45 +05:00
Alibek Omarov
74869c8f5d
ref: make R_GatherPlayerLight shared between renderers
2026-04-14 22:36:15 +05:00
Alibek Omarov
dd712a0df9
engine: update Mod_PointInLeaf signature for RefAPI
2026-04-14 22:36:15 +05:00
Alibek Omarov
ae7b9eb28d
engine: move creation of default textures to the engnie
2026-04-14 22:36:15 +05:00
Alibek Omarov
c63e13c8f4
engine: move handling of AVI textures into the engine
2026-04-14 22:36:15 +05:00
Alibek Omarov
d3e1407675
engine: remove unused R_Flush and VGUI_UploadTextureBlock from RefAPI
2026-04-14 22:36:15 +05:00
Alibek Omarov
e2e4728c7c
engine: remove R_BeamCull from RefAPI
2026-04-14 22:36:15 +05:00
Alibek Omarov
dd3583d11a
engine: move details textures parser to the engine
2026-04-14 21:18:57 +05:00
Alibek Omarov
e6924844da
engine: move FillRenderAPI and FillTriAPI to renderers to reduce amount of exports
2026-04-14 21:18:56 +05:00
Alibek Omarov
a49db03561
engine: move StudioAPI negotiation to the engine
2026-04-14 21:18:03 +05:00
Alibek Omarov
84b7b5803b
ref: soft: remove mistakingly put const on RI.rvp
2026-04-13 23:13:49 +05:00
Alibek Omarov
c224d39ba7
ref: soft: replace RI.onlyClientDraw with RF_ONLY_CLIENTDRAW flag in viewpass
2026-04-13 23:13:49 +05:00
Alibek Omarov
a37b0e58f1
ref: soft: get rid of RI.drawOrtho, it's a debugging/development tool, not suited for software renderer use
2026-04-13 23:13:49 +05:00
Alibek Omarov
afca422e35
ref: soft: read ref_viewpass_t flags instead of cached RI.drawWorld
2026-04-13 23:13:49 +05:00
Alibek Omarov
6730ed9555
ref: soft: remove unused isSkyVisible
2026-04-13 23:13:49 +05:00
Alibek Omarov
241c926076
ref: soft: replace RI.{vieworg,viewangles,pvsorigin} by ref_viewpass_t fields
2026-04-13 23:13:49 +05:00
Alibek Omarov
513984d7fd
ref: soft: save original viewpass and access viewport and fov through it
2026-04-13 23:13:49 +05:00
Alibek Omarov
271a6e2210
ref: soft: drop broken code for all non-viewer viewpasses
2026-04-13 23:13:49 +05:00
Alibek Omarov
a9dcdd034c
ref: soft: fix build
2026-04-13 13:01:18 +05:00
Alibek Omarov
7324ff43fc
ref: add GL_ResampleTexture to libref_common
2026-04-13 13:01:18 +05:00
Alibek Omarov
d85e7fc2b1
ref: move remaining light functions to libref_common
2026-04-13 13:01:18 +05:00
Alibek Omarov
b7a3a02aad
ref: common: add R_PushDlightsForBmodel
2026-04-13 13:01:18 +05:00
Alibek Omarov
5aca78951c
ref: move R_PushDlights and R_MarkLights to ref_common
2026-04-13 13:01:18 +05:00
Alibek Omarov
81abae65b5
ref: move RunLightstyles to ref_common
2026-04-13 13:01:18 +05:00
Alibek Omarov
f5f6d9bbe4
engine: move sprite texture loading back to engine, only leave rendering for renderer
2026-04-13 13:01:18 +05:00
Alibek Omarov
ef73b55413
ref: common: move malloc and GL_InitRandomTable
2026-04-13 13:01:18 +05:00
Alibek Omarov
8334695522
ref: common: draft new static library, containing shared code for ref_gl and ref_soft
2026-04-13 13:01:18 +05:00
Alibek Omarov
d7f416d659
engine: draft new RefAPI 14: remove reserved functions from render api, remove CL_AddCustomBeam
2026-04-13 13:01:18 +05:00
Alibek Omarov
e8ae48fd3d
ref: simplify node recursion functions, do not fetch both children at once if only one is used
2026-04-06 08:16:20 +05:00
Alibek Omarov
00dac928c9
ref: replace checking PARM_QUAKE_COMPATIBLE with direct check of feature flag set
2026-04-02 02:13:27 +05:00
Alibek Omarov
d8d1ebf23c
engine: cleanup unused functions
2026-03-26 02:24:30 +05:00
Alibek Omarov
9a25768617
ref: soft: cleanup dead, commented out code and global variables
2026-03-17 00:19:27 +05:00
Alibek Omarov
e76528d929
ref: make sprite and studio global variables static
2026-03-17 00:19:27 +05:00
Alibek Omarov
f7b389b7cd
common: remove particledef.h
2026-03-11 08:39:33 +05:00
Alibek Omarov
50147a3d48
common: replace HLSDK pmtrace.h and pm_movevars.h by it's QW counterparts
2026-02-26 10:29:09 +05:00
Alibek Omarov
c63c0ba04b
ref: minor refactoring
2026-02-23 21:46:01 +05:00
Alibek Omarov
4722ad6be6
ref: replace COM_CheckString and COM_CheckStringEmpty by COM_StringEmptyOrNULL and COM_StringEmpty
2026-02-21 01:20:34 +05:00