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
iZarif
bf8b87c29d
engine: client/common: fix a few more format warnings
5 years ago
Alibek Omarov
e0b8c338a8
engine: ref: more verbose refdll loading
5 years ago
Alibek Omarov
eff814b148
engine: ref: remove redutant continue, return false in case of failed renderer initialization
5 years ago
Alibek Omarov
898b697b70
engine: ref: allow to set r_refdll or -ref with ref_ prefix
5 years ago
Alibek Omarov
6d8026cd81
engine: ref: fix spamming in console when getting human readable renderer names
5 years ago
Alibek Omarov
dc207a449c
engine: fix -Werror=strict-prototypes
5 years ago
Alibek Omarov
8323df240b
engine: implement menu extensions to allow choosing renderers from GUI
5 years ago
Alibek Omarov
a1ae770f70
engine: ref: add optional export to determine actual human readable renderer name
5 years ago
Alibek Omarov
f9269dcc1c
engine: ref: implement executing renderer config before creating context from engine and video config before loading refdll, update api, add r_refdll cvar to video.cfg
5 years ago
Alibek Omarov
8f9800eb3c
ref: move R_DrawTree from refdll to engine, implement using ref's triapi
5 years ago
Alibek Omarov
6197ba8af6
engine: ref: remove redutant LoadLibrary call
5 years ago
Alibek Omarov
3ae7ecaeb3
engine: patched to compile, moved gl_clear to engine
5 years ago
Alibek Omarov
76dae35955
ref: remove COM_HashKey API call
6 years ago
Alibek Omarov
d14ce61520
engine: no return type for RenderFrame
6 years ago
Alibek Omarov
ab7a67464b
engine: fix long<->int conversion UBs
6 years ago
Alibek Omarov
2c17af4850
engine: ref: fix possible null dereference, if client doesn't export studio renderer
6 years ago
Alibek Omarov
4d9563ea03
ref: make api thinner by removing IsNormalPass and moving CL_FxBlend to refdll
6 years ago
Alibek Omarov
d62a12dd9a
ref: allow to use shortened name when specifying -ref in command line
6 years ago
mittorn
d5b6ccb3e2
ref: REF_SOFTWARE support with SDL_Surface/SDL_Renderer
6 years ago
Alibek Omarov
f48335f2f2
ref: get rid of fov in globals, add RenderFrame wrapper, which correctly initialize shared global values
6 years ago
Alibek Omarov
92b89936b3
ref: make API thinner by moving simple calls into EngineGetParm(RenderGetParm with ref extensions), fix some UBs
6 years ago
mittorn
0a22040c6e
Fix SpriteTexture
6 years ago
mittorn
c55b7dcda7
ref: simplify efx api, move efrags to engine
6 years ago
mittorn
8339096ad8
ref: Improve model unloading, fix texture leak
6 years ago
mittorn
57320c0c25
ref: get rid of vidState, add GL_SwapBuffers to engine exports
6 years ago
Alibek Omarov
e5000742f1
ref: context creating prototype, not working yet
6 years ago
Alibek Omarov
971f9b6de5
ref: fix compiling errors
6 years ago
Alibek Omarov
199ebfed48
ref: implement engine ref API
6 years ago
Alibek Omarov
97aba69ed0
ref: implement API interface for ref_gl, get rid of RenderAPI, RenderInterface and vgui_support API references
6 years ago