Alibek Omarov
a5fb74eb8f
engine: use XASH_OSX macro
2026-08-01 16:12:04 +05:00
Alibek Omarov
31d44f85a7
engine: implement reading hardware serial ID on Mac, implement reading MAC addresses on *BSDs, refactoring
2026-08-01 16:12:04 +05:00
Terence Noone
7fbd461f83
engine: Format code
...
Ran uncrustify on each file
2026-07-24 14:23:39 +05:00
Terence Noone
eb0ff8e631
engine: Implement SDL3 resizing/mode switching
...
Adds the ability to switch to fullscreen, windowed, and borderless, as
well as changing fullscreen mode.
2026-07-24 14:23:39 +05:00
Terence Noone
f50e61403f
engine: Fix SDL3 support
...
Gets SDL3 building again on macOS. The game is able to boot to the main
menu and play with hlsdk-portable and HL assets. Some bugs when changing
video modes.
2026-07-24 14:23:39 +05:00
ksagameng
f0ea3a194a
platform: ios: Remake launch dialog using UIAlertController
2026-07-15 15:16:14 +05:00
Alibek Omarov
376817478d
engine: platform: sdl2: add expiremntal flag -nosteaminput that would remove set by Steam SDL environment variables and let us use gamepad directly
2026-06-01 18:55:38 +05:00
Alibek Omarov
5ef6123f03
engine: append log to the crash log on Android
2026-05-22 18:47:31 +05:00
Alibek Omarov
fca347dd00
engine: platform: psvita: add Atlas_AllocBlock to the vrtld export list temporarily
2026-05-21 03:07:15 +05:00
Alibek Omarov
80ec1c83f1
engine: platform: psvita: add dummy Atlas_AllocBlock call
2026-05-21 01:04:12 +05:00
Alibek Omarov
64be4251c8
engine: use designated initializers where possible
2026-05-20 23:24:36 +05:00
Alibek Omarov
3c1cf81c2d
engine: platform: refactor variable declarations
2026-05-20 23:24:36 +05:00
Alibek Omarov
ff8efebba2
engine: fix more warnings
2026-05-13 10:46:44 +05:00
Alibek Omarov
dccd076b92
engine: platform: sdl2: cleanup unused variables
2026-05-13 10:09:49 +05:00
Alibek Omarov
881f0c5ca7
engine: show the missing library warning message on Android, but only if APK doesn't try to override it, skip client for now
2026-05-09 16:57:21 +05:00
Alibek Omarov
262f32b002
engine: platform: android: implement library loading from VFS paths on Android
2026-05-09 16:57:21 +05:00
Alibek Omarov
52953a7647
engine: platform: posix: drop crash info into crash.log on Android
2026-05-07 15:48:34 +05:00
Alibek Omarov
c8cc953d48
engine: platform: posix: make crash message a global because the stack could be limited when we hit crash handler
2026-05-07 13:45:39 +05:00
Alibek Omarov
22ecec095e
engine: platform: sdl: request AUDIO_S16SYS to make sound output in native endian
2026-04-26 04:12:52 +05:00
Alibek Omarov
ab1eaed0a5
engine: platform: posix: remove Sys_Crash and Sys_CrashDetailsLibbacktrace from the output by matching function name only once
2026-04-26 04:12:52 +05:00
Alibek Omarov
76a01d0855
engine: platform: posix: remove extra newline from libbacktrace output
2026-04-26 04:12:52 +05:00
Alibek Omarov
b00679ee30
engine: make Sys_LogFileNo return -1 when log file isn't opened
2026-04-26 04:12:52 +05:00
Alibek Omarov
d4f8543556
engine: platform: posix: better libbacktrace error output
2026-04-26 04:12:52 +05:00
Alibek Omarov
371d619685
engine: platform: posix: remove dead ucontext.h include
2026-04-24 06:58:53 +05:00
Владислав Сухов
dd1cb04cb7
engine: client: sdl: add support for built-in device gyroscope using SDL2 Sensor API (Android/iOS)
2026-04-16 00:15:35 +05:00
ksagameng
a2514b6916
platform: ios: Remove FTP server as latest apple clang broke it
2026-04-09 10:25:18 +05:00
ksagameng
a82221e3df
engine: platform: No more lib_ios, use FS_FindLibaray to load dylibs instead
2026-04-09 10:25:18 +05:00
Alibek Omarov
ffa53f14e5
engine: platform: sdl2: implement continuous background recalibration for gyroscope
2026-04-08 11:31:01 +05:00
Alibek Omarov
2d241ed96b
engine: platform: sdl2: fix calibraion never ending if it was failed, lower sample count requirements to 50%, fix gyro when using PS5 controller over Bluetooth
2026-04-08 10:22:12 +05:00
Alibek Omarov
ba4bce06b1
engine: platform: sdl2: swap pitch and yaw gamepads axis, following the fix in 626a7eb9108376a68c2fd140e1b5942c64ea1e66
2026-04-08 10:22:12 +05:00
Alibek Omarov
729c985eaf
engine: client: consolidate dma, s_listener and bunch of separate sound globals into one snd global struct. Replace bit fields with bit flags in preparation for SoundAPI
...
Remove s_combine_sounds, it never worked great and was disabled by default.
2026-04-06 06:00:48 +05:00
Alibek Omarov
cb4a03ded2
engine: platform: add Platform_LibraryExists and implement it for iOS and generally for everything else with FS_FileExists
2026-04-04 17:37:48 +05:00
Alibek Omarov
8e450d869b
engine: common: add host.default_gamedir containing gamedir passed to us from game launcher
2026-04-03 04:09:25 +05:00
Alibek Omarov
5eb43505cb
engine: platform: try to fix build on 32-bit arm in debug builds (r7 is used by frame pointer, so we push it into stack before using for a syscall)
2026-04-02 02:02:59 +05:00
Alibek Omarov
d8d1ebf23c
engine: cleanup unused functions
2026-03-26 02:24:30 +05:00
ksagameng
11c7c1b77d
scripts: ios: enable decay build in buildallmods.sh
2026-03-19 22:36:51 +05:00
ksagameng
59dbe1d01e
ios: Add entitlements.plist and codesign the generated ipa with said plist in createipa.sh
2026-03-19 22:36:51 +05:00
ksagameng
9f71255d6f
engine: ios: Fixed code for running multiple client libraries bundled in the same ipa
2026-03-19 22:36:51 +05:00
Alibek Omarov
d8bab034c2
engine: client: extend the supported key list for international keyboards, small refactoring of old smelly code
2026-03-19 15:41:12 +05:00
Alibek Omarov
b2886dd2e9
engine: platform: remove support for glibc's backtrace(), as it's unused
2026-03-05 02:56:38 +05:00
Alibek Omarov
76363a555c
engine: platform: replace COM_CheckString and COM_CheckStringEmpty by COM_StringEmptyOrNULL and COM_StringEmpty
2026-02-21 01:20:34 +05:00
Alibek Omarov
a7f154d05a
engine: platform: move SDL hints from android code to main SDL code
2026-02-05 08:45:23 +05:00
Alibek Omarov
cca6f8da2d
engine: platform: sdl2: more robust error handling when creating a window and opengl context
2026-01-31 14:13:37 +05:00
Alibek Omarov
456ad17d05
engine: platform: sdl2: make fake fullscreen for windowed mode. Simplify the code by first creating window in windowed mode and then switching to fullscreen if requested
2026-01-30 00:16:19 +05:00
Alibek Omarov
5ee21ca6ab
engine: platform: sdl2: remove window_x/ypos cvars
2026-01-30 00:16:19 +05:00
Alibek Omarov
cc9e3a5a81
engine: misc build fixes for clang with mingw
2026-01-24 07:21:30 +05:00
Alibek Omarov
56e5a95cb6
engine: platform: sdl2: add command vid_info to dump current SDL window state
2026-01-21 01:58:38 +05:00
Alibek Omarov
4bb547fdc7
engine: platform: sdl: revert disabled NET_WM_BYPASS_COMPOSITOR
2026-01-13 08:35:46 +05:00
Steven Linn
c865999302
engine: fix window position drift on X11 with window decorations
2026-01-13 06:31:29 +05:00
Steven Linn
cb69a52d65
engine: fix black fullscreen flash on startup in windowed mode
2026-01-13 06:31:29 +05:00