• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision6a8e4e3c3eb778b2c057abe0b79b08658618bf50 (tree)
Time2019-05-02 23:22:27
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 inven_func 定義を player-damage.h へ移動.

Change Summary

Incremental Difference

--- a/src/player-damage.h
+++ b/src/player-damage.h
@@ -1,4 +1,10 @@
1-
1+#pragma once
2+
3+/*
4+ * This seems like a pretty standard "typedef"
5+ */
6+typedef int(*inven_func)(object_type *);
7+
28 extern bool hates_acid(object_type *o_ptr);
39 extern bool hates_elec(object_type *o_ptr);
410 extern bool hates_fire(object_type *o_ptr);
--- a/src/types.h
+++ b/src/types.h
@@ -67,8 +67,3 @@ struct magic_type
6767 };
6868
6969 typedef bool (*monsterrace_hook_type)(MONRACE_IDX r_idx);
70-
71-/*
72- * This seems like a pretty standard "typedef"
73- */
74-typedef int (*inven_func)(object_type *);
Show on old repository browser