Tested with DCSS 0.26.1, SDK for Android 11 (API level 30) and NDK
version r22b.
Build changes
- Added a gradle build setup for the android app.
- Removed previous build.xml.
- SAVEDIR static storage path repaced with
SDL_AndroidGetExternalStoragePath.
- Disable FORTIFY in lua to avoid runtime errors.
- Updated various #ifdefs for __ANDROID__ and TOUCH_UI to handle
current android builds.
- TOUCH_UI build is no more. Most of the code has been removed because
it's not working as expected. The rest has been merged in the
Android build.
- Some __ANDROID__ directives are no longer required for the build.
They have been removed.
New features
- Show keyboard icon now can also be used to hide the virtual keyboard.
Renamed to: Toggle keyboard.
- Android's back button no longer hides the keyboard when the Activity
is focused, now it behaves like an alias for the escape key.
- The volume keys can be used for zooming the dungeon and the map.
- Two finger scroll can be used on menus.
- Custom font configurations to improve readability in small screens.
The game auto scales in high resolution displays.
- Added summary of Android controls to the help screen.
- New option: tile_window_minimum. When set to false, disables the
window size restrictions for testing purposes.
- The small layout has been fixed and improved. Now it shows the same
information as the default layout and the tab menus scale better to
modern smartphone displays.
- Small layout can be enabled with configuration option:
tile_use_small_layout. This is now the default on Android.
- Custom keyboard inspired by the ascii port. It is no longer needed
to install 3rd party apps por better gameplay.
- Support for physical keyboards.
Fixes
- The game is saved when the Activity is paused. It was very easy to
lose progress (on purpose or by mistake) before.
- If the virtual keyboard is visible when the Activity is paused, it
will be visible again when the Activity is resumed.
- The main menu no longer hides behind the virtual keyboard on startup.
- Lots of fixes for the small layout. It no longer crashes on
vertical displays.
- Controls fixed on Android 10 and newer.