16ed6cbdcb
engine: mark some functions as never returning nullptr
2024-11-07 16:11:58 +03:00
d15949d2e8
Rename _format to FORMAT_CHECK
2024-11-07 14:24:07 +03:00
4d003bc13f
ref: remove Mod_LoadMapSprite from RefAPI
2024-11-03 02:59:44 +03:00
addd50467e
engine: remove FillRGBABlend from RefAPI. FillRGBA now accepts rendermode parameter
2024-11-03 02:24:36 +03:00
6cd2dbf178
engine: remove R_DrawTileClear from RefAPI
2024-11-03 02:21:38 +03:00
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
e37feece4d
engine: finally remove GetLightStyle, GetDynamicLight and GetEntityLight from RefAPI
2024-11-03 01:20:30 +03:00
9ed55776a9
engine: add PARM_GET_*_PTR for lightstyles and dlights arrays
2024-11-03 01:20:30 +03:00
b45bc9af67
engine: remove gamma functions from RefAPI
2024-11-03 01:20:30 +03:00
8af995cc28
engine: introduce REF_GET_*_PTR for gamma tables
2024-11-03 01:20:30 +03:00
9608da5bf9
engine: move debug hulls rendering from renderer, implement through TriAPI
...
Bump RefAPI version to 9.
2024-11-02 22:57:26 +03:00
0b59fa9416
engine: swap Cvar_VariableInteger and simple integer checks for performance
2024-10-16 06:57:46 +03:00
9ee1b32e2d
engine: set malloc like and warn_unused_result attributes on common allocation functions, fs, image and soundlib
2024-09-30 04:00:28 +03:00
daae4f2f80
engine: ref_api: bump RefAPI to version 8
2024-06-11 06:18:09 +03:00
4e2708c1ac
engine: bring back texture replacement
2024-06-11 06:16:26 +03:00
9577a6af21
ref: moved VGUI support API implementation to the engine
2024-06-11 02:07:49 +03:00
30fe471d2b
ref: move loading skybox into the engine
2024-06-11 02:07:44 +03:00
5ab6979633
ref: move common quake sky cloud loading to the engine
2024-06-10 22:47:39 +03:00
725b7ea7f9
common: render_api: rename TF_ALLOW_NEAREST_TOGGLE to just TF_ALLOW_NEAREST, it's just shorter
2024-01-29 05:59:06 +03:00
600d574376
ref: gl: make use of new TF_ALLOW_NEAREST_TOGGLE flag
2024-01-29 05:50:59 +03:00
11172838f2
engine: ref_api: add PARM_TEX_FILTERING into RefAPI to query if filtering is enabled for selected texture
2024-01-25 05:43:51 +03:00
caefa0b7b9
engine: remove cvar r_lighting_modulate, it's some unindentifiable legacy
2024-01-09 03:55:07 +03:00
df6546d5b1
engine: client: add new gamma implementation
...
* immediately expose it in RefAPI. Bump RefAPI to version 7.
* remove VID_StartupGamma, it's not used anymore
* remove stub lightgamma and direct cvars
* add a temporary check for v_direct and v_lightgamma default values
2024-01-09 03:33:24 +03:00
a0c31120d9
ref: add R_GammaChanged function that engine calls on every gamma change
2024-01-07 03:35:23 +03:00
707a9228e1
engine: ref_api: draft RefAPI 6.
...
Remove timings from ref_globals_t struct
Remove R_UpdateRefState accordingly.
Remove unused PARMs
Remove reduntant functions
2023-12-30 16:36:13 +03:00
632264809f
engine: ref_api: add PARMs to get pointers to engine data like cl, host, world, etc. Partially expose cl and host.
2023-12-30 16:36:13 +03:00
c96cf7e22d
engine: expose world version through RefAPI
2023-12-15 07:38:07 +03:00
683c4874f8
common: add ALLOC_CHECK macro that enables attribute alloc_size on GCC that allows to prevent suspicious allocation sizes
2023-12-09 19:00:25 +03:00
mittorn
c800b34cd4
ref_api: add R_Flush method
2023-12-06 04:13:27 +03:00
1612e2d669
engine: client: GetRefAPI now must return REF_API_VERSION to prevent possible issue when ref library wasn't recompiled on version bump
2023-12-06 04:13:27 +03:00
26d229c8ca
engine, ref: RefAPI 5. Simplify remap calls
2023-12-06 04:13:03 +03:00
9c66e86be1
engine, ref: RefAPI 5. Remove unused calls
2023-12-06 04:13:03 +03:00
7e9f87de2d
engine, ref: eliminate calls to global arrays, instead store array pointers at renderer side
2023-12-06 04:13:03 +03:00
40c9a2fb82
engine: make Mod_SampleSizeForFace accept const surface
2023-12-02 18:01:57 +03:00
30d1492b93
engine: remove Set/GetCurrentLoadingModel from RefAPI
2023-10-28 15:22:21 +03:00
88916fdac4
engine: ref_api: remove dead XASH_TEXTURE4 definition
2023-08-21 10:02:18 +03:00
70b26a13c2
engine: allow ref dlls to use convar_t
2023-05-27 21:52:58 +03:00
5d7d5319fd
engine: move ref cvars to static allocation
2023-05-27 21:52:58 +03:00
f1487cf576
engine: ref_api: bump RefAPI version to 4, R_StudioEstimateFrame now has time argument
2023-03-28 20:42:18 +03:00
8bb5ec5e26
ref: remove renderer description export, it's unused now
2023-03-24 02:54:14 +03:00
f4069de7f2
engine: move SlerpBones, CalcBonePosition/Quaternion from engine to libpublic
2023-02-13 05:23:13 +03:00
d7af50ea6c
engine: ref: remove direction vectors from Ref API, renderers calculate them from viewangles to local data anyway
2023-01-31 07:18:23 +03:00
4bbd0cc404
ref: add new special rendermode that specifically used for modulate mode in engine's ScreenFade
2023-01-05 06:07:56 +03:00
69b0954007
engine: change RenderAPI's RenderGetParm return type to intptr_t to insure compatibility with 64-bit
2022-09-20 18:06:19 +03:00
3d5aa7c20c
engine: remove mistakingly placed NORETURN attributes
2022-08-05 18:05:40 +03:00
5e4fc64430
filesystem: introduce new module, based on engine filesystem.
...
The goal is to share filesystem code between engine and
utilities and provide C++ VFileSystem interface in the future
2022-07-28 18:56:02 +03:00
f25254369d
engine: set useful format attribute for RefAPI, set Host_Error as NORETURN
2022-05-28 17:58:17 +03:00
e0efe0aa23
engine: remove emboss filter. There seems no real use for it.
2021-12-07 09:09:45 +03:00
a777e7c80d
engine, ref: add sprite and studio cvars to shared cvars list
2021-12-06 05:17:25 +03:00
d7db48ce4b
engine, ref: create shared cvars list, register them at engine side, make a generic macro to declare, define and get all pointers at ref side
2021-12-06 04:57:32 +03:00