• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revisionf57ad3229920ca535b1640596a697691eadd945e (tree)
Time2019-06-05 23:20:01
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 JVERB_* を japanese.h へ移動.

Change Summary

Incremental Difference

--- a/src/defines.h
+++ b/src/defines.h
@@ -227,14 +227,6 @@
227227 (player_can_see_bold((A)->fy, (A)->fx) && projectable(p_ptr->y, p_ptr->x, (A)->fy, (A)->fx)))))
228228
229229
230-/*** Color constants ***/
231-
232-#ifdef JP
233-#define JVERB_AND 1
234-#define JVERB_TO 2
235-#define JVERB_OR 3
236-#endif
237-
238230 /*
239231 * Modes for the tokenizer
240232 */
--- a/src/japanese.h
+++ b/src/japanese.h
@@ -3,7 +3,12 @@
33 #ifdef JP
44 /* japanese.c */
55 extern void sindarin_to_kana(char *kana, concptr sindarin);
6+
7+#define JVERB_AND 1
8+#define JVERB_TO 2
9+#define JVERB_OR 3
610 extern void jverb(concptr in, char *out, int flag);
11+
712 extern void sjis2euc(char *str);
813 extern void euc2sjis(char *str);
914 extern byte codeconv(char *str);
Show on old repository browser