1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-09 03:42:24 +00:00

missing texts, (untested) Android update

This commit is contained in:
Zeno Rogue
2017-07-23 10:44:52 +02:00
parent 8cb8e2a3ec
commit 8807e4a0c6
4 changed files with 19 additions and 18 deletions

View File

@@ -15,18 +15,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#define MOBILE
#define ISMOBILE 1
#define ISANDROID 1
#define ISIOS 0
#define GL_ES
#ifndef ANDROID
#define ANDROID
#endif
#define ANDROIDSHARE
#define MOBPAR_FORMAL JNIEnv *env, jobject thiz
#define MOBPAR_ACTUAL env, thiz
@@ -80,9 +71,9 @@ Java_com_roguetemple_hyperroid_HyperRogue_loadMap
extern "C" bool
Java_com_roguetemple_hyperroid_HyperRogue_captureBack
( MOBPAR_FORMAL) {
if(cmode == emNormal || cmode == emQuit)
return false;
cmode = emNormal; return true;
if(cmode & sm::NORMAL) return false;
popScreenAll();
return true;
}
void uploadAll(MOBPAR_FORMAL);
@@ -233,9 +224,8 @@ extern "C" void Java_com_roguetemple_hyperroid_HyperRogue_drawScreenshot(MOBPAR_
}
extern "C" void Java_com_roguetemple_hyperroid_HyperRogue_handleKey(MOBPAR_FORMAL, jint keycode) {
extra ex;
flashMessages(); mousing = false;
handlekey(keycode, keycode, ex);
handlekey(keycode, keycode);
}
extern "C" void Java_com_roguetemple_hyperroid_HyperRogue_update