mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 07:30:26 +00:00
new screen option sm::SHOWCURSOR
This commit is contained in:
parent
59b11a74ad
commit
02d195ca0b
@ -736,6 +736,7 @@ EX void mainloopiter() {
|
||||
|
||||
mousepan = cmode & sm::NORMAL;
|
||||
if((cmode & (sm::DRAW | sm::MAP)) && !hiliteclick) mousepan = true;
|
||||
if(cmode & sm::SHOWCURSOR) mousepan = false;
|
||||
mousepan = mousepan && mouseaiming(false) && mouseaim_sensitivity;
|
||||
if(mousepan != oldmousepan) {
|
||||
oldmousepan = mousepan;
|
||||
|
@ -5489,6 +5489,7 @@ namespace sm {
|
||||
static const int EXPANSION = (1<<16);
|
||||
static const int HEXEDIT = (1<<17);
|
||||
static const int VR_MENU = (1<<18); // always show the menu in VR
|
||||
static const int SHOWCURSOR = (1<<19); // despite MAP/DRAW always show the cursor, no panning
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user