summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/config.h5
-rw-r--r--include/proto.h2
-rw-r--r--include/pttstruct.h6
-rw-r--r--include/uflags.h2
4 files changed, 8 insertions, 7 deletions
diff --git a/include/config.h b/include/config.h
index 4e98c3df..7d63e3dd 100644
--- a/include/config.h
+++ b/include/config.h
@@ -246,8 +246,9 @@
#define MAX_FRIEND (256) /* 更 cache ぇ程狟ね计ヘ */
#define MAX_REJECT (32) /* 更 cache ぇ程胊计ヘ */
#define MAX_MSGS (10) /* 瞴(荐癟)г瑻 */
-#define MAX_MOVIE (500) /* 程笆篈狾计 */
-#define MAX_MOVIE_SECTION (10) /* 程笆篈狾摸 */
+#define MAX_ADBANNER (500) /* 程笆篈狾计 */
+#define MAX_ADBANNER_SECTION (10) /* 程笆篈狾摸 */
+#define MAX_ADBANNER_HEIGHT (11) /* 程笆篈狾ず甧蔼 */
#define MAX_ITEMS (1000) /* ヘ魁程Τ碭兜 */
#define MAX_HISTORY (12) /* 笆篈狾玂 12 掸菌癘魁 */
#define MAX_CROSSNUM (9) /* 程crosspostΩ计 */
diff --git a/include/proto.h b/include/proto.h
index a3e87a7a..ea65837f 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -346,7 +346,7 @@ int query_file_money(const fileheader_t *pfh);
/* menu */
void showtitle(const char *title, const char *mid);
-void movie(int i);
+void adbanner(int i);
int main_menu(void);
int admin(void);
int Mail(void);
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 3ce9ecb4..1be9f2a1 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -548,14 +548,14 @@ typedef struct {
time4_t close_vote_time;
/* pttcache */
- char notes[MAX_MOVIE][256*11];
+ char notes[MAX_ADBANNER][256*MAX_ADBANNER_HEIGHT];
char gap_18[sizeof(int)];
char today_is[20];
// FIXME remove it
- int __never_used__n_notes[MAX_MOVIE_SECTION]; /* 竊いΤ碭 狾 */
+ int __never_used__n_notes[MAX_ADBANNER_SECTION]; /* 竊いΤ碭 狾 */
char gap_19[sizeof(int)];
// FIXME remove it
- int __never_used__next_refresh[MAX_MOVIE_SECTION]; /* Ω璶refresh 狾 */
+ int __never_used__next_refresh[MAX_ADBANNER_SECTION]; /* Ω璶refresh 狾 */
char gap_20[sizeof(int)];
msgque_t loginmsg; /* 秈瞴 */
int last_film;
diff --git a/include/uflags.h b/include/uflags.h
index 4b695658..d0414db0 100644
--- a/include/uflags.h
+++ b/include/uflags.h
@@ -21,7 +21,7 @@
//#define CLOAK_FLAG 0x00000008 /* deprecated by cuser.invisible: true if cloak was ON last session */
#define FRIEND_FLAG 0x00000010 /* true if show friends only */
#define BRDSORT_FLAG 0x00000020 /* true if the boards sorted alphabetical */
-#define MOVIE_FLAG 0x00000040 /* true if show movie */
+#define ADBANNER_FLAG 0x00000040 /* (was: MOVIE_FLAG, true if show advertisement banner */
/* deprecated flag */
//#define COLOR_FLAG 0x00000080 /* true if the color mode open */
//#define MIND_FLAG 0x00000100 /* true if mind search mode open <-Heat*/