Alibek Omarov
7152393089
ref: soft: fix -Wmissing-prototypes
2024-01-28 09:55:18 +03:00
Alibek Omarov
519c8a032a
ref: soft: adapt studio renderer to new gamma implementation
2024-01-09 03:55:07 +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
5ac8f63741
ref: soft: replace skin texture num bound by a proper check, fixes wrong skin on flags in Adrenaline Gamer
2024-01-05 02:25:18 +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
6059538d77
ref: gl: use direct host.features instead of PARM_FEATURES
2023-12-30 16:41:51 +03:00
Alibek Omarov
59ddfb787f
ref: soft: remove GetPredictedOrigin() call
2023-12-30 16:36:13 +03:00
Alibek Omarov
acdf1da995
ref: soft: remove GetMoveVars() call
2023-12-30 16:36:13 +03:00
Alibek Omarov
05d5abe4db
ref: soft: remove usage of PARM_MAX_CLIENTS
2023-12-30 16:36:13 +03:00
Alibek Omarov
44e017a410
ref: soft: convert to usage of ref_host_t to get real engine time
2023-12-30 16:36:13 +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
26d229c8ca
engine, ref: RefAPI 5. Simplify remap calls
2023-12-06 04:13:03 +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
ea55e78855
ref: _inline -> static
2023-10-29 23:38:43 +03:00
Alibek Omarov
de19d78571
ref: fix late registration of studio cvars (thanks, @mittorn)
2023-10-14 08:11:25 +03:00
Alibek Omarov
95f87e24ee
ref: soft: do not register cl_righthand cvar
2023-09-29 13:45:24 +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
277bead9b7
ref: remove SetCullState function from StudioAPI. It does nothing on GoldSrc.
2023-05-17 17:23:35 +03:00
Alibek Omarov
8b96e7ca87
ref: add size argument to COM_FileBase calls
2023-04-26 05:20:45 +03:00
Alibek Omarov
f55ef63e26
ref: optimize R_LightLambert function
...
* Quick exit if no local lights
* Try to minimize Q_min() checks by apply it on temp variables
* Cap final light values only once, after all local lights are calculated
2023-04-14 20:33:07 +03:00
Alibek Omarov
fd795d5612
ref: soft: cleanup unused functions
2023-04-03 04:57:41 +03:00
Alibek Omarov
67903b55cc
ref: soft: adapt to RefAPI 4 changes
2023-03-28 21:34:43 +03:00
Alibek Omarov
f4069de7f2
engine: move SlerpBones, CalcBonePosition/Quaternion from engine to libpublic
2023-02-13 05:23:13 +03:00
Alibek Omarov
ced6e8869a
ref: fix chrome texture being misaligned
2023-02-01 04:55:47 +03:00
Alibek Omarov
74ce7e9b10
ref: don't apply rendercolor to studio models where it's not needed
2023-01-13 15:25:58 +03:00
Alibek Omarov
fe9f3f78a0
ref: soft: minimize dependency on internal engine headers
2022-09-10 22:52:52 +03:00
Alibek Omarov
61c142e2db
ref: move renderers into ref subdirectory
2022-09-10 22:52:52 +03:00