mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 22:39:53 +00:00
updated mobile parts of init.cpp
This commit is contained in:
parent
d66207f5cc
commit
c10985dd4a
@ -58,9 +58,6 @@ void gdpush(int t);
|
|||||||
|
|
||||||
void shareScore(MOBPAR_FORMAL);
|
void shareScore(MOBPAR_FORMAL);
|
||||||
|
|
||||||
const char *scorefile, *conffile;
|
|
||||||
std::string levelfile, picfile;
|
|
||||||
|
|
||||||
bool settingsChanged = false;
|
bool settingsChanged = false;
|
||||||
|
|
||||||
struct transmatrix getOrientation();
|
struct transmatrix getOrientation();
|
||||||
|
8
init.cpp
8
init.cpp
@ -150,9 +150,9 @@ void handleclick(MOBPAR_FORMAL) {
|
|||||||
else if(statkeys && getcstat == 't') {
|
else if(statkeys && getcstat == 't') {
|
||||||
if(playermoved && items[itStrongWind]) {
|
if(playermoved && items[itStrongWind]) {
|
||||||
cell *c = whirlwind::jumpDestination(cwt.at);
|
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;
|
getcstat = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -172,7 +172,7 @@ void handleclick(MOBPAR_FORMAL) {
|
|||||||
ors::reset();
|
ors::reset();
|
||||||
centerpc(INF);
|
centerpc(INF);
|
||||||
View = Id;
|
View = Id;
|
||||||
viewctr.h = cwt.at->master;
|
viewctr.at = cwt.at->master;
|
||||||
}
|
}
|
||||||
andmode = 11;
|
andmode = 11;
|
||||||
}
|
}
|
||||||
@ -207,7 +207,7 @@ void handleclick(MOBPAR_FORMAL) {
|
|||||||
if(!playerfound) {
|
if(!playerfound) {
|
||||||
centerpc(INF);
|
centerpc(INF);
|
||||||
View = Id;
|
View = Id;
|
||||||
viewctr.h = cwt.at->master;
|
viewctr.at = cwt.at->master;
|
||||||
}
|
}
|
||||||
playermoved = true;
|
playermoved = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user