summaryrefslogtreecommitdiff
path: root/ttd.h
diff options
context:
space:
mode:
Diffstat (limited to 'ttd.h')
-rw-r--r--ttd.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/ttd.h b/ttd.h
index 71b968376..24b193b0c 100644
--- a/ttd.h
+++ b/ttd.h
@@ -517,6 +517,16 @@ enum {
MAX_SCREEN_HEIGHT = 1200,
};
+/* In certain windows you navigate with the arrow keys. Do not scroll the
+ * gameview when here. Bitencoded variable that only allows scrolling if all
+ * elements are zero */
+enum {
+ SCROLL_CON = 0,
+ SCROLL_EDIT = 1,
+ SCROLL_SAVE = 2,
+};
+VARDEF byte _no_scroll;
+
#include "functions.h"
#include "variables.h"