Bohdan Shulyar
f1bc9b87b1
platform: android: port to SDL
10 months ago
Alibek Omarov
75d476f9df
engine: fix -Wmissing-prototypes
10 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
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
7e05562c14
engine: platform: sdl: check SDL version in Platform_Vibrate
1 year ago
Alibek Omarov
c16a10e6f3
engine: platform: refactor Platform_Init/Shutdown/GetNativeObject functions. They are now defined in the header, and call platform-specific functios that defined in platform code
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
f19ed1c1c2
engine: client: move joystick cvars to static allocation
2 years ago
Alibek Omarov
b1d60c248d
engine: client: move main client cvars to static allocation
2 years ago
Alibek Omarov
d9cbf1fa89
engine: client: move input cvars to static allocation
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
Alibek Omarov
356f78ee81
engine: platform: sdl: fix possible buffer overrun in SDL port audio code
2 years ago
Velaron
e27ac6b092
platform: win32: properly change icon
2 years ago
Alibek Omarov
7dcddc559c
engine: platform: sdl: set PulseAudio role only on POSIX systems
2 years ago
Alibek Omarov
323626c308
engine: platform: sdl: try to avoid random crash in SDL pulse audio driver
2 years ago
Alibek Omarov
19582cdf11
engine: simplify force version drawing logic
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
SNMetamorph
f9205825b6
engine: platform: sdl: fixed psvita & nswitch platform initializing
2 years ago
Andrey Akhmichin
573781b45d
engine: platform: sdl: replace va function calls.
2 years ago
fgsfds
fe3f15ad33
engine: input: psvita: reimplement OSK manually
2 years ago
fgsfds
6304b51f32
psvita: fno-short-enums, make ref_gl function somewhat
2 years ago
fgsfds
7424b29e56
engine: initial psvita build support
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
33c9f7118b
engine: platform: sdl: sanitize buttons/axes from SDL, add ABXY->BAYX swap for NSwitch
2 years ago
Alibek Omarov
d6d98bd297
engine: platform: sdl: minor style changes
2 years ago
Alibek Omarov
634574f249
engine: platform: sdl: don't enable text mode with cursor???
2 years ago
fgsfds
25a1cb8ce7
Nintendo Switch support (again)
2 years ago
Alibek Omarov
402a0f129d
engine: platform: sdl: use SDL joystick rumble for Platform_Vibrate
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
802c7a86a9
engine: platform: sdl: add pause and scrolllock handlers
2 years ago
SNMetamorph
b35cf6e30c
engine: platform: update VGUI cursor state in Platform_SetCursorType
2 years ago
Alibek Omarov
1a09d297ee
engine: minimize SetCursorType calls count
2 years ago
Alibek Omarov
d45e6e0ad1
engine: platform: sdl: SetCursorType shouldn't know about current game state
2 years ago
Alibek Omarov
2d2523df4a
engine: client: touch: generalise touch emulation code
...
* fix doubleclicks and wheels in VGUI
2 years ago