1 #pragma once
2 
3 #include "tag-version.h"
4 
5 // Volatile state and cache.
6 enum level_state_type
7 {
8     LSTATE_NONE = 0,
9 
10     LSTATE_GOLUBRIA       = (1 << 0), // A Golubria trap exists.
11 #if TAG_MAJOR_VERSION == 34
12     LSTATE_GLOW_MOLD      = (1 << 1), // Any glowing mold exists.
13 #endif
14     LSTATE_DELETED        = (1 << 2), // The level won't be saved.
15     LSTATE_BEOGH          = (1 << 3), // Possibly an orcish priest around.
16     LSTATE_SLIMY_WALL     = (1 << 4), // Any slime walls exist.
17     LSTATE_STILL_WINDS    = (1 << 5), // Cloud generation is disabled
18     LSTATE_ICY_WALL       = (1 << 6), // Any icy walls exist.
19 };
20