• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revisionf0bda5faac5709c6f2ff0800e8cc40e393bd80b1 (tree)
Time2019-05-02 20:19:24
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 tag_type を util.h へ移動.

Change Summary

Incremental Difference

--- a/src/types.h
+++ b/src/types.h
@@ -248,17 +248,6 @@ struct kamae
248248 };
249249
250250
251-/*
252- * Sort-array element
253- */
254-typedef struct tag_type tag_type;
255-
256-struct tag_type
257-{
258- int tag;
259- int index;
260-};
261-
262251 typedef bool (*monsterrace_hook_type)(MONRACE_IDX r_idx);
263252
264253
--- a/src/util.h
+++ b/src/util.h
@@ -1,5 +1,16 @@
11 #pragma once
22
3+/*
4+ * Sort-array element
5+ */
6+typedef struct tag_type tag_type;
7+
8+struct tag_type
9+{
10+ int tag;
11+ int index;
12+};
13+
314 /* util.c */
415 extern errr path_parse(char *buf, int max, concptr file);
516 extern errr path_build(char *buf, int max, concptr path, concptr file);
Show on old repository browser