mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-26 02:34:26 +00:00
big change: more configuration for the torus (and also Klein bottle)
This commit is contained in:
1 parent
d67ca714fd
commit
11569c693d
21 files changed
+546
-287
No files matched your search
+5
-4
@@ -30,7 +30,8 @@ movedir joydir;
|
||||
movedir mousedest;
|
||||
ld shiftmul = 1;
|
||||
|
||||
cell *mouseover, *mouseover2, *lmouseover, *centerover;
|
||||
cell *mouseover, *mouseover2, *lmouseover;
|
||||
cellwalker centerover;
|
||||
ld modist, modist2, centdist;
|
||||
|
||||
int lastt;
|
||||
@@ -340,7 +341,7 @@ void handleKeyNormal(int sym, int uni) {
|
||||
// vid.yshift = 1 - vid.yshift;
|
||||
// vid.drawmousecircle = true;
|
||||
}
|
||||
if(sym == 'm' && canmove && (centerover == cwt.c ? mouseover : centerover))
|
||||
if(sym == 'm' && canmove && (centerover == cwt ? mouseover : centerover.c))
|
||||
performMarkCommand(mouseover);
|
||||
}
|
||||
|
||||
@@ -351,9 +352,9 @@ void handleKeyNormal(int sym, int uni) {
|
||||
if(sym == 't' && uni != 'T' && uni != 'T'-64 && canmove) {
|
||||
if(playermoved && items[itStrongWind]) {
|
||||
cell *c = whirlwind::jumpDestination(cwt.c);
|
||||
if(c) centerover = c;
|
||||
if(c) centerover.c = c;
|
||||
}
|
||||
targetRangedOrb(centerover, roKeyboard);
|
||||
targetRangedOrb(centerover.c, roKeyboard);
|
||||
sym = 0; uni = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user