summaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h
index f7dd6d40..ea383ff7 100644
--- a/src/types.h
+++ b/src/types.h
@@ -2303,6 +2303,18 @@ struct hook_eat_out {
bool_ ident;
};
+typedef enum { STAIRS_UP, STAIRS_DOWN } stairs_direction;
+
+typedef struct hook_stair_in hook_stair_in;
+struct hook_stair_in {
+ stairs_direction direction;
+};
+
+typedef struct hook_stair_out hook_stair_out;
+struct hook_stair_out {
+ bool_ allow;
+};
+
/*
* Structure for the "quests"
*/