Alibek Omarov
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
Alibek Omarov
4cb109abe0
engine: make playermove funcs truly shared between client and server
2023-01-05 23:50:42 +03:00
Alibek Omarov
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
Alibek Omarov
314672d82c
engine: client: fix invalid playerinfo being accessed by renderer
2022-08-13 01:29:45 +03:00
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
2022-07-28 18:56:02 +03:00
Alibek Omarov
a777e7c80d
engine, ref: add sprite and studio cvars to shared cvars list
2021-12-06 05:17:25 +03:00
Alibek Omarov
1350fd0b52
engine: ref: use right Cvar_Get function :)
2021-12-06 05:02:30 +03:00
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
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
Alibek Omarov
9e5d5e0ea3
public: moved COM_ParseFileSafe to libpublic, added optional argument for length and overflow checking
2021-10-08 17:31:32 +03:00
Alibek Omarov
9313f7e80e
engine: replace pool pointer by pool handle
2021-06-07 02:33:15 +03:00
Alibek Omarov
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
Alibek Omarov
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
Andrey Akhmichin
5aef09ce5d
engine: client: simplified strings operations.
2020-12-29 01:07:00 +03:00
Alibek Omarov
80a5c53cb2
engine: client: move ref state updating into standalone function
2020-09-14 14:33:43 +03:00
mittorn
3a416636f1
engine: mark GAME_EXPORT's
2020-01-19 08:15:54 +07:00
Alibek Omarov
612e7560ae
engine: client: fix r_showtextures
2019-12-02 02:13:41 +03:00
Alibek Omarov
c07109e69c
engine: fix -Wincompatible-pointer-types, add it to Werror list
2019-11-28 19:18:50 +03:00
Alibek Omarov
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
Alibek Omarov
7afee98f99
engine: ref: check if refdll was initialized before freeing texture
2019-11-17 18:05:05 +03:00
mittorn
7f6395fa7d
ref: display transformation API
2019-10-31 01:36:07 +07:00
iZarif
bf8b87c29d
engine: client/common: fix a few more format warnings
2019-10-22 17:56:08 +03:00
Alibek Omarov
e0b8c338a8
engine: ref: more verbose refdll loading
2019-10-11 11:46:59 +03:00
Alibek Omarov
eff814b148
engine: ref: remove redutant continue, return false in case of failed renderer initialization
2019-10-11 07:57:59 +03:00
Alibek Omarov
898b697b70
engine: ref: allow to set r_refdll or -ref with ref_ prefix
2019-10-11 05:36:17 +03:00
Alibek Omarov
6d8026cd81
engine: ref: fix spamming in console when getting human readable renderer names
2019-10-11 05:11:45 +03:00
Alibek Omarov
dc207a449c
engine: fix -Werror=strict-prototypes
2019-10-05 02:09:45 +03:00
Alibek Omarov
8323df240b
engine: implement menu extensions to allow choosing renderers from GUI
2019-08-09 04:44:50 +03:00
Alibek Omarov
a1ae770f70
engine: ref: add optional export to determine actual human readable renderer name
2019-08-09 03:39:24 +03:00
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
2019-07-28 00:23:22 +03:00
Alibek Omarov
8f9800eb3c
ref: move R_DrawTree from refdll to engine, implement using ref's triapi
2019-07-27 13:27:40 +03:00
Alibek Omarov
6197ba8af6
engine: ref: remove redutant LoadLibrary call
2019-07-01 05:50:31 +03:00
Alibek Omarov
3ae7ecaeb3
engine: patched to compile, moved gl_clear to engine
2019-06-17 08:37:34 +03:00
Alibek Omarov
f2c927906f
Merge 4511 update
2019-06-17 07:36:46 +03:00
Alibek Omarov
76dae35955
ref: remove COM_HashKey API call
2019-06-06 04:34:28 +03:00
Alibek Omarov
d14ce61520
engine: no return type for RenderFrame
2019-05-12 03:09:40 +03:00
Alibek Omarov
ab7a67464b
engine: fix long<->int conversion UBs
2019-05-02 19:05:09 +03:00
Alibek Omarov
2c17af4850
engine: ref: fix possible null dereference, if client doesn't export studio renderer
2019-04-16 23:39:37 +03:00
Alibek Omarov
4d9563ea03
ref: make api thinner by removing IsNormalPass and moving CL_FxBlend to refdll
2019-04-15 01:19:05 +03:00
Alibek Omarov
d62a12dd9a
ref: allow to use shortened name when specifying -ref in command line
2019-04-14 22:04:32 +03:00
mittorn
d5b6ccb3e2
ref: REF_SOFTWARE support with SDL_Surface/SDL_Renderer
2019-04-11 22:19:08 +07:00
Alibek Omarov
f48335f2f2
ref: get rid of fov in globals, add RenderFrame wrapper, which correctly initialize shared global values
2019-03-28 18:17:58 +03:00
Alibek Omarov
92b89936b3
ref: make API thinner by moving simple calls into EngineGetParm(RenderGetParm with ref extensions), fix some UBs
2019-03-22 16:36:46 +03:00
mittorn
0a22040c6e
Fix SpriteTexture
2019-03-17 23:41:11 +07:00
mittorn
c55b7dcda7
ref: simplify efx api, move efrags to engine
2019-03-17 23:14:53 +07:00
mittorn
8339096ad8
ref: Improve model unloading, fix texture leak
2019-03-17 18:26:57 +07:00
mittorn
57320c0c25
ref: get rid of vidState, add GL_SwapBuffers to engine exports
2019-03-16 11:58:44 +07:00
Alibek Omarov
e5000742f1
ref: context creating prototype, not working yet
2019-03-16 05:15:32 +03:00