599a1f026e
engine: client: fix missing comma
2024-03-11 22:56:52 +03:00
240563cd1b
engine: client: set r_lighting_modulate to 0.6 and save it to config for old Xash mods that use it internally
2024-02-07 23:22:27 +03:00
2feaae59f7
engine: client: bring back r_lighting_modulate, as a compatibility cvar
2024-02-02 13:52:17 +03:00
2b6a550405
engine: clean up common.h header from unused function prototypes, or move them to appropriate header or C file
2024-01-28 10:00:17 +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
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
a3c9538d12
engine: client: add support for new PARMs
...
Reorganize internal engine structs, carefully check structs compatibility before casting types
2023-12-30 16:36:13 +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
0aa8a2891c
engine: client: add gles3compat to renderers list
2023-11-03 17:03:27 +03:00
e21fa4a910
engine: add cvar r_refdll_loaded to indicate currently loaded renderer (for menu options and etc)
2023-10-31 21:52:00 +03:00
30d1492b93
engine: remove Set/GetCurrentLoadingModel from RefAPI
2023-10-28 15:22:21 +03:00
1e43cb734b
engine: client: add definitions for borderless fullscreen mode
2023-10-10 14:08:06 +03:00
cb19fa2f6d
engine: client: restore window maximized state after engine restart
2023-10-09 05:26:17 +03:00
a07f81820c
engine: client: ref_common: fix missing newline in Host_Error
2023-07-22 05:51:18 +03:00
70b26a13c2
engine: allow ref dlls to use convar_t
2023-05-27 21:52:58 +03:00
6a1f96a2c6
engine: always unlink variables and commands BEFORE all pointers to them would be lost
2023-05-27 21:52:58 +03:00
5d7d5319fd
engine: move ref cvars to static allocation
2023-05-27 21:52:58 +03:00
d4470402ee
engine: move vid cvars to static allocation
2023-05-27 21:52:58 +03:00
05560c7607
engine: always read and set vid_fullscreen value directly with it's object
2023-05-27 21:52:58 +03:00
b16fa8eddc
public: remove Q_strcat and Q_strcpy, and patch the code that uses it
2023-04-26 05:20:45 +03:00
192d510924
engine: client: remove unused function CL_FreeEntity and everything that used it
2023-04-03 03:55:57 +03:00
3ccbc7a28c
engine: client: ref_common: r_refdll is not a VIDRESTART cvar
2023-03-24 18:03:06 +03:00
ec355a83d1
engine: client: ref_common: eliminate COM_FreeLibrary in renderer names query, hardcoding them instead
2023-03-24 01:52:14 +03:00
d667845777
engine: convert Cbuf_AddText with va to Cbuf_AddTextf
2023-03-13 05:31:27 +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
4cb109abe0
engine: make playermove funcs truly shared between client and server
2023-01-05 23:50:42 +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
314672d82c
engine: client: fix invalid playerinfo being accessed by renderer
2022-08-13 01:29:45 +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
a777e7c80d
engine, ref: add sprite and studio cvars to shared cvars list
2021-12-06 05:17:25 +03:00
1350fd0b52
engine: ref: use right Cvar_Get function :)
2021-12-06 05:02:30 +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
SNMetamorph
c366e25a10
ref_gl: cvar gl_wgl_msaa_samples renamed to gl_msaa_samples
2021-11-23 05:17:19 +03: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
58edfbc485
engine: move cvars that expected to exist by client.dll from render dll to engine
...
Fixes #316
2021-03-01 20:03:32 +03:00
Gleb Mazovetskiy
12b579bc34
Fix R_CollectRendererNames
...
Previously R_CollectRendererNames left gaps in the `ref` subarrays.
This caused `R_Init` to fail in some cases because it iterates between `0` and `ref.numRenderers`.
2021-01-07 17:34:34 +03:00
Gleb Mazovetskiy
a234888d44
Remove DEFAULT_(ACCELERATED|SOFTWARE)_RENDERER
...
This is no longer needed as we now use DEFAULT_RENDERERS order priority
and only try to load the detected renderers.
2021-01-07 17:31:56 +03:00
766ef84af4
engine: ref: try to bruteforce all available renderers if we're failed to load requested one
2021-01-02 17:59:53 +03:00
5aef09ce5d
engine: client: simplified strings operations.
2020-12-29 01:07:00 +03:00
80a5c53cb2
engine: client: move ref state updating into standalone function
2020-09-14 14:33:43 +03:00
3a416636f1
engine: mark GAME_EXPORT's
2020-01-19 08:15:54 +07:00
612e7560ae
engine: client: fix r_showtextures
2019-12-02 02:13:41 +03:00
c07109e69c
engine: fix -Wincompatible-pointer-types, add it to Werror list
2019-11-28 19:18:50 +03:00
9421457b3a
engine: big refactoring commit, instead of using platform-specific platform-specific macros, use appropriate macros set by public/build.h
2019-11-24 03:52:08 +03:00
7afee98f99
engine: ref: check if refdll was initialized before freeing texture
2019-11-17 18:05:05 +03:00