mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-26 03:17:39 +00:00
Select the keyboard push-subdirection with Tab.
Previously, the keyboard push-subdirection was selected irregularly based on the exact angle of the map on the screen. Change it to be consistently clockwise or counterclockwise, switching with the Tab key. Also, have the keyboard push-subdirection help display on all pushable monsters. Previously, it'd only show on Palace Guards and Skeletons.
This commit is contained in:
4
help.cpp
4
help.cpp
@@ -259,7 +259,7 @@ string pushtext(stringpar p) {
|
||||
"\n\nNote: when pushing %the1 off a heptagonal cell, you can control the pushing direction "
|
||||
"by clicking left or right half of the heptagon.", p);
|
||||
#if !ISMOBILE
|
||||
s += XLAT(" With the keyboard, you can rotate the view for a similar effect (Page Up/Down).");
|
||||
s += XLAT(" With the keyboard, you can press Tab to invert the way the pushing direction leans.");
|
||||
#endif
|
||||
return s;
|
||||
}
|
||||
@@ -678,7 +678,7 @@ EX string generateHelpForMonster(eMonster m) {
|
||||
}
|
||||
|
||||
s += XLAT(minf[m].help);
|
||||
if(m == moPalace || m == moSkeleton)
|
||||
if(isStunnable(m))
|
||||
s += pushtext(m);
|
||||
if(m == moTroll) s += XLAT(trollhelp2);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user