• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revisionc72dc601ebf9f51bcc3bfbb79c4e7dbcd52f9552 (tree)
Time2019-06-10 23:20:53
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 中継処理に関する変数を chuukei.c へ移動.

Change Summary

Incremental Difference

--- a/src/chuukei.c
+++ b/src/chuukei.c
@@ -54,6 +54,13 @@
5454 #define DEFAULT_DELAY 50
5555 #define RECVBUF_SIZE 1024
5656
57+#ifdef CHUUKEI
58+bool chuukei_server;
59+bool chuukei_client;
60+char *server_name;
61+int server_port;
62+#endif
63+
5764 static long epoch_time; /* バッファ開始時刻 */
5865 static int browse_delay; /* 表示するまでの時間(100ms単位)(この間にラグを吸収する) */
5966 #ifdef CHUUKEI
--- a/src/variable.c
+++ b/src/variable.c
@@ -47,10 +47,3 @@ MONSTER_IDX pet_t_m_idx;
4747 MONSTER_IDX riding_t_m_idx;
4848
4949 MONSTER_IDX today_mon;
50-
51-#ifdef CHUUKEI
52-bool chuukei_server;
53-bool chuukei_client;
54-char *server_name;
55-int server_port;
56-#endif
Show on old repository browser