mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-21 17:07:40 +00:00
3D:: HOME moves view back instead of centering
This commit is contained in:
@@ -251,6 +251,9 @@ void handlePanning(int sym, int uni) {
|
|||||||
if(sym == SDLK_END && DIM == 3) {
|
if(sym == SDLK_END && DIM == 3) {
|
||||||
View = cpush(2, -0.2*shiftmul) * View, didsomething = true, playermoved = false;
|
View = cpush(2, -0.2*shiftmul) * View, didsomething = true, playermoved = false;
|
||||||
}
|
}
|
||||||
|
if(sym == SDLK_HOME && DIM == 3) {
|
||||||
|
View = cpush(2, 0.2*shiftmul) * View, didsomething = true, playermoved = false;
|
||||||
|
}
|
||||||
if(sym == SDLK_RIGHT) {
|
if(sym == SDLK_RIGHT) {
|
||||||
if(conformal::on)
|
if(conformal::on)
|
||||||
conformal::lvspeed += 0.1 * shiftmul;
|
conformal::lvspeed += 0.1 * shiftmul;
|
||||||
@@ -427,7 +430,7 @@ void handleKeyNormal(int sym, int uni) {
|
|||||||
pushScreen(inv::show);
|
pushScreen(inv::show);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if((sym == SDLK_HOME || sym == SDLK_F3 || sym == ' ') && DEFAULTNOR(sym))
|
if(((sym == SDLK_HOME && DIM == 2) || sym == SDLK_F3 || sym == ' ') && DEFAULTNOR(sym))
|
||||||
fullcenter();
|
fullcenter();
|
||||||
|
|
||||||
if(sym == 'v' && DEFAULTNOR(sym))
|
if(sym == 'v' && DEFAULTNOR(sym))
|
||||||
|
Reference in New Issue
Block a user