1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-05-24 23:02:07 +00:00

CAP_TOUR guards added, more exported in hyper.h, general cleanup

This commit is contained in:
Zeno Rogue
2018-02-08 22:27:12 +01:00
parent 6c5ce655bb
commit 2a59ff7ab2
12 changed files with 101 additions and 53 deletions
+1
View File
@@ -842,6 +842,7 @@ bool handleCompass() {
if(!haveMobileCompass()) return false;
using namespace shmupballs;
int dx = mousex - xmove;
int dy = mousey - yb;
int h = hypot(dx, dy);