OSDN Git Service

[Refactor] #37353 FAF_* を grid.c へ移動.
authordeskull <deskull@users.sourceforge.jp>
Sun, 2 Jun 2019 12:36:33 +0000 (21:36 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Sun, 2 Jun 2019 12:36:33 +0000 (21:36 +0900)
src/defines.h
src/grid.c
src/grid.h

index 2366587..cf62422 100644 (file)
             (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)
index c2df3d0..8752366 100644 (file)
 #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 地形状態フラグテーブル /
index 4aca83e..82c44d2 100644 (file)
@@ -379,6 +379,7 @@ extern void add_door(POSITION x, POSITION y);
 #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);