Commit Graph

22 Commits

Author SHA1 Message Date
Nathan Fulton
a01a7fa0cb Initial Android Studio project 2017-10-22 00:53:34 -04:00
Nathan Fulton
f74589c4ce Remove Android project 2017-10-22 00:53:33 -04:00
Nathan Fulton
5dc64a3625 Bump game to v1.7 2017-10-22 00:53:33 -04:00
Nathan Fulton
1a033f9007 Remove HostHelpers cxScreen hack
There used to be a blt bug that would occur when cxScreen was an odd value. Now that SDL API is being used for blt operations, this issue no longer exists.
2017-10-21 20:51:05 -04:00
Nathan Fulton
af52a6755a Android bump NDK_TOOLCHAIN_VERSION to 4.9 2017-10-21 20:48:46 -04:00
Nathan Fulton
25028abab5 Android update SDL2 source symlink
Update symlink for libs dir
2017-10-21 20:48:46 -04:00
Nathan Fulton
0604387d8c Game Android.mk fix paths and link with SDL2_image
- Update paths for libs dir
- Link against SDL2_image
2017-10-21 20:48:27 -04:00
Nathan Fulton
e796d9399b Add Android.mk to for SDL2_image 2017-10-21 20:46:55 -04:00
Nathan Fulton
d6ba6076e0 AndroidLib don't copy htdata832.pdb and htsfx.pdb
In the initial Android port, stdio FILE I/O was being used to read files. However, files in Android assets cannot be read via this method. To hack around this, the data .pdbs were copied out of Android assets into a location where they could be read.
But now the game data read with the host I/O code. The host I/O is code is responsible for ensuring that data can be read from Android assets. Hence, the old .pdb copying hack is no longer necessary.
2017-10-21 20:46:54 -04:00
Nathan Fulton
cc349a6722 Symlink Android SDLActivity.java from libs 2017-10-21 20:46:53 -04:00
Nathan Fulton
f236a8a4a5 Remove Android SDLActivity.java 2017-10-21 20:46:53 -04:00
Nathan Fulton
f2b0fc4136 Add Android assets htdata2432 symlink 2017-10-21 20:46:52 -04:00
Nathan Fulton
dae13feb99 Remove Android assets htdata832.pdb symlink 2017-10-21 20:46:51 -04:00
Nathan Fulton
dfd1d63d1a gszPrefsFilename prefs.bin -> prefs.json 2017-10-21 20:39:13 -04:00
Nathan Fulton
fd31d33274 Android gszMainDataDir = NULL
Using NULL as the main data dir will tell the SDL API (the current host file I/O) to fallthough and read from the .apk assets. This is currently desirable in every existing case.
2017-10-21 20:29:54 -04:00
Nathan Fulton
84b4e0f6ba Implement Android HostHelper code for SdlPackFileReader
Needed for changes SdlPackFileReader changes in commit 61e081be5690202cae1e03d6e6cc89a3e94257b7
2017-10-21 20:28:33 -04:00
Nathan Fulton
6b9241fbc5 Add Android jni method for obtaining the AssetManager 2017-10-21 20:28:33 -04:00
Nathan Fulton
875dd884ec Remove Android -fexceptions cpp flag 2017-10-21 02:55:34 -04:00
Nathan Fulton
830dc6a0d3 Correct use of Android system UI flags
Removed the use of SYSTEM_UI_FLAG_HIDE_NAVIGATION and
SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION for API 14 through API 18.
2017-10-21 02:54:09 -04:00
Nathan Fulton
d6b301c3e7 Track client platform version
Client platform version can be retrieved live with /ids and is also
recorded in the playerdetail module.
2016-08-31 23:54:48 -04:00
Nathan Fulton
b1cf23f64d Implement SDLHttpRequest with curl
Credit goes to emileb for the curl implementation of sdlttprequest.
2016-08-31 22:43:34 -04:00
Nathan Fulton
8b7657f643 Initial SDL-Android port 2016-08-31 22:43:27 -04:00