Steven Linn
|
bf5821e4ea
|
engine: fix vid_maximized always set to true when switching to windowed mode
|
2025-11-30 18:11:56 +05:00 |
|
Alibek Omarov
|
d5347a82cb
|
engine: platform: get rid of the mouse pos scaling hack, this is not how highdpi issues should get resolved
|
2025-11-27 19:34:51 +05:00 |
|
Alibek Omarov
|
75339193d7
|
engine: client: remove vid_highdpi cvar, always allow high dpi mode
|
2025-11-25 15:06:46 +05:00 |
|
Alibek Omarov
|
07da038b4b
|
engine: platform: sdl2: move dpi awareness hint set before SDL_Init, as documentation says it needs to be set before video init
|
2025-11-23 14:54:15 +05:00 |
|
Alibek Omarov
|
a2b597577f
|
engine: platform: sdl2: do not hide X11 hints under any platform macro
|
2025-11-23 14:50:51 +05:00 |
|
Alibek Omarov
|
9cf2d9fa86
|
engine: platform: sdl2: set up DPI awawareness on Windows through SDL hint
|
2025-11-23 14:50:12 +05:00 |
|
Alibek Omarov
|
d45ced5c66
|
engine: platform: sdl2: when closest video mode isn't found, revert to desktop video mode
|
2025-11-23 12:50:54 +05:00 |
|
Xav101
|
7236094421
|
platform: add missing include
|
2025-11-17 03:08:38 +08:00 |
|
Xav101
|
c85c6f80e0
|
platform: fix type in formatter string
|
2025-11-17 03:08:38 +08:00 |
|
ksagameng2
|
a9bf700da4
|
Restore iOS build support (#2352)
* initial commit
* initial commit
* add port files
* ios: Changes to allow creating app bundle without xcode projects
* ios: Added mic perms request
* ios: Very basic app bundle creation script
* ios: Fix -log parameter
* ios: Sdk no longer hardcoded and option to compile for simulator
* general: Update gitignore
* ios: Enable game mode for the app
* ios: Compile instructions and updated ipa creation script
* ios: Code cleanup
* ios: Remove dylibs
* general: Remove extra submodules
* ios: Remove dylibs again
* ios: Implement suggested changes
* ios: Fix building as dylib instead of binary
* ios: Scripts for building mods
* ios: Move 'ios' contents to engine/platform/ios/bundle and modify scripts
* ios: Update createipa.sh to use waf install
* ios: Clean script and updated README
* general: Fix spelling mistake and outdated instructions
* ios: Clean up in xcompile.py
* ios: Fix createipa.sh generating an invalid ipa
* ios: Temporary fix for launch dialog textfield colors in dark mode
|
2025-11-01 18:32:00 +05:00 |
|
lewa_j
|
5c0cc771bc
|
engine: win32: fix msvc warning "'LPSTR' differs in levels of indirection from 'string (*)'" with GetConsoleTitleA
|
2025-10-11 20:22:37 +03:00 |
|
lewa_j
|
37e9ac453b
|
win32: engine: common: client: filesystem: Fix windows build with -Werror=implicit-function-declaration
|
2025-10-12 00:21:00 +08:00 |
|
Alibek Omarov
|
8d7ee70e7d
|
engine: platform: android: include dlfcn.h for Android's LoadLibrary implementation
|
2025-10-08 05:27:53 +05:00 |
|
Alibek Omarov
|
0c08f113ea
|
engine: platform: sdl2: add vrtld.h include for GL_GetProcAddress implementation
|
2025-10-08 05:24:59 +05:00 |
|
Alibek Omarov
|
8022c4826f
|
engine: platform: sdl2: remove legacy eglGetProcAddress hack for old SDL2 versions
|
2025-10-08 05:24:16 +05:00 |
|
Alibek Omarov
|
3d132e0e83
|
common: port: move filesystem related macros to filesystem module, try to include less globally for faster builds
|
2025-10-08 05:03:29 +05:00 |
|
Alibek Omarov
|
a1d3b7d65f
|
Remove STDINT_H macro, use stdint.h directly. Compilers and platforms that do not have this header shall provide them on their own.
|
2025-10-08 03:53:37 +05:00 |
|
Alibek Omarov
|
e8d8d90b39
|
engine: ref_api: fix typo in the comment (thanks @lewa_j)
|
2025-10-02 19:21:39 +05:00 |
|
Alibek Omarov
|
d9567ff3f9
|
engine: cleanup unused glw_state fields, as they only used in GL renderer
|
2025-10-02 18:07:39 +05:00 |
|
Alibek Omarov
|
5015c90fd0
|
engine: platform: posix: try to be more safe in crash handler, no need to fflush stderr, no need to call Msg if we already writing to log file directly, preserve replaced signal actions
|
2025-10-02 03:49:31 +08:00 |
|
Alibek Omarov
|
e830472010
|
engine: move update page checks from platform-specific ShellExecute implementation to gameui call (platform_update_page isn't fully used yet, might get on Android some time later)
|
2025-10-02 03:16:07 +08:00 |
|
Alibek Omarov
|
04f807ef2f
|
engine: platform: android: tell JVM that we don't need these strings anymore, it wouldn't hurt
|
2025-10-02 03:15:19 +08:00 |
|
Alibek Omarov
|
52978df139
|
engine: platform: posix: replace Sys_FindExecutable by standard library execvp
|
2025-09-29 00:35:28 +05:00 |
|
Alibek Omarov
|
e83ab95279
|
engine: gethostbyname() is deprecated, remove it and always prefer getaddrinfo
|
2025-09-29 00:09:56 +05:00 |
|
Alibek Omarov
|
cee1e74872
|
engine: drop dllemu glue, as it won't build with current engine anyway and not supported by it's author :(
|
2025-09-29 00:01:59 +05:00 |
|
Alibek Omarov
|
598d756af1
|
engine: platform: sdl2: hide SDL log messages under -dev 2, as they're often misleading for everybody except engine developers
|
2025-09-05 18:20:12 +05:00 |
|
Alibek Omarov
|
2ad482ee2f
|
engine: platform: android: add some verbosity when successfully loading libraries on Android (hidden under -dev 2)
|
2025-08-11 18:36:44 +05:00 |
|
Alibek Omarov
|
b22186b2f1
|
engine: platform: android: strip library path when loading libraries from APK
|
2025-08-03 19:01:56 +05:00 |
|
Alibek Omarov
|
f1251e8767
|
engine: platform: android: do not automatically prepend lib prefix
|
2025-08-03 19:01:56 +05:00 |
|
Alibek Omarov
|
6aecc45ce1
|
engine: platform: include errno.h globally, it's defined by the C standard, so should be available everywhere
|
2025-08-03 10:27:36 +05:00 |
|
Alibek Omarov
|
56db9f73d8
|
engine: platform: ignore nanosleep EINTR error, otherwise sleeptime will never use nanosleep again
|
2025-08-03 10:18:29 +05:00 |
|
lewa_j
|
250d425b34
|
engine: platform: sdl2: use -egl to force EGL on windows, same as on other platforms
|
2025-08-03 08:21:14 +05:00 |
|
lewa_j
|
99140fc7df
|
engine: platform: sdl2: Allow SDL to use wgl to create gles context, if it can
|
2025-08-03 08:21:14 +05:00 |
|
lewa_j
|
b14a1b664f
|
engine: platform: sdl2: Fix uninitialized read introduces in 7fda58561f
|
2025-08-02 17:59:26 +03:00 |
|
Alibek Omarov
|
cb4540a877
|
engine: platform: android: call SDL_OpenURL only if XASH_SDL was defined during build. Remove version check, as Android always builds with latest SDL version.
|
2025-07-30 23:33:08 +05:00 |
|
Alibek Omarov
|
25e206f5ae
|
engine: platform: posix: remove old crashhandler as libbacktrace supports much more targets, remove duplicated code around execinfo and libbacktrace-based crashhandlers
Update copyright headers.
|
2025-07-29 08:14:06 +05:00 |
|
Sergey Degtyar
|
50a8f23b43
|
engine: sdl: always reset device descriptors on shutdown
|
2025-06-26 06:57:37 +03:00 |
|
Alibek Omarov
|
69e38c963d
|
engine: platform: remove Emscripten-specific library loading, it's not needed anymore
|
2025-06-15 12:51:57 +05:00 |
|
Alibek Omarov
|
c90d110096
|
engine: platform: sdl2: assign K_AUX32 and K_AUX31 to volume buttons to match old engine behavior on Android
|
2025-06-07 11:21:32 +05:00 |
|
Alibek Omarov
|
694472f4c1
|
engine: platform: allow querying window type through R_GetWindowHandle
|
2025-05-24 22:03:43 +05:00 |
|
TheEVolk
|
735f4e2bcb
|
ref_api: make handle as argument and use type request input
|
2025-05-24 20:47:28 +05:00 |
|
TheEVolk
|
9ebeb520fa
|
engine: platform: refactor R_GetWindowHandle to return a struct instead of a pointer
|
2025-05-24 20:47:28 +05:00 |
|
TheEVolk
|
4ce03662d9
|
ref_api: R_GetWindowHandle method
|
2025-05-24 20:47:28 +05:00 |
|
Alibek Omarov
|
37d6d75e69
|
engine: platform: sdl3: add system and input SDL3 platform implementation
|
2025-05-11 17:35:13 +03:00 |
|
Alibek Omarov
|
ffc8bf30d7
|
engine: platform: make most input platform functions optional, patch fbdev/evdev to compile
|
2025-05-11 16:14:36 +03:00 |
|
Alibek Omarov
|
8209a8a681
|
engine: platform: move mouse grab enabling and querying functions to SDL platform code
|
2025-05-11 16:09:57 +03:00 |
|
Alibek Omarov
|
6ccafbe297
|
engine: platform: move Host_Minimize_f into platform code
|
2025-05-11 15:24:52 +03:00 |
|
Alibek Omarov
|
7fda58561f
|
engine: platform: sdl2: remove SDL1.2 code, as it's now moved into it's own separate directory
|
2025-05-05 05:56:23 +03:00 |
|
Alibek Omarov
|
0cbb62b329
|
engine: platform: try to restore SDL1.2 support (only ref_soft is tested, ref_gl doesn't work)
|
2025-05-05 05:44:31 +03:00 |
|
Alibek Omarov
|
aa2e5eb3cc
|
engine: platform: move SDL2 support code into sdl2 subdirectory. Change XASH_SDL macro value from 12 to 1 for SDL1.2
|
2025-05-05 05:15:10 +03:00 |
|