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
efc156fcf5
engine: ref_api: purposefully moved WorldToScreen to 2D functions from TriAPI, since WorldToScreen is expected to be simpler in-engine version rather than TriAPI one
2021-10-30 21:49:27 +06:00
9e5d5e0ea3
public: moved COM_ParseFileSafe to libpublic, added optional argument for length and overflow checking
2021-10-08 17:31:32 +03:00
9313f7e80e
engine: replace pool pointer by pool handle
2021-06-07 02:33:15 +03:00
4f31d7504a
ref_api: fix remap info allocation ( fixes #200 )
2021-05-02 20:02:04 +03:00
8f8c8e6614
ref: add export that returns GL_GetProcAddress for renderapi
2020-02-25 12:59:04 +07:00
2e2a716710
ref_api: fix remap code
2020-01-30 07:15:23 +07:00
0cb591821a
Merge sdl12-port into master
2019-11-06 22:29:04 +03:00
1365020302
ref: add enum for screen rotation
2019-11-04 20:27:46 +07:00
5e8373fa46
engine: slightly update RefAPI
2019-11-02 08:56:07 +03:00
7f6395fa7d
ref: display transformation API
2019-10-31 01:36:07 +07:00
dc207a449c
engine: fix -Werror=strict-prototypes
2019-10-05 02:09:45 +03:00
a1ae770f70
engine: ref: add optional export to determine actual human readable renderer name
2019-08-09 03:39:24 +03:00
7be094b563
sdl: vid: prevent infinite recursion if SDL failed create window with selected GL attributes
2019-08-03 19:01:35 +03:00