Alibek Omarov
|
08c2632c14
|
engine: platform: nswitch: export _Unwind_GetIPInfo as required by cs16-client
|
2024-12-29 09:11:21 +03:00 |
|
Alibek Omarov
|
687c9b004f
|
engine: platform: sdl: set directsound as default audio driver on Windows, due to incompatibilities with mods
|
2024-12-29 02:01:23 +03:00 |
|
Alibek Omarov
|
a5d78ecfd7
|
engine: be more verbose on why the engine is going to be shut down
|
2024-12-27 18:30:46 +03:00 |
|
Alibek Omarov
|
3576e474e6
|
engine: get rid of SendKeyEvents function, it only listened for WM_QUIT on Windows and we don't use that with SDL
|
2024-12-27 18:30:01 +03:00 |
|
Alibek Omarov
|
4f98187e9a
|
engine: move select-based stdin input function to platform/posix
|
2024-12-24 11:13:05 +03:00 |
|
Alibek Omarov
|
cfebee6ea8
|
engine: split crashhandler to win32 and posix versions
|
2024-12-24 10:37:49 +03:00 |
|
Alibek Omarov
|
bd0d6644e0
|
engine: move Sys_SendKeyEvents to platform/win32
|
2024-12-24 09:59:47 +03:00 |
|
Alibek Omarov
|
614b9113ad
|
engine: platform: as an exception, allow calling direct platform-specific implementations of Platform_Sleep to make them inlined
|
2024-12-04 18:37:55 +03:00 |
|
Alibek Omarov
|
e14cd758ad
|
engine: turn Platform_Sleep into an inline function that directly calls platform-specific delay functions
|
2024-12-04 18:32:03 +03:00 |
|
Alibek Omarov
|
342d61b283
|
engine: platform: sdl: always call SDL_Quit in Platform_Shutdown
|
2024-12-04 16:14:56 +03:00 |
|
Alibek Omarov
|
0db2597d1e
|
engine: platform: psvita: try to explicitly export strtok() function
|
2024-11-21 05:31:43 +03:00 |
|
Alibek Omarov
|
ac6dc2c2d3
|
engine: platform: directly call __NR_gettid syscall for compatibility with older systems
|
2024-11-18 10:42:39 +03:00 |
|
Alibek Omarov
|
6ae62e3bb1
|
engine: platform: posix: include sys/filio.h to have FIONBIO declaration for networking code
|
2024-11-07 07:42:07 +03:00 |
|
Alibek Omarov
|
3e7e81e078
|
engine: platform: android: sprinkle it with more const modifiers
|
2024-10-28 14:32:57 +03:00 |
|
Alibek Omarov
|
224e42d345
|
engine: platform: android: make dlsym-weak C++ again (because of struct soinfo definition). Reformat linker.h file as well.
|
2024-10-24 17:54:09 +03:00 |
|
Alibek Omarov
|
128a1f59a9
|
engine: cleanup XASH_64BIT usage. Always use it from build.h
|
2024-10-24 16:39:09 +03:00 |
|
Alibek Omarov
|
a9fdae28b2
|
engine: platform: android: reformat dlsym-weak and make it C only
|
2024-10-24 02:04:52 +03:00 |
|
SNMetamorph
|
50c805826f
|
engine: implemented handling SIGTERM signal for proper stopping dedicated server
|
2024-10-08 01:05:26 +03:00 |
|
Alibek Omarov
|
ddd8de888f
|
engine: add macro XASH_NO_IPV6_RESOLVE to completely skip resolving addresses with family AF_INET6
|
2024-10-02 23:21:25 +03:00 |
|
Alibek Omarov
|
64dbccb9bd
|
engine: platform: sdl: do not call SDL_VideoQuit in R_Free_Video, as one failed renderer will shut down whole SDL video subsystem
|
2024-08-21 12:18:06 +03:00 |
|
Alibek Omarov
|
70e11cc309
|
engine: platform: sdl: borderless fullscreen windows don't need to restore desktop resolution
* This fixes the case when we switch from windowed to borderless, minimize the window
and restore makes it lose it's fullscreen state
|
2024-08-16 12:25:08 +03:00 |
|
Alibek Omarov
|
7619824d80
|
engine: platform: sdl: return correct value from SW_CreateBuffer on success
|
2024-08-16 11:36:36 +03:00 |
|
Alibek Omarov
|
f3d181b5ee
|
engine: platform: psvita: explicitly export __aeabi_ul2f
|
2024-08-16 02:22:25 +03:00 |
|
Alibek Omarov
|
340871e03a
|
engine: platform: sdl: correct the message about glblit in ref_soft
|
2024-08-11 18:32:10 +03:00 |
|
Alibek Omarov
|
2c23a1e0a0
|
engine: platform: sdl: fix going fullscreen after manually changing VIDRESTART cvars (like width and height)
|
2024-07-31 00:53:29 +03:00 |
|
Alibek Omarov
|
eabed60e56
|
engine: automatically turn-on touch emulation while editing touch from menu
|
2024-07-29 05:06:10 +03:00 |
|
Alibek Omarov
|
024a335505
|
engine: move wcon definitions to platform.h
|
2024-07-21 02:06:51 +03:00 |
|
Alibek Omarov
|
1c84a5c8ad
|
engine: platform: sdl: disable restoring desktop resolution for mobile platforms, as it leads to unwanted window minimize (which correctly implemented by SDL by the way)
|
2024-07-09 19:52:11 +03:00 |
|
Alibek Omarov
|
6728b843f7
|
engine: platform: android: use RTLD_NOW in dlopen()
We basically use RTLD_NOW everywhere in the engine these days,
only platform code is behind that
|
2024-07-09 16:50:37 +03:00 |
|
Alibek Omarov
|
a1191eb4ab
|
engine: platform: win32: request error string in wide chars and then transform it to UTF-8 using our utflib
|
2024-07-09 08:24:58 +03:00 |
|
Alibek Omarov
|
d56e53a347
|
Replace hardcoded functions names by __func__ macro
* while we're here, fix some possible bugs
* and fix -Wformat=2
s/__FUNCTION__/__func__/g
awawawa
|
2024-06-19 06:53:42 +03:00 |
|
Alibek Omarov
|
f7e12586cf
|
engine: platform: sdl: we must notify the engine about the unpressed button when text input was activated
|
2024-06-15 08:44:19 +03:00 |
|
Alibek Omarov
|
4163d3655a
|
engine: reformat and reorder host_parm_s struct, remove now unused host.daemonize and host.enabledll
|
2024-06-12 11:16:26 +03:00 |
|
Alibek Omarov
|
739592e50d
|
engine: host: refactoring, reduce usage of global variables a bit
|
2024-06-12 10:20:09 +03:00 |
|
Alibek Omarov
|
a1dceacc8f
|
engine: remove unused host.hMutex and host.hInst
|
2024-06-12 10:20:09 +03:00 |
|
Alibek Omarov
|
f86d84daed
|
engine: platform: sdl: initialize window name string when building with old SDL
|
2024-06-09 09:16:45 +03:00 |
|
Alibek Omarov
|
32d4bdb80f
|
engine: fix UTF-8 sequence input
Fixes: 2e0fc3e4c1 ("engine: client: do not repeatedly check cl_charset value, use generic Con_UtfProcessChar")
|
2024-06-07 22:16:32 +03:00 |
|
Alibek Omarov
|
2e0fc3e4c1
|
engine: client: do not repeatedly check cl_charset value, use generic Con_UtfProcessChar
|
2024-05-15 05:06:57 +03:00 |
|
Alibek Omarov
|
a6c2cfe89b
|
engine: avoid constants in Q_strncpy third argument, where possible
|
2024-05-06 14:27:26 +03:00 |
|
Alibek Omarov
|
e18e9ae2ea
|
engine: platform: sdl: ignore keyboard events if text mode is active
|
2024-05-04 11:05:17 +03:00 |
|
Alibek Omarov
|
d8910b0e38
|
engine: platform: linux: do not search sd_notify if NOTIFY_SOCKET isn't set
|
2024-03-19 21:23:53 +03:00 |
|
Alibek Omarov
|
fe5944720b
|
engine: use common strings to name the engine, makes branding easier for custom forks
|
2024-03-19 21:11:10 +03:00 |
|
Alibek Omarov
|
7584bbe47e
|
engine: client: fix sound mute when losing focus
|
2024-03-03 19:00:50 +03:00 |
|
Alibek Omarov
|
24f23908be
|
engine: platform: stub Sys_DebuggerPresent on unsupported platforms
|
2024-02-27 05:17:01 +03:00 |
|
Alibek Omarov
|
43bd73f37b
|
engine: platform: that's why commit --amend and/or rebase --interactive your fixes in your patches before proposing them
|
2024-02-27 04:59:54 +03:00 |
|
mittorn
|
bb2753cbfc
|
engine/system: add asm-based raise implementation for arm and aarch64, making Sys_DebugBreak more relevant, use tgkill instead of kill
|
2024-02-27 04:54:55 +03:00 |
|
mittorn
|
e4edd2da45
|
platform/posix: check for non-zero dladdr ret
|
2024-02-27 04:04:54 +03:00 |
|
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 |
|
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>
|
2024-02-23 20:54:17 +03:00 |
|
Alibek Omarov
|
e62ab51842
|
engine: platforms: android: platforms aren't expected to get NULL or zero sized native object names anymore
|
2024-02-19 17:49:37 +03:00 |
|