• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revisionf44acfdbc72b143c40b8b249b9478a6e9310dfe5 (tree)
Time2019-06-10 23:13:30
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

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

Change Summary

Incremental Difference

--- a/src/externs.h
+++ b/src/externs.h
@@ -54,7 +54,6 @@ extern bool repair_objects;
5454 * Software options (set via the '=' command). See "tables.c"
5555 */
5656
57-extern pos_list tmp_pos;
5857 extern STR_OFFSET quark__num;
5958 extern concptr *quark__str;
6059
--- a/src/util.c
+++ b/src/util.c
@@ -106,6 +106,8 @@ bool inkey_flag; /* See the "inkey()" function */
106106
107107 bool use_menu;
108108
109+pos_list tmp_pos;
110+
109111 static int num_more = 0;
110112
111113 /* Save macro trigger string for use in inkey_special() */
--- a/src/util.h
+++ b/src/util.h
@@ -126,6 +126,8 @@ extern bool inkey_flag;
126126
127127 extern bool use_menu;
128128
129+extern pos_list tmp_pos;
130+
129131 /*
130132 * Automatically generated "variable" declarations
131133 */
--- a/src/variable.c
+++ b/src/variable.c
@@ -18,8 +18,6 @@ bool repair_monsters; /* Hack -- optimize detect monsters */
1818 bool repair_objects; /* Hack -- optimize detect objects */
1919
2020
21-pos_list tmp_pos;
22-
2321 /*
2422 * The number of quarks
2523 */
Show on old repository browser