Alibek Omarov
caefa0b7b9
engine: remove cvar r_lighting_modulate, it's some unindentifiable legacy
12 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
12 months ago
Alibek Omarov
a0c31120d9
ref: add R_GammaChanged function that engine calls on every gamma change
12 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
1 year ago
Alibek Omarov
632264809f
engine: ref_api: add PARMs to get pointers to engine data like cl, host, world, etc. Partially expose cl and host.
1 year ago
Alibek Omarov
c96cf7e22d
engine: expose world version through RefAPI
1 year ago
Alibek Omarov
683c4874f8
common: add ALLOC_CHECK macro that enables attribute alloc_size on GCC that allows to prevent suspicious allocation sizes
1 year ago
mittorn
c800b34cd4
ref_api: add R_Flush method
1 year 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
1 year ago
Alibek Omarov
26d229c8ca
engine, ref: RefAPI 5. Simplify remap calls
1 year ago
Alibek Omarov
9c66e86be1
engine, ref: RefAPI 5. Remove unused calls
1 year ago
Alibek Omarov
7e9f87de2d
engine, ref: eliminate calls to global arrays, instead store array pointers at renderer side
1 year ago
Alibek Omarov
40c9a2fb82
engine: make Mod_SampleSizeForFace accept const surface
1 year ago
Alibek Omarov
30d1492b93
engine: remove Set/GetCurrentLoadingModel from RefAPI
1 year ago
Alibek Omarov
88916fdac4
engine: ref_api: remove dead XASH_TEXTURE4 definition
1 year ago
Alibek Omarov
70b26a13c2
engine: allow ref dlls to use convar_t
2 years ago
Alibek Omarov
5d7d5319fd
engine: move ref cvars to static allocation
2 years ago
Alibek Omarov
f1487cf576
engine: ref_api: bump RefAPI version to 4, R_StudioEstimateFrame now has time argument
2 years ago
Alibek Omarov
8bb5ec5e26
ref: remove renderer description export, it's unused now
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
4bbd0cc404
ref: add new special rendermode that specifically used for modulate mode in engine's ScreenFade
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
3d5aa7c20c
engine: remove mistakingly placed NORETURN attributes
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
f25254369d
engine: set useful format attribute for RefAPI, set Host_Error as NORETURN
3 years ago
Alibek Omarov
e0efe0aa23
engine: remove emboss filter. There seems no real use for it.
3 years ago
Alibek Omarov
a777e7c80d
engine, ref: add sprite and studio cvars to shared cvars list
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
Alibek Omarov
efc156fcf5
engine: ref_api: purposefully moved WorldToScreen to 2D functions from TriAPI, since WorldToScreen is expected to be simpler in-engine version rather than TriAPI one
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
4 years ago
Velaron
4f31d7504a
ref_api: fix remap info allocation ( fixes #200 )
4 years ago
mittorn
8f8c8e6614
ref: add export that returns GL_GetProcAddress for renderapi
5 years ago
mittorn
2e2a716710
ref_api: fix remap code
5 years ago
mittorn
1365020302
ref: add enum for screen rotation
5 years ago
Alibek Omarov
5e8373fa46
engine: slightly update RefAPI
5 years ago
mittorn
7f6395fa7d
ref: display transformation API
5 years ago
Alibek Omarov
dc207a449c
engine: fix -Werror=strict-prototypes
5 years ago
Alibek Omarov
a1ae770f70
engine: ref: add optional export to determine actual human readable renderer name
5 years ago
Alibek Omarov
7be094b563
sdl: vid: prevent infinite recursion if SDL failed create window with selected GL attributes
5 years ago
Alibek Omarov
4b163e6d30
engine: hide FCVAR_RENDERINFO from renderdll, remove OpenGLConfigHack from engine functions, add GetConfigName to renderdll functions
6 years ago
Alibek Omarov
8f9800eb3c
ref: move R_DrawTree from refdll to engine, implement using ref's triapi
6 years ago
Alibek Omarov
eb22ff53c4
sdl: vid: fix washed out screen on Windows and probably other platforms( #50 )
6 years ago
Alibek Omarov
76dae35955
ref: remove COM_HashKey API call
6 years ago
Alibek Omarov
2e953bd1a9
ref_api: remove GL_OnContextCreated, remove return value of GL_RenderFrame
6 years ago
Alibek Omarov
a1391f3d0b
engine: ref_api: comment unused opengl attributes
6 years ago
Alibek Omarov
ab7a67464b
engine: fix long<->int conversion UBs
6 years ago
Alibek Omarov
7d8b63fd88
ref: get rid of R_IncrementSpeedsCounter
6 years ago
Alibek Omarov
5be982cc72
ref: remove shared textures enum, instead use hardcoded texture names
6 years ago