• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revisionb775d05f9644a3473ed15fc8b33bb3e0904214f4 (tree)
Time2019-05-01 14:25:16
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 monster_blow 構造体を monsterrace.h に移動.

Change Summary

Incremental Difference

--- a/src/monsterrace.h
+++ b/src/monsterrace.h
@@ -1,6 +1,26 @@
11 #pragma once
22
33 /*
4+ * Monster blow structure
5+ *
6+ * - Method (RBM_*)
7+ * - Effect (RBE_*)
8+ * - Damage Dice
9+ * - Damage Sides
10+ */
11+
12+typedef struct monster_blow monster_blow;
13+
14+struct monster_blow
15+{
16+ BLOW_METHOD method;
17+ BLOW_EFFECT effect;
18+ DICE_NUMBER d_dice;
19+ DICE_SID d_side;
20+};
21+
22+
23+/*
424 * Monster "race" information, including racial memories
525 *
626 * Note that "d_attr" and "d_char" are used for MORE than "visual" stuff.
--- a/src/types.h
+++ b/src/types.h
@@ -84,28 +84,6 @@ struct ego_item_type
8484 };
8585
8686
87-
88-
89-/*
90- * Monster blow structure
91- *
92- * - Method (RBM_*)
93- * - Effect (RBE_*)
94- * - Damage Dice
95- * - Damage Sides
96- */
97-
98-typedef struct monster_blow monster_blow;
99-
100-struct monster_blow
101-{
102- BLOW_METHOD method;
103- BLOW_EFFECT effect;
104- DICE_NUMBER d_dice;
105- DICE_SID d_side;
106-};
107-
108-
10987 typedef struct mbe_info_type mbe_info_type;
11088
11189 struct mbe_info_type
Show on old repository browser