OSDN Git Service

[Refactor] #37353 中継処理に関する変数を chuukei.c へ移動.
authordeskull <deskull@users.sourceforge.jp>
Mon, 10 Jun 2019 14:20:53 +0000 (23:20 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Mon, 10 Jun 2019 14:20:53 +0000 (23:20 +0900)
src/chuukei.c
src/variable.c

index ff61837..45b6f70 100644 (file)
 #define DEFAULT_DELAY 50
 #define RECVBUF_SIZE 1024
 
+#ifdef CHUUKEI
+bool chuukei_server;
+bool chuukei_client;
+char *server_name;
+int server_port;
+#endif
+
 static long epoch_time;  /* バッファ開始時刻 */
 static int browse_delay; /* 表示するまでの時間(100ms単位)(この間にラグを吸収する) */
 #ifdef CHUUKEI
index c0290b9..519ef27 100644 (file)
@@ -47,10 +47,3 @@ MONSTER_IDX pet_t_m_idx;
 MONSTER_IDX riding_t_m_idx;
 
 MONSTER_IDX today_mon;
-
-#ifdef CHUUKEI
-bool chuukei_server;
-bool chuukei_client;
-char *server_name;
-int server_port;
-#endif