Commit Graph

49 Commits

Author SHA1 Message Date
SNMetamorph
641f0632ef engine: client: fixed compilation errors on Android 2022-05-02 03:29:24 +03:00
ebfa8e6ffc engine: platform: android: fix compile 2021-12-27 03:19:50 +03:00
4f89288ccf common: cleanup port.h 2021-12-23 19:17:11 +03:00
523798857b engine: platform: fix opensles audio 2021-03-10 13:45:02 +03:00
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
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 Mazovetskiy
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
e96271a8a9 platform/android: make host.state actual in Android_UpdateSurface call 2020-07-12 05:16:08 +07:00
f0c9aa1585 vid_android: workaround small output buffer 2020-07-10 09:51:00 +07:00
4515d3e3cb platform/android: implement native software blitter, fix lost context on resize, fix safegl 2020-07-08 08:48:46 +07:00
98ffbaf87a android: fix fallbacks 2020-07-07 00:22:01 +07:00
89ca0dec5e platform: android: slightly more verbosity 2020-03-29 17:44:23 +03:00
3e3aff040e platform: add Platfrom_Init, Platform_Shutdown, Platform_MouseMove move platform-specific code from host.c 2020-02-08 23:15:40 +07:00
3a416636f1 engine: mark GAME_EXPORT's 2020-01-19 08:15:54 +07:00
d0dbd185ad engine: android: fix enum-conversion 2019-12-23 06:55:00 +03:00
8399107826 engine: platform: android: remake video backend to use EGL through Java code 2019-12-02 01:01:39 +03:00
fec0a6baf6 engine: platform: android: change package name 2019-12-01 02:17:51 +03:00
0cb591821a Merge sdl12-port into master 2019-11-06 22:29:04 +03:00
79adaa11e0 lowmemory: merge 2019-11-05 01:15:31 +03:00
1365020302 ref: add enum for screen rotation 2019-11-04 20:27:46 +07:00
9d826016b0 engine: finish sdl1.2 port 2019-11-02 08:56:07 +03:00
Aimless-Wanderer
00e5d42459 platform: android: fix macros 2019-10-31 18:42:34 +03:00
7f6395fa7d ref: display transformation API 2019-10-31 01:36:07 +07:00
e3c3b05396 engine: platform: android: don't check if XASH_ENGLIBDIR and XASH_GAMELIBDIR are null. Load library by direct path if PATH_SPLITTER was found. Partially fixes #74 2019-10-30 16:55:00 +03:00
6e637456ef platform: define platform-specific posix-compatible library loaders as macros to reduce macros hell in lib_posix.c 2019-10-30 16:46:18 +03:00
8be58bcd21 engine: android: fix EGL context create error condition 2019-10-11 17:36:56 +03:00
06e38b45c8 engine: android: don't throw host error when initializing software renderer on Android 2019-10-11 11:53:52 +03:00
d3dd671759 engine: android: quick hack to load libraries on aarch64 until we don't symlinking lib folder 2019-10-11 11:50:21 +03:00
fa622168a0 engine: fix style, disable XASH_USE_SELECT 2019-10-11 08:51:30 +03:00
6e2dbd4e1c engine: android: get rid of VLA 2019-10-05 03:33:13 +03:00
da11da97ad android: enable touch support 2019-09-28 20:09:26 +07:00
0afc3d83c6 android: add stub for Platform_PreCreateMove 2019-09-28 04:26:19 +07:00
4049c54511 engine: android: fix video backend not compiled 2019-09-19 18:17:56 +03:00
07aa9595c0 engine: android: allow building dedicated on Android 2019-09-19 17:09:18 +03:00
3032ce3bee engine: android: fix building dlsym_weak on latest NDK 2019-09-10 11:15:48 +06:00
2f8fec6b70 Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever. 2019-07-19 20:23:08 +03:00
b2895770b8 platform: remove unneeded argument from SNDDMA_Init 2019-07-12 22:42:13 +03:00
fa68108907 engine: input: adapt gamepad code for new engine, remove gamepad ids, as it was never used and probably will never be, small optimizations 2019-07-09 03:48:09 +03:00
db72378806 engine: android: fix building custom dlsym with NDK r19c, clean-up 2019-05-28 04:09:47 +03:00
d596f4ea52 engine: android: vid: fix building with NDK r19c 2019-05-28 03:55:54 +03:00
2e953bd1a9 ref_api: remove GL_OnContextCreated, remove return value of GL_RenderFrame 2019-05-12 18:02:59 +03:00
e9e4a1296d engine: android: fix possible crash in custom dlsym 2019-05-12 03:07:28 +03:00
85c2126775 engine: android: implement egl context management 2019-05-12 03:06:55 +03:00
3fef353291 android: initial port 2019-05-02 18:07:03 +03:00
ac77bab967 sound: opensles: same fix applied for OpenSLES/Android backend 2019-01-07 04:17:40 +03:00
621cdba53c engine: android: restore OpenSL ES audio 2018-12-20 10:22:04 +03:00
e7ddc6d6c5 engine: android: restore dlsym hack for old Android(<5.0) 2018-12-20 10:15:44 +03:00
de838ec5e8 rename backend files for great justice and consistency 2018-10-27 23:28:29 +03:00
415e517107 Library loader refactoring. Not tested for platforms other than Linux 2018-05-01 21:52:00 +03:00