From c10985dd4af0e3549fa07d3d949450a2edf6e9a3 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 25 Aug 2018 00:01:46 +0200 Subject: [PATCH] updated mobile parts of init.cpp --- hyperroid/app/src/main/jni/hyper.cpp | 3 --- init.cpp | 8 ++++---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/hyperroid/app/src/main/jni/hyper.cpp b/hyperroid/app/src/main/jni/hyper.cpp index eeb8254c..74ead52e 100644 --- a/hyperroid/app/src/main/jni/hyper.cpp +++ b/hyperroid/app/src/main/jni/hyper.cpp @@ -58,9 +58,6 @@ void gdpush(int t); void shareScore(MOBPAR_FORMAL); -const char *scorefile, *conffile; -std::string levelfile, picfile; - bool settingsChanged = false; struct transmatrix getOrientation(); diff --git a/init.cpp b/init.cpp index 5d706b78..af7c3b5b 100644 --- a/init.cpp +++ b/init.cpp @@ -150,9 +150,9 @@ void handleclick(MOBPAR_FORMAL) { else if(statkeys && getcstat == 't') { if(playermoved && items[itStrongWind]) { cell *c = whirlwind::jumpDestination(cwt.at); - if(c) centerover.c = c, centerover.spin = 0; + if(c) centerover.at = c, centerover.spin = 0; } - targetRangedOrb(centerover.c, roKeyboard); + targetRangedOrb(centerover.at, roKeyboard); getcstat = 0; } @@ -172,7 +172,7 @@ void handleclick(MOBPAR_FORMAL) { ors::reset(); centerpc(INF); View = Id; - viewctr.h = cwt.at->master; + viewctr.at = cwt.at->master; } andmode = 11; } @@ -207,7 +207,7 @@ void handleclick(MOBPAR_FORMAL) { if(!playerfound) { centerpc(INF); View = Id; - viewctr.h = cwt.at->master; + viewctr.at = cwt.at->master; } playermoved = true; }