summaryrefslogtreecommitdiffstats
path: root/include/proto.h
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-15 01:16:13 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-15 01:16:13 +0800
commita942aaef1cdde595f482a853e6a1291c04b9d2c7 (patch)
tree73c7992b234f85bd7440a33ccf2a6c610cdff42c /include/proto.h
parenta2f6c27927c37f89b888f9e4c1afe96049bdf406 (diff)
downloadpttbbs-a942aaef1cdde595f482a853e6a1291c04b9d2c7.tar
pttbbs-a942aaef1cdde595f482a853e6a1291c04b9d2c7.tar.gz
pttbbs-a942aaef1cdde595f482a853e6a1291c04b9d2c7.tar.bz2
pttbbs-a942aaef1cdde595f482a853e6a1291c04b9d2c7.tar.lz
pttbbs-a942aaef1cdde595f482a853e6a1291c04b9d2c7.tar.xz
pttbbs-a942aaef1cdde595f482a853e6a1291c04b9d2c7.tar.zst
pttbbs-a942aaef1cdde595f482a853e6a1291c04b9d2c7.zip
- (internal) code refine - improving visio system
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4164 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/proto.h')
-rw-r--r--include/proto.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/proto.h b/include/proto.h
index a223ac78..bdea4f75 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -46,6 +46,12 @@ void CallAngel(void);
void angel_toggle_pause();
void angel_load_my_fullnick(char *buf, int szbuf); // full nick!
const char *angel_get_nick();
+void pressanykey_or_callangel(void);
+#ifdef PLAY_ANGEL
+#define PRESSANYKEY() pressanykey_or_callangel()
+#else // !PLAY_ANGEL
+#define PRESSANYKEY() pressanykey()
+#endif
/* announce */
int a_menu(const char *maintitle, const char *path, int lastlevel, int lastbid, char *trans_buffer);
@@ -598,13 +604,9 @@ int search_aidu(char *bfile, aidu_t aidu);
int log_user(const char *fmt, ...) GCC_CHECK_FORMAT(1,2);
time4_t gettime(int line, time4_t dt, const char* head);
void setcalfile(char *buf, char *userid);
-void stand_title(const char *title);
char getans(const char *fmt,...) GCC_CHECK_FORMAT(1,2);
-int getkey(const char *fmt,...) GCC_CHECK_FORMAT(1,2);
-int vmsgf(const char *fmt,...) GCC_CHECK_FORMAT(1,2);
-int vmsg(const char *msg);
-int show_file(const char *filename, int y, int lines, int mode);
-void bell(void);
+int getkey(const char *fmt,...) GCC_CHECK_FORMAT(1,2);
+int show_file(const char *filename, int y, int lines, int mode);
int cursor_key(int row, int column);
int search_num(int ch, int max);
int is_BM(const char *list);
@@ -628,9 +630,6 @@ int is_uBM(const char *list, const char *id);
void *MALLOC(int size);
void FREE(void *ptr);
#endif
-#ifdef PLAY_ANGEL
-void pressanykey_or_callangel(void);
-#endif
void syncnow(void);
/* syspost */
@@ -681,8 +680,9 @@ int j_ticket_main(void);
/* term */
void init_tty(void);
-int term_init(void);
+int term_init(void);
void term_resize(int w, int h);
+void bell(void);
/* topsong */
void sortsong(void);