(1UL << (FF_STRIKE % 32)) | \
(1UL << (FF_SPREAD % 32)))))
-
-/*
- * Feature action flags
- */
-#define FAF_DESTROY 0x01
-#define FAF_NO_DROP 0x02
-#define FAF_CRASH_GLASS 0x04
-
#define feat_locked_door_random(DOOR_TYPE) \
(feat_door[(DOOR_TYPE)].num_locked ? \
feat_door[(DOOR_TYPE)].locked[randint0(feat_door[(DOOR_TYPE)].num_locked)] : feat_none)
#include "view-mainwindow.h"
#include "realm-song.h"
+/*
+ * Feature action flags
+ */
+#define FAF_DESTROY 0x01
+#define FAF_NO_DROP 0x02
+#define FAF_CRASH_GLASS 0x04
/*!
* @brief 地形状態フラグテーブル /
#define DOOR_DOOR 0
#define DOOR_GLASS_DOOR 1
#define DOOR_CURTAIN 2
+
#define MAX_DOOR_TYPES 3
extern void place_closed_door(POSITION y, POSITION x, int type);
extern void place_secret_door(POSITION y, POSITION x, int type);