1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-21 00:47:40 +00:00

device orientation-based scrolling on mobiles

This commit is contained in:
Zeno Rogue
2018-07-23 05:14:19 +02:00
parent bd77680518
commit 6c0a052470
8 changed files with 181 additions and 5 deletions

12
hyper.h
View File

@@ -3727,4 +3727,16 @@ extern void switchHardcore();
extern bool using_perspective;
void generateAlts(heptagon *h, int levs = irr::on ? 1 : S3-3, bool link_cdata = true);
namespace ors {
extern int mode;
extern string choices[];
void show();
void apply();
void check_orientation();
void unrotate(transmatrix& T);
void rerotate(transmatrix& T);
void reset();
}
}