• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision9118e6f1ee37cddcdc0f5d08fd13a32f5e092693 (tree)
Time2019-06-01 17:23:31
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 PROJECT_WHO_* 定義をspells.h へ移動.

Change Summary

Incremental Difference

--- a/src/defines.h
+++ b/src/defines.h
@@ -283,12 +283,6 @@
283283
284284 /*** General flag values ***/
285285
286-/*
287- * Special caster ID for project()
288- */
289-#define PROJECT_WHO_UNCTRL_POWER -1 /*!< 魔法効果の自然発生要因: 名状し難い力の解放 */
290-#define PROJECT_WHO_GLASS_SHARDS -2 /*!< 魔法効果の自然発生要因: 破壊されたガラス地形の破片 */
291-
292286
293287 /* Empty hand status */
294288 #define EMPTY_HAND_NONE 0x0000 /* Both hands are used */
--- a/src/spells.h
+++ b/src/spells.h
@@ -141,7 +141,11 @@ extern bool in_disintegration_range(POSITION y1, POSITION x1, POSITION y2, POSIT
141141 extern void breath_shape(u16b *path_g, int dist, int *pgrids, POSITION *gx, POSITION *gy, POSITION *gm, POSITION *pgm_rad, POSITION rad, POSITION y1, POSITION x1, POSITION y2, POSITION x2, EFFECT_ID typ);
142142 extern u16b bolt_pict(POSITION y, POSITION x, POSITION ny, POSITION nx, EFFECT_ID typ);
143143 extern POSITION dist_to_line(POSITION y, POSITION x, POSITION y1, POSITION x1, POSITION y2, POSITION x2);
144+
145+#define PROJECT_WHO_UNCTRL_POWER -1 /*!< 魔法効果の自然発生要因: 名状し難い力の解放 */
146+#define PROJECT_WHO_GLASS_SHARDS -2 /*!< 魔法効果の自然発生要因: 破壊されたガラス地形の破片 */
144147 extern bool project(MONSTER_IDX who, POSITION rad, POSITION y, POSITION x, HIT_POINT dam, EFFECT_ID typ, BIT_FLAGS flg, int monspell);
148+
145149 extern int project_length;
146150 extern bool binding_field(HIT_POINT dam);
147151 extern void seal_of_mirror(HIT_POINT dam);
Show on old repository browser