Alibek Omarov
a5f0ca38f1
engine: remove inclusion of SDL headers globally, helps to cleanup code before SDL3 migration
2025-02-28 13:14:47 +03:00
Tom Kidd
3ca413dbab
Fixed path calc for extras on Mac
2025-01-26 22:25:08 +03:00
Alibek Omarov
bccd3f2271
engine: pass launcher's default game directory all the way down to Platform_Init, so we mount correct extras.pk3 on Mac
2025-01-23 10:22:53 +03:00
Tom Kidd
7bbc3e8238
Made modifications for Mac App Bundle
...
- Looks for game data in SDL pref path (Application Support)
- Sets XASH3D_EXTRAS_PAK1 to SDL base path (Resources dir in App Bundle
- Added option to force search for SDL dylib via pkgconfig on Darwin instead of Framework (option for Mac Source Ports build process)
2025-01-23 10:15:47 +03:00
Alibek Omarov
375998dffb
Cleanup xash3d_types.h from engine-specific macros and types
2025-01-22 15:10:18 +03:00
Alibek Omarov
ceb603488a
engine: platform: sdl: set up our custom log output function to catch all SDL errors in engine log file
2025-01-08 10:10:45 +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
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
2023-06-16 07:32:19 +03:00
Alibek Omarov
1fdf6180e6
engine: platform: sdl: merge required SDL2 platform changes for new Android port from @Velaron's tree
2023-06-05 21:51:59 +03:00
SNMetamorph
f9205825b6
engine: platform: sdl: fixed psvita & nswitch platform initializing
2023-03-12 16:09:20 +03:00
fgsfds
7424b29e56
engine: initial psvita build support
2023-03-11 07:09:14 +03:00
Alibek Omarov
d6d98bd297
engine: platform: sdl: minor style changes
2023-02-09 05:59:34 +03:00
fgsfds
25a1cb8ce7
Nintendo Switch support (again)
2023-02-05 02:09:32 +01:00
Alibek Omarov
13f93412cd
engine: platform: sdl: forgot to add an include, sorry\!
2022-06-02 03:01:58 +03:00
Alibek Omarov
d1de9e2802
engine: platform: sdl: proper cursors allocation and free
2022-05-30 03:33:03 +03:00
lewa_j
63c4b2748c
platform: win32: sdl: Fix zombie processes after early Sys_Error on windows+sdl
2021-01-16 01:13:57 +03:00
mittorn
02c68c3a70
platform/sdl: add missing Platform_Shutdown
2020-02-08 23:48:52 +07:00
mittorn
70cc52e203
posix/sdl: fix build
2020-02-08 23:38:19 +07:00
mittorn
3e3aff040e
platform: add Platfrom_Init, Platform_Shutdown, Platform_MouseMove move platform-specific code from host.c
2020-02-08 23:15:40 +07:00
Alibek Omarov
9d826016b0
engine: finish sdl1.2 port
2019-11-02 08:56:07 +03:00
Alibek Omarov
1a700fd06b
platform: move MSGBOX implementation to platform backends
2019-05-01 19:44:48 +03:00
Alibek Omarov
7c772d6bfd
engine: rework timer stuff, move to platform. Move debugger present checks to platform
2018-11-16 16:32:16 +03:00