diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/chc.h | 1 | ||||
-rw-r--r-- | include/pttstruct.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/chc.h b/include/chc.h index 416f1193..052565cf 100644 --- a/include/chc.h +++ b/include/chc.h @@ -37,6 +37,7 @@ typedef struct chcusr_t{ int win; int lose; int tie; + unsigned short rating; } chcusr_t; #define CHC_ACT_BOARD 0x1 /* set if transfered board to this sock */ diff --git a/include/pttstruct.h b/include/pttstruct.h index 2fb8dd87..edffe721 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -99,7 +99,8 @@ typedef struct userec_t { unsigned char goodsale; /* 競標 好的評價 */ unsigned char badsale; /* 競標 壞的評價 */ char myangel[IDLEN+1]; /* 我的小天使 */ - char pad[54]; + unsigned short chess_elo_rating; /* 象棋等級分 */ + char pad[52]; } userec_t; /* these are flags in userec_t.uflag */ #define PAGER_FLAG 0x4 /* true if pager was OFF last session */ |