Alibek Omarov
e95a2da6d0
engine: platform: sdl: slightly rework previous patch to not call SDL each frame and check for NULL pointers
2024-02-23 20:55:32 +03:00
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
2024-01-09 03:33:24 +03:00
Alibek Omarov
1e43cb734b
engine: client: add definitions for borderless fullscreen mode
2023-10-10 14:08:06 +03:00
Alibek Omarov
cb19fa2f6d
engine: client: restore window maximized state after engine restart
2023-10-09 05:26:17 +03:00
Alibek Omarov
1ee01163b7
engine: client: move scrn cvars to static allocation
2023-05-27 21:52:58 +03:00
Alibek Omarov
d4470402ee
engine: move vid cvars to static allocation
2023-05-27 21:52:58 +03:00
Alibek Omarov
16b162f7bb
engine: vid: position window in center by default
2023-01-18 19:27:40 +03:00
Alibek Omarov
fbedbdca7d
engine: client: fix fullscreen reapplied on window resize
2023-01-14 18:52:38 +03:00
Alibek Omarov
6232e288e1
engine: client: fool proof R_SaveVideoMode
2023-01-14 11:45:42 +03:00
Alibek Omarov
d13f7f06e4
engine: fix framerate being capped to 60FPS with vsync, remove vid_displayfrequency cvar. Never sleep with vsync or timedemo, for accuracy
2022-11-10 13:05:03 +03:00
Alibek Omarov
94dc74a37f
engine: restrict potentially harmful engine commands
2021-11-23 05:23:38 +03:00
SNMetamorph
cba9fb1a07
vid_common: added vid_mode cvar for proper working VideoModes menu in game settings
2021-02-20 14:22:20 +03:00
Alibek Omarov
0c3be639c5
engine: reliably tell client.dll about vid mode changes
2019-11-26 02:47:48 +03:00
mittorn
7f6395fa7d
ref: display transformation API
2019-10-31 01:36:07 +07:00
Alibek Omarov
dc207a449c
engine: fix -Werror=strict-prototypes
2019-10-05 02:09:45 +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
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
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
2019-03-06 16:23:33 +03:00
Alibek Omarov
e193ac2c04
ref: more @mittorn's changes on RefAPI
2019-02-23 21:49:46 +03:00
Alibek Omarov
99bd7c81da
ref: render code moved out of engine, doesn't compile, first API prototype
2019-02-18 21:25:26 +03:00
mittorn
bccc0e63d5
Port VBO world renderer
2019-02-07 00:40:38 +07:00
Alibek Omarov
0801922466
cvar: don't change cvars without FCVAR_GLCONFIG variable during opengl.cfg reading
2019-01-27 02:27:12 +03:00
a1batross
7ad7af76dd
render: register r_showtree cvar
2018-11-30 22:56:20 +03:00
Alibek Omarov
dcf64c6b33
Fix build, update menu
2018-11-27 16:38:22 +03:00
Alibek Omarov
a03aa3ddb3
Merge 4281 update
2018-10-28 00:39:29 +03:00
Alibek Omarov
960e46c564
engine: adapt engine code to new platform backends system
2018-10-22 00:27:52 +03:00
Alibek Omarov
4ced29ee8f
vid_common: fix window_center_x/y initialization
2018-10-10 20:22:11 +03:00
mittorn
491188a0f3
Merge branch 'original'
2018-10-04 14:27:14 +07:00
Alibek Omarov
f26ac52102
Merge 4140 update
2018-06-11 14:04:50 +03:00
Alibek Omarov
ae5257c654
Add masterlist from engine. Use non-blocking network name resolution
2018-06-01 20:44:16 +03:00
Alibek Omarov
3f2a8f7704
Remove vid_mode. VID_GetModeString now returns only supported modes from SDL2
2018-04-29 09:21:23 +03:00
Alibek Omarov
e8d13cd0d5
Rebrand from Xash3D to Xash3D FWGS. Add _format() attrubute to print-like functions
2018-04-23 21:36:33 +03:00
mittorn
926b909f3d
Merge branch 'original'
2018-04-20 12:38:53 +00:00
mittorn
af7123f7dd
Merge branch 'original' (except gldebug, msaa)
2018-04-19 20:47:41 +00:00
Alibek Omarov
fc7ed1ab75
Add SDL video backend
2018-04-17 03:44:17 +03:00