aboutsummaryrefslogtreecommitdiff
path: root/sword2/sword2.h
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/sword2.h')
-rw-r--r--sword2/sword2.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sword2/sword2.h b/sword2/sword2.h
index da50953151..29f4267c0b 100644
--- a/sword2/sword2.h
+++ b/sword2/sword2.h
@@ -20,6 +20,13 @@
#ifndef _SWORD2
#define _SWORD2
+// Enable this to make it possible to clear the mouse cursor luggage by
+// right-clicking. The original didn't do this, but it feels natural to me.
+// However, I'm afraid that it'll interfer badly with parts of the game, so
+// for now I'll keep it disabled.
+
+#define RIGHT_CLICK_CLEARS_LUGGAGE 0
+
#include "base/engine.h"
#include "common/util.h"
@@ -238,6 +245,10 @@ public:
int32 initBackground(int32 res, int32 new_palette);
+#if RIGHT_CLICK_CLEARS_LUGGAGE
+ bool heldIsInInventory(void);
+#endif
+
int menuClick(int menu_items);
void addMenuObject(MenuObject *obj);