static int sd; /* ソケットのファイルディスクリプタ */
static long time_diff; /* プレイ側との時間のずれ(これを見ながらディレイを調整していく) */
static int server_port;
-static char server_name[MAX_HOSTNAME];
+static GAME_TEXT server_name[MAX_HOSTNAME];
#endif
static int movie_fd;
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, concptr s);
static void disable_chuukei_server(void)
{
}
-static int read_chuukei_prf(cptr prf_name)
+static int read_chuukei_prf(concptr prf_name)
{
char buf[1024];
FILE *fp;
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, concptr str)
{
char buf[1024];
char buf2[1024];
if (fd >= 0)
{
char out_val[160];
-
- /* Close the file */
(void)fd_close(fd);
/* Build query */
{
char id;
int x, y, len;
- SYMBOL_COLOR col;
+ TERM_COLOR col;
int i;
unsigned char tmp1, tmp2, tmp3, tmp4;
char *mesg;
}
#endif /* CHUUKEI */
-void prepare_browse_movie_aux(cptr filename)
+void prepare_browse_movie_aux(concptr filename)
{
movie_fd = fd_open(filename, O_RDONLY);
init_buffer();
}
-void prepare_browse_movie(cptr filename)
+void prepare_browse_movie(concptr filename)
{
char buf[1024];
path_build(buf, sizeof(buf), ANGBAND_DIR_USER, filename);