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
11 months ago
Alibek Omarov
9ec1e259b4
engine: platform: sdl: unused variable cleanup
1 year ago
Alibek Omarov
96a9172e36
engine: platform: sdl: check that we're handling SDL errors according to it's documentation
1 year ago
Alibek Omarov
8f819a2fde
engine: platform: sdl: fix forgotten icon setup call
1 year ago
mittorn
1bfb6c560a
platform/sdl: add check for missing hint defines
1 year ago
mittorn
24d6f1788a
platform/sdl: workaround ubuntu SDL2 bug preventing resolving any extensions on EGL
1 year ago
mittorn
6041bb0a43
platform/sdl: fix safegl
1 year ago
Alibek Omarov
4acd0e5304
engine: platform: sdl: grab input only in true fullscreen mode
1 year ago
Alibek Omarov
cb1063c305
engine: platform: sdl: fix qboolean to window_mode_t conversions
1 year ago
Alibek Omarov
59bfc8c32f
engine: platform: sdl: fix qboolean to window_mode_t conversions
1 year ago
Alibek Omarov
99f290b622
engine: platform: sdl: support borderless mode, slight refactoring
1 year ago
Alibek Omarov
cb19fa2f6d
engine: client: restore window maximized state after engine restart
1 year ago
Alibek Omarov
1fdf6180e6
engine: platform: sdl: merge required SDL2 platform changes for new Android port from @Velaron's tree
2 years ago
Alibek Omarov
a23e17c6d7
engine: platform: sdl: set QtWayland hints
2 years ago
Alibek Omarov
5d7d5319fd
engine: move ref cvars to static allocation
2 years ago
Alibek Omarov
d4470402ee
engine: move vid cvars to static allocation
2 years ago
Alibek Omarov
05560c7607
engine: always read and set vid_fullscreen value directly with it's object
2 years ago
Velaron
e27ac6b092
platform: win32: properly change icon
2 years ago
Alibek Omarov
ec2951cf45
engine: add size argument to COM_Default/ReplaceExtension calls
2 years ago
Alibek Omarov
a8de11643c
engine: platform: sdl: make GL_CreateContext and GL_DeleteContext functions static
2 years ago
Alibek Omarov
098c4c009b
engine: platform: sdl: fix incorrect HICON cast in SetClassLongPtr call
2 years ago
Andrey Akhmichin
573781b45d
engine: platform: sdl: replace va function calls.
2 years ago
fgsfds
6304b51f32
psvita: fno-short-enums, make ref_gl function somewhat
2 years ago
Alibek Omarov
21b9f07323
engine: platform: sdl: remove legacy XASH_NANOGL macro from vid code, it's only relevant for ref_gl
2 years ago
Alibek Omarov
b946ed4625
engine: platform: sdl: don't flood about closest display mode in case of no changes
2 years ago
Alibek Omarov
dd1d86c289
engine: platform: sdl: check usable display rect before creating window
2 years ago
Alibek Omarov
7157c3b441
engine: platform: sdl: don't enable high dpi code for Apple
...
It seems enables HighDPI awareness but doesn't create HighDPI OpenGL context
It needs some plist magic to be enabled back again
2 years ago
Alibek Omarov
79dc090aae
engine: platform: sdl: use SetClassLongPtr function to be compatible with 64-bit Windows API
2 years ago
Alibek Omarov
5285f51a26
engine: platform: sdl: fix loading ICO when it's in RoDir
2 years ago
Alibek Omarov
3e23634369
engine: platform: sdl: enable ICO support on Win64
2 years ago
Alibek Omarov
4e295622be
Revert "engine: platform: sdl: try to enable ICO icons for 64-bit Windows, ignore TGA flip attribute for icons"
...
This reverts commit 2182ba9630
.
2 years ago
Alibek Omarov
2182ba9630
engine: platform: sdl: try to enable ICO icons for 64-bit Windows, ignore TGA flip attribute for icons
2 years ago
Alibek Omarov
d0a39ef492
engine: client: rework mouse input again, do what GoldSrc does, minimize SDL mouse calls
3 years ago
SNMetamorph
c366e25a10
ref_gl: cvar gl_wgl_msaa_samples renamed to gl_msaa_samples
3 years ago
a1batross
3b192ca490
engine: sdl: don't free NULL vidmodes
4 years ago
Gleb Mazovetskiy
5e0a0765ce
Trim all trailing whitespace
...
The `.editorconfig` file in this repo is configured to trim all trailing
whitespace regardless of whether the line is modified.
Trims all trailing whitespace in the repository to make the codebase easier
to work with in editors that respect `.editorconfig`.
`git blame` becomes less useful on these lines but it already isn't very useful.
Commands:
```
find . -type f -name '*.h' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
find . -type f -name '*.c' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
```
4 years ago
mittorn
84a3f6883d
sdl: add EGL hint
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
1f308a43c8
engine: fix build after lowmemory rebase
5 years ago
Alibek Omarov
9d826016b0
engine: finish sdl1.2 port
5 years ago
Alibek Omarov
4d5e7c0557
platform: minify changes, use SDL_VERSION_ATLEAST macro(left unfinished)
5 years ago
Alibek Omarov
8dafbaeda2
engine: platform: sdl: dirty wip sdl1.2 port
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
7be094b563
sdl: vid: prevent infinite recursion if SDL failed create window with selected GL attributes
5 years ago
Alibek Omarov
4beba75159
engine: fix various compiler warnings
5 years ago
Alibek Omarov
f2d588574c
sdl: vid: fix engine window being restored immediately after being maximized
6 years ago
Alibek Omarov
413882a8d5
sdl: fix typos
6 years ago
Alibek Omarov
c92f8f71a7
sdl: vid: allow to build with earlier versions of SDL2
6 years ago
Alibek Omarov
eb22ff53c4
sdl: vid: fix washed out screen on Windows and probably other platforms( #50 )
6 years ago