Alibek Omarov
240563cd1b
engine: client: set r_lighting_modulate to 0.6 and save it to config for old Xash mods that use it internally
9 months ago
Alibek Omarov
2feaae59f7
engine: client: bring back r_lighting_modulate, as a compatibility cvar
10 months ago
Alibek Omarov
2b6a550405
engine: clean up common.h header from unused function prototypes, or move them to appropriate header or C file
10 months ago
Alibek Omarov
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
10 months ago
Alibek Omarov
707a9228e1
engine: ref_api: draft RefAPI 6.
...
Remove timings from ref_globals_t struct
Remove R_UpdateRefState accordingly.
Remove unused PARMs
Remove reduntant functions
11 months ago
Alibek Omarov
a3c9538d12
engine: client: add support for new PARMs
...
Reorganize internal engine structs, carefully check structs compatibility before casting types
11 months ago
Alibek Omarov
1612e2d669
engine: client: GetRefAPI now must return REF_API_VERSION to prevent possible issue when ref library wasn't recompiled on version bump
11 months ago
Alibek Omarov
26d229c8ca
engine, ref: RefAPI 5. Simplify remap calls
11 months ago
Alibek Omarov
9c66e86be1
engine, ref: RefAPI 5. Remove unused calls
11 months ago
Alibek Omarov
7e9f87de2d
engine, ref: eliminate calls to global arrays, instead store array pointers at renderer side
11 months ago
Alibek Omarov
0aa8a2891c
engine: client: add gles3compat to renderers list
1 year ago
Alibek Omarov
e21fa4a910
engine: add cvar r_refdll_loaded to indicate currently loaded renderer (for menu options and etc)
1 year ago
Alibek Omarov
30d1492b93
engine: remove Set/GetCurrentLoadingModel from RefAPI
1 year ago
Alibek Omarov
1e43cb734b
engine: client: add definitions for borderless fullscreen mode
1 year ago
Alibek Omarov
cb19fa2f6d
engine: client: restore window maximized state after engine restart
1 year ago
Alibek Omarov
a07f81820c
engine: client: ref_common: fix missing newline in Host_Error
1 year ago
Alibek Omarov
70b26a13c2
engine: allow ref dlls to use convar_t
1 year ago
Alibek Omarov
6a1f96a2c6
engine: always unlink variables and commands BEFORE all pointers to them would be lost
1 year ago
Alibek Omarov
5d7d5319fd
engine: move ref cvars to static allocation
1 year ago
Alibek Omarov
d4470402ee
engine: move vid cvars to static allocation
1 year ago
Alibek Omarov
05560c7607
engine: always read and set vid_fullscreen value directly with it's object
1 year ago
Alibek Omarov
b16fa8eddc
public: remove Q_strcat and Q_strcpy, and patch the code that uses it
2 years ago
Alibek Omarov
192d510924
engine: client: remove unused function CL_FreeEntity and everything that used it
2 years ago
Alibek Omarov
3ccbc7a28c
engine: client: ref_common: r_refdll is not a VIDRESTART cvar
2 years ago
Alibek Omarov
ec355a83d1
engine: client: ref_common: eliminate COM_FreeLibrary in renderer names query, hardcoding them instead
2 years ago
Alibek Omarov
d667845777
engine: convert Cbuf_AddText with va to Cbuf_AddTextf
2 years ago
Alibek Omarov
f4069de7f2
engine: move SlerpBones, CalcBonePosition/Quaternion from engine to libpublic
2 years ago
Alibek Omarov
d7af50ea6c
engine: ref: remove direction vectors from Ref API, renderers calculate them from viewangles to local data anyway
2 years ago
Alibek Omarov
4cb109abe0
engine: make playermove funcs truly shared between client and server
2 years ago
Alibek Omarov
69b0954007
engine: change RenderAPI's RenderGetParm return type to intptr_t to insure compatibility with 64-bit
2 years ago
Alibek Omarov
314672d82c
engine: client: fix invalid playerinfo being accessed by renderer
2 years ago
Alibek Omarov
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
2 years ago
Alibek Omarov
a777e7c80d
engine, ref: add sprite and studio cvars to shared cvars list
3 years ago
Alibek Omarov
1350fd0b52
engine: ref: use right Cvar_Get function :)
3 years ago
Alibek Omarov
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
3 years ago
SNMetamorph
c366e25a10
ref_gl: cvar gl_wgl_msaa_samples renamed to gl_msaa_samples
3 years ago
Alibek Omarov
9e5d5e0ea3
public: moved COM_ParseFileSafe to libpublic, added optional argument for length and overflow checking
3 years ago
Alibek Omarov
9313f7e80e
engine: replace pool pointer by pool handle
3 years ago
Alibek Omarov
58edfbc485
engine: move cvars that expected to exist by client.dll from render dll to engine
...
Fixes #316
4 years ago
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`.
4 years ago
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.
4 years ago
Alibek Omarov
766ef84af4
engine: ref: try to bruteforce all available renderers if we're failed to load requested one
4 years ago
Andrey Akhmichin
5aef09ce5d
engine: client: simplified strings operations.
4 years ago
Alibek Omarov
80a5c53cb2
engine: client: move ref state updating into standalone function
4 years ago
mittorn
3a416636f1
engine: mark GAME_EXPORT's
5 years ago
Alibek Omarov
612e7560ae
engine: client: fix r_showtextures
5 years ago
Alibek Omarov
c07109e69c
engine: fix -Wincompatible-pointer-types, add it to Werror list
5 years ago
Alibek Omarov
9421457b3a
engine: big refactoring commit, instead of using platform-specific platform-specific macros, use appropriate macros set by public/build.h
5 years ago
Alibek Omarov
7afee98f99
engine: ref: check if refdll was initialized before freeing texture
5 years ago
mittorn
7f6395fa7d
ref: display transformation API
5 years ago