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
6 years ago
Alibek Omarov
3ae7ecaeb3
engine: patched to compile, moved gl_clear to engine
6 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
Alibek Omarov
234507b7f1
ref: fix all undefined references
6 years ago
Alibek Omarov
e7234bada2
ref: now it compiles, not linking yet. ref_api header moved to engine/ to clarify, that it's sort of engine internals
6 years ago
mittorn
437ba6d7a2
ref:Fix some clgame, world and renderapi usages, import renderapi funcs from engine
6 years ago
Alibek Omarov
574f03c139
ref: initial engine to ref API draft, not compiling, work in progress [ci skip]
6 years ago
Alibek Omarov
e193ac2c04
ref: more @mittorn's changes on RefAPI
6 years ago
Alibek Omarov
99bd7c81da
ref: render code moved out of engine, doesn't compile, first API prototype
6 years ago