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
e2d6b7ab28
ref: gl: do not deadname LadyHavoc
2026-06-30 22:12:01 +05:00
Alibek Omarov
34467bfe9a
ref: gl: make R_AddDynamicLights only iterate through actually lit box
2026-06-30 22:12:01 +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
7fce99481f
ref: gl: fix crash in gl2_shim caused by MapBufferRange returning NULL
2026-05-21 00:03:36 +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
e2cf580818
ref: gl: refactor variable declarations
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
29a9fcf76c
ref: common: refactor variable declarations
2026-05-20 23:24:36 +05:00
Alibek Omarov
5e70995989
ref: gl: more maybe unused stuff
2026-05-13 11:13:46 +05:00
Alibek Omarov
cef6cb58bb
ref: gl: fix maybe-uninitialized
2026-05-13 10:47:15 +05:00
Alibek Omarov
47aad1b3a3
ref: soft: cleanup unused variables
2026-05-13 10:46:59 +05:00
Alibek Omarov
e9bdbf2f33
ref: gl: mark maybe unused globals
2026-05-13 10:11:47 +05:00
Alibek Omarov
bf990d1040
ref: gl: cleanup unused variables
2026-05-13 10:09:09 +05:00
Alibek Omarov
0aac2e4d32
engine: zone: add small allocation optimization, reducing the size of <255 bytes allocations at the cost of less debug info
...
Keep it opt-in through a flag at pool alloc time.
Opt-in console related allocations, they are usually small enough strings.
2026-05-13 09:32:50 +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
5b6b372cfe
ref: gl: drop broken minlight/scale cvars for litwater. Keep them for mods. Fix post-merge issues
2026-04-28 11:21:56 +05:00
Alibek Omarov
2f31cf315c
ref: gl: add litwater support
2026-04-28 11:12:44 +05:00
Alibek Omarov
fca4152d5a
ref: gl: fix typo in gl_drawrangeelements
2026-04-26 04:13:50 +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
d3b01d313b
ref: gl: do not limit texture units by broken report of shaders extension
2026-04-26 04:12:52 +05:00
Alibek Omarov
21d84ee692
ref: gl: add -glnoerr flag that enables no error context, for possible performance gains
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
a3dba64513
public: move atlas packing code from renderer, add tests
2026-04-20 01:33:54 +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
62201900cf
ref: null: remove unused function
2026-04-16 23:25:32 +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
bfdb62d31e
engine: ref_api: complete the RefAPI 15 changelog
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
9b24b08df1
ref: gl: remove onlyClientDraw, drawOrtho, RI.params with viewpass flag check. RF_DRAW_OVERVIEW and RF_DRAW_CUBEMAP are cannot be set at the same time, so drawOrtho check replaced by RF_DRAW_CUBEMAP only
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
3440ddf443
ref: gl: 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
fdd3a44fa0
ref: gl: 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