SNMetamorph
a254a342b1
engine: voice: minor code fixes
2 years ago
Velaron
2b9e050f57
engine: voice support
2 years ago
SNMetamorph
641f0632ef
engine: client: fixed compilation errors on Android
3 years ago
Alibek Omarov
ebfa8e6ffc
engine: platform: android: fix compile
3 years ago
Alibek Omarov
4f89288ccf
common: cleanup port.h
3 years ago
Alibek Omarov
523798857b
engine: platform: fix opensles audio
4 years ago
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.
4 years ago
Alibek Omarov
3d9a4560d5
client: make sound cvars statically allocated, to avoid access to invalid pointers in the future
4 years ago
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:]]\+$//' {} \+
```
4 years ago
mittorn
e96271a8a9
platform/android: make host.state actual in Android_UpdateSurface call
5 years ago
mittorn
f0c9aa1585
vid_android: workaround small output buffer
5 years ago
mittorn
4515d3e3cb
platform/android: implement native software blitter, fix lost context on resize, fix safegl
5 years ago
mittorn
98ffbaf87a
android: fix fallbacks
5 years ago
Alibek Omarov
89ca0dec5e
platform: android: slightly more verbosity
5 years ago
mittorn
3e3aff040e
platform: add Platfrom_Init, Platform_Shutdown, Platform_MouseMove move platform-specific code from host.c
5 years ago
mittorn
3a416636f1
engine: mark GAME_EXPORT's
5 years ago
Alibek Omarov
d0dbd185ad
engine: android: fix enum-conversion
5 years ago
Alibek Omarov
8399107826
engine: platform: android: remake video backend to use EGL through Java code
5 years ago
Alibek Omarov
fec0a6baf6
engine: platform: android: change package name
5 years ago
mittorn
1365020302
ref: add enum for screen rotation
5 years ago
Alibek Omarov
9d826016b0
engine: finish sdl1.2 port
5 years ago
Aimless-Wanderer
00e5d42459
platform: android: fix macros
5 years ago
mittorn
7f6395fa7d
ref: display transformation API
5 years ago
Alibek Omarov
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
5 years ago
Alibek Omarov
6e637456ef
platform: define platform-specific posix-compatible library loaders as macros to reduce macros hell in lib_posix.c
5 years ago
Alibek Omarov
8be58bcd21
engine: android: fix EGL context create error condition
5 years ago
Alibek Omarov
06e38b45c8
engine: android: don't throw host error when initializing software renderer on Android
5 years ago
Alibek Omarov
d3dd671759
engine: android: quick hack to load libraries on aarch64 until we don't symlinking lib folder
5 years ago
Alibek Omarov
fa622168a0
engine: fix style, disable XASH_USE_SELECT
5 years ago
Alibek Omarov
6e2dbd4e1c
engine: android: get rid of VLA
5 years ago
mittorn
da11da97ad
android: enable touch support
5 years ago
mittorn
0afc3d83c6
android: add stub for Platform_PreCreateMove
5 years ago
Alibek Omarov
4049c54511
engine: android: fix video backend not compiled
5 years ago
Alibek Omarov
07aa9595c0
engine: android: allow building dedicated on Android
5 years ago
Alibek Omarov
3032ce3bee
engine: android: fix building dlsym_weak on latest NDK
5 years ago
Alibek Omarov
2f8fec6b70
Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever.
6 years ago
Alibek Omarov
b2895770b8
platform: remove unneeded argument from SNDDMA_Init
6 years ago
Alibek Omarov
fa68108907
engine: input: adapt gamepad code for new engine, remove gamepad ids, as it was never used and probably will never be, small optimizations
6 years ago
Alibek Omarov
db72378806
engine: android: fix building custom dlsym with NDK r19c, clean-up
6 years ago
Alibek Omarov
d596f4ea52
engine: android: vid: fix building with NDK r19c
6 years ago
Alibek Omarov
2e953bd1a9
ref_api: remove GL_OnContextCreated, remove return value of GL_RenderFrame
6 years ago
Alibek Omarov
e9e4a1296d
engine: android: fix possible crash in custom dlsym
6 years ago
Alibek Omarov
85c2126775
engine: android: implement egl context management
6 years ago
Alibek Omarov
3fef353291
android: initial port
6 years ago
Alibek Omarov
ac77bab967
sound: opensles: same fix applied for OpenSLES/Android backend
6 years ago
Alibek Omarov
621cdba53c
engine: android: restore OpenSL ES audio
6 years ago
Alibek Omarov
e7ddc6d6c5
engine: android: restore dlsym hack for old Android(<5.0)
6 years ago
Alibek Omarov
de838ec5e8
rename backend files for great justice and consistency
6 years ago
Alibek Omarov
415e517107
Library loader refactoring. Not tested for platforms other than Linux
7 years ago