OSDN Git Service

[Refactor] #37353 コメント整理 / Refactor comments.
[hengband/hengband.git] / src / chuukei.c
index 0aba397..f4a1934 100644 (file)
@@ -104,7 +104,7 @@ static errr (*old_xtra_hook)(int n, int v);
 static errr (*old_curs_hook)(int x, int y);
 static errr (*old_bigcurs_hook)(int x, int y);
 static errr (*old_wipe_hook)(int x, int y, int n);
-static errr (*old_text_hook)(int x, int y, int n, byte a, cptr s);
+static errr (*old_text_hook)(int x, int y, int n, TERM_COLOR a, cptr s);
 
 static void disable_chuukei_server(void)
 {
@@ -522,7 +522,7 @@ static bool string_is_repeat(char *str, int len)
        return (TRUE);
 }
 
-static errr send_text_to_chuukei_server(int x, int y, int len, byte col, cptr str)
+static errr send_text_to_chuukei_server(TERM_LEN x, TERM_LEN y, int len, TERM_COLOR col, cptr str)
 {
        char buf[1024];
        char buf2[1024];
@@ -932,7 +932,8 @@ static bool flush_ringbuf_client(void)
        while (get_nextbuf(buf))
        {
                char id;
-               int x, y, len, col;
+               int x, y, len;
+               TERM_COLOR col;
                int i;
                unsigned char tmp1, tmp2, tmp3, tmp4;
                char *mesg;