Commit Graph
85 Commits
Author SHA1 Message Date
mittornandAlibek Omarov 42958bc746 platform/android_nosdl: use FS_GetDiskPath for icon path 2024-02-27 05:01:13 +03:00
mittornandAlibek Omarov bd5309b018 platform/android_nosdl: fix forgotten static 2024-02-27 05:01:13 +03:00
mittornandAlibek Omarov 26cbb1d6bf platform/android_nosdl: use ARRAYSIZE 2024-02-27 05:01:13 +03:00
mittornandAlibek Omarov d6cfc65ac0 platform/android_nosdl: remove dynamic cvars 2024-02-27 05:01:13 +03:00
mittornandAlibek Omarov be9dda2a56 platform/android_nosdl: remove NULL native object case 2024-02-27 05:01:13 +03:00
mittornandAlibek Omarov dbc54fb522 platform/android_nosdl: reduce unneeded logging 2024-02-27 05:01:13 +03:00
mittornandAlibek Omarov ec92d05930 Fix wrong function name and macro on ARM target 2024-02-27 05:01:13 +03:00
mittornandAlibek Omarov 892c735c86 Replace harmless single-line pair assigns by multi-line, need more newlines! 2024-02-27 05:01:13 +03:00
mittornandAlibek Omarov 4953656ee0 platform/android/dlsym-weak: do not call LoadLibrary to find server library instance 2024-02-27 05:01:13 +03:00
mittornandAlibek Omarov 96c367973a platform/android/dlsym-weak: fix code style 2024-02-27 05:01:13 +03:00
mittornandAlibek Omarov a5f3fce665 platform/android-nosdl: add workarounds for yama bullshit 2024-02-27 05:01:13 +03:00
mittornandAlibek Omarov 91d9ca7810 platform/android-nosdl: restore SIGTRAP handler 2024-02-27 05:01:13 +03:00
mittornandAlibek Omarov 0901fd94e2 platform/android-nosdl: optionally wait gdb in nativeInit, enable dumpable flag early as possible 2024-02-27 05:01:13 +03:00
mittornandAlibek Omarov 0d18753adb platform/android-nosdl: add Platform_Shutdown for preShutdown callback 2024-02-27 05:01:13 +03:00
mittornandAlibek Omarov 7841382fef platform/android-nosdl: fix declaration style (werror) 2024-02-27 05:01:13 +03:00
mittornandAlibek Omarov e21d8df1fe platform/android-nosdl: Move all bindings to XashBindings class, workaround broken messageBox from crashhandler 2024-02-27 05:01:13 +03:00
mittornandAlibek Omarov 16aa2e919f vid/android: Remove pixelFormat selection code, it only used to set desktop bits per pixel 2024-02-27 05:01:13 +03:00
mittornandAlibek Omarov bb55de5963 platform/android: prevent rendering without context, fix android_sleep using surfaceless mode or dummy surface if possible 2024-02-27 05:01:13 +03:00
mittornandAlibek Omarov 44b1a8e863 platform/android: implement dumb dladdr fallback (only searches in server library) 2024-02-27 05:01:13 +03:00
mittornandAlibek Omarov 06c6371e69 platform/eglutil: prevent rendering while no surface 2024-02-27 05:01:13 +03:00
mittornandAlibek Omarov 7b4fd3bcad platform/android: debug surface enabling/disabling, add notification for event_set_pause, fix wrong host.status, prevent rendering while no surface 2024-02-27 05:01:13 +03:00
mittornandAlibek Omarov ea35863c26 platform/android: disable swbuffer resize hack, wrong buffer size really is an error that should be fixed on Activity side, not here 2024-02-27 05:01:13 +03:00
mittornandAlibek Omarov c2e14eb3a3 platform/android: rewrite egl part to separate not android-specific file 2024-02-27 05:01:13 +03:00
mittornandAlibek Omarov bb9775048b platform/android_nosdl: fix build (ndk10, host clang15) 2024-02-27 05:01:13 +03:00
mittornandAlibek Omarov fbb91e547d Revert "engine: partially remove legacy Android port, in preparation of new port merge"
This reverts commit ef663a8790.
2024-02-27 05:01:13 +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
VelaronandAlibek Omarov 5c90e716cb engine: platform: android: refactoring 2023-11-03 16:40:06 +03:00
Alibek Omarov 71b06801ef engine: platform: android: remove dead code 2023-11-03 14:48:28 +03:00
Alibek Omarov d2237fa144 engine: platform: android: merge new SDL2 based Android port from @Velaron's tree 2023-06-05 21:35:58 +03:00
Alibek Omarov ef663a8790 engine: partially remove legacy Android port, in preparation of new port merge 2023-06-05 20:30:18 +03:00
Andrey AkhmichinandAlibek Omarov 6486533355 engine: platform: android: replace va function calls. 2023-03-11 16:29:55 +03:00
Alibek Omarov 0d7a2e7bad engine: platform: change capture API to allow locking/unlocking buffer to prevent race condition, use single function for pause 2022-08-31 06:50:06 +03:00
SNMetamorphandAlibek Omarov 9f9141823a engine: added audio backend print to s_info command 2022-08-20 15:36:02 +03:00
Alibek Omarov 22ff45f5d0 engine: platform: add audio capture shutdown functions 2022-08-20 03:17:51 +03:00
SNMetamorphandAlibek Omarov a254a342b1 engine: voice: minor code fixes 2022-08-18 04:46:11 +03:00
VelaronandAlibek Omarov 2b9e050f57 engine: voice support 2022-08-18 04:46:11 +03:00
SNMetamorphanda1batross 641f0632ef engine: client: fixed compilation errors on Android 2022-05-02 03:29:24 +03:00
Alibek Omarov ebfa8e6ffc engine: platform: android: fix compile 2021-12-27 03:19:50 +03:00
Alibek Omarov 4f89288ccf common: cleanup port.h 2021-12-23 19:17:11 +03:00
Alibek Omarov 523798857b engine: platform: fix opensles audio 2021-03-10 13:45:02 +03:00
Alibek Omarov a93d9ac71c engine: platform: simplify sound code
Remove SNDDMA_GetSoundtime, because it was mostly copypasted from one
platform code to another.
SNDDMA_GetDMAPos gets removed too, as we have dma.samplepos for that.
2021-03-10 00:16:13 +03:00
Alibek Omarov 3d9a4560d5 client: make sound cvars statically allocated, to avoid access to invalid pointers in the future 2021-03-09 23:59:29 +03:00
Gleb MazovetskiyandAlibek Omarov 5e0a0765ce Trim all trailing whitespace
The `.editorconfig` file in this repo is configured to trim all trailing
whitespace regardless of whether the line is modified.

Trims all trailing whitespace in the repository to make the codebase easier
to work with in editors that respect `.editorconfig`.

`git blame` becomes less useful on these lines but it already isn't very useful.

Commands:

```
find . -type f -name '*.h' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
find . -type f -name '*.c' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
```
2021-01-04 20:55:10 +03:00
mittorn e96271a8a9 platform/android: make host.state actual in Android_UpdateSurface call 2020-07-12 05:16:08 +07:00
mittorn f0c9aa1585 vid_android: workaround small output buffer 2020-07-10 09:51:00 +07:00
mittorn 4515d3e3cb platform/android: implement native software blitter, fix lost context on resize, fix safegl 2020-07-08 08:48:46 +07:00
mittorn 98ffbaf87a android: fix fallbacks 2020-07-07 00:22:01 +07:00
Alibek Omarov 89ca0dec5e platform: android: slightly more verbosity 2020-03-29 17:44:23 +03: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
mittorn 3a416636f1 engine: mark GAME_EXPORT's 2020-01-19 08:15:54 +07:00