further cleanup

This commit is contained in:
Zeno Rogue committed 2019-09-12 22:50:12 +02:00
1 parent 65c4e6a31c
commit a76a5dd265
12 files changed
+33 -125

No files matched your search

+6 -2
View File
@@ -13,15 +13,19 @@ EX bool leftclick, rightclick, targetclick, hiliteclick, anyshiftclick, wheelcli
EX bool forcetarget, lshiftclick, lctrlclick, numlock_on;
EX bool gtouched;
bool holdmouse;
EX bool holdmouse;
EX int getcstat, lgetcstat;
ld getcshift;
EX ld getcshift;
EX bool inslider;
EX function <void(int sym, int uni)> keyhandler = [] (int sym, int uni) {};
EX function <bool(SDL_Event &ev)> joyhandler = [] (SDL_Event &ev) {return false;};
#if HDR
// what part of the compass does 'skip turn'
static const auto SKIPFAC = .4;
#endif
// is the player using mouse? (used for auto-cross)
EX bool mousing = true;