• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revisione446e253b0831585ce5208d25fa08b897cdbee69 (tree)
Time2019-05-23 00:37:06
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 term_screen マクロを util.h へ移動.

Change Summary

Incremental Difference

--- a/src/defines.h
+++ b/src/defines.h
@@ -2254,12 +2254,6 @@
22542254
22552255 /*** Macro Definitions ***/
22562256
2257-
2258-/*
2259- * Hack -- The main "screen"
2260- */
2261-#define term_screen (angband_term[0])
2262-
22632257 /*
22642258 * Return the "char" for a given item.
22652259 * Use "flavor" if available.
--- a/src/util.h
+++ b/src/util.h
@@ -78,6 +78,11 @@ extern concptr keymap_act[KEYMAP_MODES][256];
7878
7979
8080 /*
81+ * Hack -- The main "screen"
82+ */
83+#define term_screen (angband_term[0])
84+
85+/*
8186 * Hack -- conditional (or "bizarre") externs
8287 */
8388
Show on old repository browser