• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision83112f1830665d84faba38a156a6103e81a89220 (tree)
Time2019-06-05 23:51:19
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 have_dynamic_flags を削除.

Change Summary

Incremental Difference

--- a/src/defines.h
+++ b/src/defines.h
@@ -141,16 +141,6 @@
141141 #define COL_MAP 12
142142
143143
144-/* Which features are dynamic */
145-#define have_dynamic_flags(ARRAY) \
146- (!!((ARRAY)[(FF_INSTANT / 32)] & \
147- ((1UL << (FF_INSTANT % 32)) | \
148- (1UL << (FF_EXPLODE % 32)) | \
149- (1UL << (FF_TIMED % 32)) | \
150- (1UL << (FF_ERUPT % 32)) | \
151- (1UL << (FF_STRIKE % 32)) | \
152- (1UL << (FF_SPREAD % 32)))))
153-
154144 #define feat_locked_door_random(DOOR_TYPE) \
155145 (feat_door[(DOOR_TYPE)].num_locked ? \
156146 feat_door[(DOOR_TYPE)].locked[randint0(feat_door[(DOOR_TYPE)].num_locked)] : feat_none)
Show on old repository browser