Alibek Omarov
43bd73f37b
engine: platform: that's why commit --amend and/or rebase --interactive your fixes in your patches before proposing them
10 months ago
mittorn
bb2753cbfc
engine/system: add asm-based raise implementation for arm and aarch64, making Sys_DebugBreak more relevant, use tgkill instead of kill
10 months ago
mittorn
e4edd2da45
platform/posix: check for non-zero dladdr ret
10 months ago
Alibek Omarov
e95a2da6d0
engine: platform: sdl: slightly rework previous patch to not call SDL each frame and check for NULL pointers
10 months ago
Sheridan Kane Rathbun
98d88266a6
engine: platform: sdl: fix incorrect mouse cursor positioning on high-dpi displays ( #1623 )
...
Signed-off-by: SheridanR <sheridan.rathbun@gmail.com>
10 months ago
Alibek Omarov
e62ab51842
engine: platforms: android: platforms aren't expected to get NULL or zero sized native object names anymore
10 months ago
Bohdan Shulyar
f1bc9b87b1
platform: android: port to SDL
10 months ago
Alibek Omarov
a9bddaac64
engine: platform: win32: do not call filesystem functions if filesystem_stdio was failed to load
10 months ago
Alibek Omarov
a7c422fde6
engine: platform: make Platform_SetTimer static inline to not fix unused-function
11 months ago
Alibek Omarov
75d476f9df
engine: fix -Wmissing-prototypes
11 months ago
Alibek Omarov
7d464df107
engine: platform: linux: define portability macro for sigevent (oh, glibc...)
11 months ago
Alibek Omarov
296f89acf9
engine: platform: linux: fix build with musl (and probably other libcs) using portability macro
11 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
Ruslan Piasetskyi
15bc09b06b
engine: platform: linux: Add gettid definition for old systems
...
The gettid() library support was added in glibc 2.30. Earlier glibc
versions did not provide a wrapper for this system call, necessitating
the use of syscall(2).
Also, put _GNU_SOURCE definition in the guard to avoid the warning:
../engine/platform/linux/sys_linux.c:16: warning: "_GNU_SOURCE" redefined
#define _GNU_SOURCE
<command-line>: note: this is the location of the previous definition
12 months ago
Alibek Omarov
ae9c1d9f18
engine: remove single-binary option. Now platforms that don't need external launcher, shall set env.DISABLE_LAUNCHER
1 year ago
Alibek Omarov
778b8ede58
engine: platform: linux: add forgotten _GNU_SOURCE at the top of the file to enable gettid extension
1 year ago
Alibek Omarov
f8a1a2ed71
engine: platform: linux: add missing math.h include
1 year ago
mittorn
b4a7c266b5
platform/linux: implement debug timers and cl_maxframetime to catch very long frames on debugger
1 year ago
Alibek Omarov
9ec1e259b4
engine: platform: sdl: unused variable cleanup
1 year ago
Velaron
5c90e716cb
engine: platform: android: refactoring
1 year ago
Alibek Omarov
71b06801ef
engine: platform: android: remove dead code
1 year ago
Alibek Omarov
597429cf41
engine, filesystem: unify GetNativeObject between all the APIs. Allow getting filesystem APIs through GetNativeObject
1 year ago
Alibek Omarov
ce39255ef0
engine: host: set rootdir on Android SDL port
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
b58fbc0c94
engine: platform: linux: fix according to platform.h changes
1 year ago
Alibek Omarov
46f38c84b5
engine: platform: dos: fix according to platform.h changes
1 year ago
Alibek Omarov
99f290b622
engine: platform: sdl: support borderless mode, slight refactoring
1 year ago
Alibek Omarov
680ecfefab
engine: platform: pass desired window mode through R_ChangeDisplaySettings
1 year ago
Alibek Omarov
cb19fa2f6d
engine: client: restore window maximized state after engine restart
1 year ago
Alibek Omarov
75e5da071c
engine: platform: win32: fix calculating RVAs for LLP64
1 year ago
Alibek Omarov
7e05562c14
engine: platform: sdl: check SDL version in Platform_Vibrate
2 years ago
Alibek Omarov
03a85e0caa
engine: platform: psvita: add unused data to workaround bug in vita-elf-create (thanks @fgsfdsfgs )
2 years ago
Alibek Omarov
16c87ae2c9
engine: platform: reorganize UpdateStatusLine, make it shared but implemented only if platform has SetStatus. Implement SetStatus for systemd/Linux
2 years 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
2 years ago
Alibek Omarov
b84aba68fa
engine: platform: implement generic GetNativeObject for POSIX systems without SDL2
2 years 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
d2237fa144
engine: platform: android: merge new SDL2 based Android port from @Velaron's tree
2 years ago
Alibek Omarov
ef663a8790
engine: partially remove legacy Android port, in preparation of new port merge
2 years ago
Alibek Omarov
ba039b8e71
engine: drop XASH_DYNAMIC_DLADDR
2 years ago
Alibek Omarov
a23e17c6d7
engine: platform: sdl: set QtWayland hints
2 years ago
Alibek Omarov
bd52a9ec2d
engine: platform: linux: move evdev_keydebug cvar to static allocation
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