summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-12 12:16:35 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-12 12:16:35 +0800
commitfda6d63bafd474518327879633b2231a5aaa6825 (patch)
tree5b3d291865da567e4ff0592facb0d58913a480bb /include
parent3f76b17cecfae6af61240a7ef9e5f21118e39f40 (diff)
downloadpttbbs-fda6d63bafd474518327879633b2231a5aaa6825.tar
pttbbs-fda6d63bafd474518327879633b2231a5aaa6825.tar.gz
pttbbs-fda6d63bafd474518327879633b2231a5aaa6825.tar.bz2
pttbbs-fda6d63bafd474518327879633b2231a5aaa6825.tar.lz
pttbbs-fda6d63bafd474518327879633b2231a5aaa6825.tar.xz
pttbbs-fda6d63bafd474518327879633b2231a5aaa6825.tar.zst
pttbbs-fda6d63bafd474518327879633b2231a5aaa6825.zip
rewrite few lines.
comment on strange lines. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2496 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/pttstruct.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 8d9d1e27..ce5b5382 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -82,11 +82,11 @@ typedef struct userec_t {
unsigned char state;
unsigned char pager;
unsigned char invisible;
- unsigned int exmailbox;
+ unsigned int exmailbox; // TODO short 就夠了
chicken_t mychicken;
time4_t lastsong;
unsigned int loginview;
- unsigned char channel; /* 動態看板 (unused?) */
+ unsigned char channel; /* TODO unused */
unsigned short vl_count; /* ViolateLaw counter */
unsigned short five_win;
unsigned short five_lose;
@@ -469,7 +469,7 @@ typedef struct {
/* brdshm */
int BMcache[MAX_BOARD][MAX_BMs];
boardheader_t bcache[MAX_BOARD];
- int bsorted[2][MAX_BOARD]; /* 0: by name 1: by class */
+ int bsorted[2][MAX_BOARD]; /* 0: by name 1: by class */ /* 裡頭存的是 bid-1 */
#if HOTBOARDCACHE
unsigned char nHOTs;
int HBcache[HOTBOARDCACHE];
@@ -477,7 +477,7 @@ typedef struct {
time4_t busystate_b[MAX_BOARD];
int total[MAX_BOARD];
unsigned char n_bottom[MAX_BOARD]; /* number of bottom */
- int hbfl[MAX_BOARD][MAX_FRIEND + 1];
+ int hbfl[MAX_BOARD][MAX_FRIEND + 1]; /* hidden board friend list, 0: load time, 1-MAX_FRIEND: uid */
time4_t lastposttime[MAX_BOARD];
time4_t Buptime;
time4_t Btouchtime;