Alibek Omarov
|
142dc7b87a
|
ref: use vector initializer macros
|
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
|
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
|
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
|
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
|
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
|
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
|
f7b389b7cd
|
common: remove particledef.h
|
2026-03-11 08:39:33 +05:00 |
|
Alibek Omarov
|
cb81303ded
|
engine: replace hardcoded pvs radius value by a r_pvs_radius cvar
|
2025-09-28 18:31:03 +05:00 |
|
Alibek Omarov
|
e70ba7ad64
|
engine: now, remove SUPPORT_BSP2_FORMAT macro, only prevent ref_soft from loading such maps
|
2025-01-09 08:02:39 +03:00 |
|
Alibek Omarov
|
47aff9e30b
|
engine: hack mnode_t struct so we can have 24-bit face and children indices to support BSP2 format in runtime
|
2025-01-09 08:02:39 +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
|
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
|
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
|
d56e53a347
|
Replace hardcoded functions names by __func__ macro
* while we're here, fix some possible bugs
* and fix -Wformat=2
s/__FUNCTION__/__func__/g
awawawa
|
2024-06-19 06:53:42 +03:00 |
|
Alibek Omarov
|
37083c8aef
|
ref: soft: mark sw_drawflat and sw_draworder as cheats
|
2024-05-01 00:52:45 +03:00 |
|
Alibek Omarov
|
36a0c1fb17
|
ref: if the entity is opaque, check the renderfx too, it might become translucent
|
2024-04-26 04:15:21 +03:00 |
|
Alibek Omarov
|
02c5890c2f
|
ref: soft: cleanup after RefAPI changes, remove unused functions
|
2024-01-28 10:00:51 +03:00 |
|
Alibek Omarov
|
7152393089
|
ref: soft: fix -Wmissing-prototypes
|
2024-01-28 09:55:18 +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
|
9fa32a9cf4
|
ref: soft: remove vid_gamma/vid_brightness changed cvar value check
|
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
|
64f3884f23
|
ref: soft: convert to usage of ref_client_t to get client time
|
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 |
|
Alibek Omarov
|
b0a79df86f
|
ref: change r_traceglow to 0, as GoldSrc does
|
2023-10-26 04:59:01 +03:00 |
|
Alibek Omarov
|
de19d78571
|
ref: fix late registration of studio cvars (thanks, @mittorn)
|
2023-10-14 08:11:25 +03:00 |
|
Alibek Omarov
|
8680757844
|
ref: soft: move ref_soft cvars to static allocation, remove dead cvars
|
2023-05-27 21:52:58 +03:00 |
|
Alibek Omarov
|
fd795d5612
|
ref: soft: cleanup unused functions
|
2023-04-03 04:57:41 +03:00 |
|
Alibek Omarov
|
406eb828da
|
ref: gl: disable underwater distortion by default, enable for Quake compatible mode only
|
2022-12-05 11:59:29 +03:00 |
|
Alibek Omarov
|
61c142e2db
|
ref: move renderers into ref subdirectory
|
2022-09-10 22:52:52 +03:00 |
|