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
|
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
|
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
|
9a25768617
|
ref: soft: cleanup dead, commented out code and global variables
|
2026-03-17 00:19:27 +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 |
|
lewa_j
|
5cdb58431a
|
engine: ref: Remove unused declarations, fix comment after rename
|
2026-01-13 03:41:19 +03:00 |
|
Alibek Omarov
|
0e27d8717c
|
ref: remove servercount from texture struct, Xash don't use it (and it's also harmful anyway)
|
2025-01-21 14:36:42 +03:00 |
|
Alibek Omarov
|
ced8744ac9
|
engine: split edge struct into two with 16-bit indicies and 32-bit indicies to support BSP2 format in runtime
|
2025-01-08 14:46:07 +03:00 |
|
Alibek Omarov
|
a52c8aa291
|
ref: soft: as an experiment, reformat ref_soft as it's easier to notice config inaccuracies
|
2024-11-06 02:41:38 +03:00 |
|
Alibek Omarov
|
659adca473
|
ref: soft: remove dead, commented out code
|
2024-11-06 02:17:06 +03:00 |
|
Alibek Omarov
|
4d003bc13f
|
ref: remove Mod_LoadMapSprite from RefAPI
|
2024-11-03 02:59:44 +03:00 |
|
Alibek Omarov
|
6cd2dbf178
|
engine: remove R_DrawTileClear from RefAPI
|
2024-11-03 02:21:38 +03:00 |
|
Alibek Omarov
|
6153d7f168
|
engine: make CL_RunLightStyles accept lightstyles array pointer as an argument. Make necessary changes in renderers.
|
2024-11-03 01:20:30 +03:00 |
|
Alibek Omarov
|
6cf11cb6cf
|
ref: soft: migrate to new way to get lightstyles and dlights
|
2024-11-03 01:20:30 +03:00 |
|
Alibek Omarov
|
8af995cc28
|
engine: introduce REF_GET_*_PTR for gamma tables
|
2024-11-03 01:20:30 +03:00 |
|
Alibek Omarov
|
1b335fd945
|
ref: soft: set malloc like attribute for imported zone memory allocator functions
|
2024-09-30 04:00:28 +03:00 |
|
Alibek Omarov
|
9a432a5a13
|
common: rewrite cvardef.h from scratch based on Quake definitions
* unify cvar.h and cvardef.h, enable private definitions only for refdll and engine
* add FCVAR_REFDLL for easier RefDll cvars cleanup
|
2024-08-21 12:18:06 +03:00 |
|
Alibek Omarov
|
e222a74960
|
ref: soft: fail to the engine if CreateBuffer has failed (otherwise it sits in infinite loop)
|
2024-08-11 18:28:45 +03:00 |
|
Alibek Omarov
|
677464d04d
|
ref: rename glpoly_t to glpoly2_t to make the changes more obvious and easier to notice
|
2024-08-10 13:46:00 +03:00 |
|
Alibek Omarov
|
2785376bd3
|
ref: remove unused function declarations
|
2024-08-03 09:14:56 +03:00 |
|
Alibek Omarov
|
9577a6af21
|
ref: moved VGUI support API implementation to the engine
|
2024-06-11 02:07:49 +03:00 |
|
Alibek Omarov
|
30fe471d2b
|
ref: move loading skybox into the engine
|
2024-06-11 02:07:44 +03:00 |
|
Alibek Omarov
|
5ab6979633
|
ref: move common quake sky cloud loading to the engine
|
2024-06-10 22:47:39 +03:00 |
|
Alibek Omarov
|
1545a49b4c
|
engine: client: only allocate debug hulls polygons when they're requested
* Make the appropriate changes in ref_gl
|
2024-05-29 05:41:47 +03:00 |
|
Alibek Omarov
|
7152393089
|
ref: soft: fix -Wmissing-prototypes
|
2024-01-28 09:55:18 +03:00 |
|
Alibek Omarov
|
963d9b8f2a
|
ref: soft: remove useless R_CountDynamicLights function
|
2024-01-27 17:16:01 +03:00 |
|
Alibek Omarov
|
c15822f375
|
ref: soft: don't depend on light gamma in recursive light point
|
2024-01-09 03:55:07 +03:00 |
|
Alibek Omarov
|
64f92003fa
|
ref: gl: adapt studio lightning to new gamma
* more accurate SHADE_LAMBERT value (extracted from v_lambert1 global variable)
|
2024-01-09 03:33:39 +03:00 |
|
Alibek Omarov
|
a0c31120d9
|
ref: add R_GammaChanged function that engine calls on every gamma change
|
2024-01-07 03:35:23 +03:00 |
|
Alibek Omarov
|
6862b14e59
|
ref: soft: only draw MOVETYPE_FOLLOW studio model if it's parent is visible
|
2024-01-04 22:02:14 +03:00 |
|
Alibek Omarov
|
fba3a2b67f
|
ref: soft: return NULL in GetEntityByIndex and ModelHandle
|
2024-01-04 21:47:03 +03:00 |
|
Alibek Omarov
|
f12df54226
|
ref: soft: remove unused tr.fCustomSkybox
|
2023-12-30 16:54:56 +03:00 |
|
Alibek Omarov
|
f1cdab91eb
|
ref: soft: remove usage of PARM_VIEWENT_INDEX and PARM_PLAYER_INDEX
|
2023-12-30 16:36:13 +03:00 |
|
Alibek Omarov
|
6386782674
|
ref: soft: acquire engine pointers
|
2023-12-30 16:36:13 +03:00 |
|
Alibek Omarov
|
9c66e86be1
|
engine, ref: RefAPI 5. Remove unused calls
|
2023-12-06 04:13:03 +03:00 |
|
Alibek Omarov
|
7e9f87de2d
|
engine, ref: eliminate calls to global arrays, instead store array pointers at renderer side
|
2023-12-06 04:13:03 +03:00 |
|