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
Sergey Degtyar
e87f307ac1
engine: image: fix blue halo around sprays
2026-04-10 15:00:02 +05:00
Alibek Omarov
055d646225
ref: gl: merge refactoring changes from litwater branch
2026-04-09 11:43:47 +05:00
Alibek Omarov
0e8143aefc
ref: gl: remove duplicate line from if-else branches in R_MarkLeaves
2026-04-08 08:05:00 +05:00
Alibek Omarov
e7fa45d5ca
ref: gl: fix masked textures with VBO
2026-04-06 11:12:09 +05:00
Alibek Omarov
abda0a07c2
ref: gl: cache worldmodel pointer instead of accessing it through gp_cl pointer
2026-04-06 11:07:08 +05:00
Alibek Omarov
9d22827395
ref: gl: reorganize checks in R_CullSurface
2026-04-06 11:04:33 +05:00
Alibek Omarov
7b665b3763
ref: gl: track max height of a dynamic lightmap
2026-04-06 10:04:15 +05:00
Alibek Omarov
58692f397a
ref: gl: reorganize R_CheckLightMap to exit early for dlighted surfaces
2026-04-06 09:40:19 +05:00
Alibek Omarov
2253fcc955
ref: gl: skip redundant positions in LM_AllocBlock
2026-04-06 09:05:47 +05:00
Alibek Omarov
cbbae0c9bf
ref: gl: simplify backface culling checks in frustum class
2026-04-06 08:25:45 +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
3ace4a61d2
ref: gl: fix harmless NULL pointer dereference in alias model loading code
2026-04-05 07:03:46 +05:00
Alibek Omarov
5f765a35b9
ref: gl: show more detailed Host_Error instead of ASSERT in R_GetTexture
2026-04-04 17:36:05 +05:00
Alibek Omarov
216eedcdcd
ref: gl: better wording about backface culling goldsrc bug [skip ci]
2026-04-03 01:28:04 +05:00
Alibek Omarov
fd55716633
ref: gl: change backface culling only if it wasn't disabled by mod developer beforehand
2026-04-03 01:23:55 +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
d5b481ac9d
ref: gl: fix off-by-one error in GL_PopPolygonOffset
2026-03-28 04:43:14 +05:00
Alibek Omarov
02b1d15e42
ref: gl: add gl_polyoffset_bmodels to enable poly offset for drawing brush models, avoiding zfighting
2026-03-27 03:27:20 +05:00
Alibek Omarov
641a3663f5
ref: gl: unlikely but use fast side check for frustum
2026-03-26 02:44:53 +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
00ad05c92a
ref: gl: move showtextures implementation to gl_image.c
2026-03-17 00:19:27 +05:00
Alibek Omarov
658a3b0c6a
ref: gl: minor refactoring
2026-03-11 10:11:21 +05:00
Alibek Omarov
4e9a2dace0
ref: gl: only check for GL errors if both gl_check_errors and developer mode are enabled
2026-03-11 08:39:58 +05:00
Alibek Omarov
f7b389b7cd
common: remove particledef.h
2026-03-11 08:39:33 +05:00
Alibek Omarov
88e5013623
ref: gl: vgl_shim: try to fix build on PSVita
2026-02-26 17:22:47 +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
8bdd6bfc5e
ref: gl: add link to web archive where the ripple animation algorithm was originally described [ci skip]
2026-02-21 03:11:02 +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
Alibek Omarov
e0f01ddae7
engine: remove unused ignore_group argument from Cvar_FindVarExt
2026-02-20 21:55:15 +05:00
Владислав Сухов
e9ffe12481
ref: gl: fix opacity of additive sprites and textures in fog
2026-01-31 20:49:47 +05:00
Alibek Omarov
7a8837bf2a
ref: do not remove permanent decals
2026-01-22 23:40:59 +05:00
Alibek Omarov
742265c2c4
ref: remove limit on total amount of textures a studio model can contain
2026-01-17 06:17:46 +05:00
lewa_j
5cdb58431a
engine: ref: Remove unused declarations, fix comment after rename
2026-01-13 03:41:19 +03:00
ncuxonaT
e39f8bf7c4
ref: gl: always use RGTC internal format for ATI2 textures
...
AMD убрала в новых драйверах поддержку расширения GL_ATI_texture_compression_3dc, из-за чего сломалась загрузка ATI2 текстур. Формат RGTC включен в стандарт OpenGL 3.0, а единственные видеокарты с поддержкой 3DC, но без RGTC - это серия Radeon X1000 (2005г.). Можно было бы только ради Х1000 проверять поддерживаемые расширения и переключаться на 3DC, но без явной необходимости этого делать не хочется.
2026-01-03 08:17:09 +05:00
Nikita
58996c3d0d
ref: gl: use wireframe overlay for bmodel faces as well
2025-12-21 02:32:12 +05:00
Alibek Omarov
66ea91270b
engine: make Image_ComputeSize shared between renderer and imagelib
2025-12-14 00:00:59 +05:00
Alibek Omarov
44fb4fb594
engine: common: imagelib: remove dependency on OpenGL declarations in texture formats
2025-12-13 23:59:40 +05:00
Max Parry
2c20734ad3
ref: soft: Fix out of bounds memory access in VID_ScreenShot
2025-12-06 19:41:46 +11:00
ncuxonaT
bbe659ebfa
ref: gl: fix loading texture arrays
2025-11-30 18:33:57 +05:00
ncuxonaT
2736d1fd03
dds volume texture fix - gl_image.c
2025-11-27 23:17:18 +08:00
Alibek Omarov
ceb5cd61e4
ref: gl: enable NPOT textures on GLES3 contexts as per spec
2025-11-27 19:18:27 +05:00
Alibek Omarov
c956c65e33
ref: gl: don't misleadingly tell about enabled vsync on engine startup before configs are parsed
2025-11-23 11:45:47 +05:00
Alibek Omarov
a14cc82d46
engine: add buffer size argument to RefAPI's Mod_ProcessRenderData, bump RefAPI version
2025-10-31 15:58:05 +05:00