• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision79172531fe1c88115d8fe593b7177fd12691e848 (tree)
Time2019-02-13 13:25:32
AuthorDeskull <deskull@user...>
CommiterDeskull

Log Message

[Refactor] #37353 monk_armour_aux と monk_notify_aux を player_status.c に移動。 / Move monk_armour_aux and monk_notify_aux to player_status.c.

Change Summary

Incremental Difference

--- a/src/externs.h
+++ b/src/externs.h
@@ -337,8 +337,6 @@ extern void (*ang_sort_swap)(vptr u, vptr v, int a, int b);
337337 extern monsterrace_hook_type get_mon_num_hook;
338338 extern monsterrace_hook_type get_mon_num2_hook;
339339 extern bool (*get_obj_num_hook)(KIND_OBJECT_IDX k_idx);
340-extern bool monk_armour_aux;
341-extern bool monk_notify_aux;
342340 extern wilderness_type **wilderness;
343341 extern building_type building[MAX_BLDG];
344342 extern QUEST_IDX max_q_idx;
--- a/src/player-status.c
+++ b/src/player-status.c
@@ -5,6 +5,10 @@
55 #include "avatar.h"
66 #include "spells-status.h"
77
8+/* Hack, monk armour */
9+static bool monk_armour_aux;
10+static bool monk_notify_aux;
11+
812 /*
913 * Return alignment title
1014 */
--- a/src/variable.c
+++ b/src/variable.c
@@ -724,11 +724,6 @@ monsterrace_hook_type get_mon_num2_hook;
724724 bool (*get_obj_num_hook)(KIND_OBJECT_IDX k_idx);
725725
726726
727-/* Hack, monk armour */
728-bool monk_armour_aux;
729-bool monk_notify_aux;
730-
731-
732727 /*
733728 * Wilderness
734729 */
Show on old repository browser