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
|
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
|
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
|
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
|
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
|
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
|
3440ddf443
|
ref: gl: read ref_viewpass_t flags instead of cached RI.drawWorld
|
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
|
148a9a5a8c
|
ref: gl: replace RI.{vieworg,viewangles,pvsorigin} by ref_viewpass_t fields
|
2026-04-13 23:13:49 +05:00 |
|
Alibek Omarov
|
1009795d5c
|
ref: gl: save original viewpass and access viewport and fov through it
|
2026-04-13 23:13:49 +05:00 |
|
Alibek Omarov
|
e3d2da74db
|
engine: move underwater fov effect handling to the engine
|
2026-04-13 23:13:49 +05:00 |
|
Alibek Omarov
|
ff3a57ae8a
|
ref: gl: drop legacy mirror viewpass code
|
2026-04-13 23:13:49 +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
|
d91ecfa3df
|
ref: gl: refactor R_LightVec
|
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 |
|
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 |
|