Android build
I'm working on recreating my android port of rttr. ~~Currently the game starts but failes to find any drivers.~~
~~I would need an option to set a custom output path for the translation/data copying.~~ Also an enviroment variable to set the path to the drivers or the game data (or both)
Also another problem is openGl. On android only openGl-Es is available and I've used a translation library (gl4es) that works pretty well. But the SDL videodriver would need: 1. to link against gl4es and 2. the SDL_gl_getprocaddress to be replaced by the gl4es equivalent. This could also be used to support devices like the raspberry pi.
Also I would implement basic touch controls which should also work on touchscreen laptops (thanks to sdl)
I know these would be some pretty big changes...
Changes:
- Added 'natural' mouse mode & changed invert mouse setting to mouseMode (0:default, 1:inverted, 2:natural)
- Changed invert mouse GUI setting (translations would need to be added/changed)
- Added 'GL4ES' to RTTR_OPENGL cmake options & VideoSDL2 driver to support OpenGL-ES
- Added 'RTTR_BUILD_LIB' cmake variable to build main executable as shared library (Needed to run on android)
- Added Touch controls to VideoSDL2 driver (moving map with one finger, two finger zooming, double tap to close window)
- Added allowing to control config paths using enviroment variables
- Some minor changes to fix compiling with newer versions of gcc and clang
Git History should be cleaned up (Some things should be squashed, so that some distinguish commits are there)