summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-02-12 22:31:36 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-02-12 22:31:36 +0800
commit78e8c9f5ce3e6edaada4550b3a05c91b321ca1df (patch)
treeb949c7476a516414332c5d1078c6261a1c143b2a /mbbsd
parent35bf1e76c59fa46a7dc2fccff743133a599f68bf (diff)
downloadpttbbs-78e8c9f5ce3e6edaada4550b3a05c91b321ca1df.tar
pttbbs-78e8c9f5ce3e6edaada4550b3a05c91b321ca1df.tar.gz
pttbbs-78e8c9f5ce3e6edaada4550b3a05c91b321ca1df.tar.bz2
pttbbs-78e8c9f5ce3e6edaada4550b3a05c91b321ca1df.tar.lz
pttbbs-78e8c9f5ce3e6edaada4550b3a05c91b321ca1df.tar.xz
pttbbs-78e8c9f5ce3e6edaada4550b3a05c91b321ca1df.tar.zst
pttbbs-78e8c9f5ce3e6edaada4550b3a05c91b321ca1df.zip
MRT map
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@660 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/menu.c4
-rw-r--r--mbbsd/xyz.c9
2 files changed, 11 insertions, 2 deletions
diff --git a/mbbsd/menu.c b/mbbsd/menu.c
index 9e234488..3293e1d2 100644
--- a/mbbsd/menu.c
+++ b/mbbsd/menu.c
@@ -1,4 +1,4 @@
-/* $Id: menu.c,v 1.22 2003/01/17 10:15:16 kcwu Exp $ */
+/* $Id: menu.c,v 1.23 2003/02/12 14:31:34 victor Exp $ */
#include "bbs.h"
/* help & menu processring */
@@ -507,6 +507,8 @@ static int playground() {
static commands_t slist[] = {
{x_dict,0, "11Dictionary "
"【\033[1;33m 趣味大字典 \033[m】"},
+ {x_mrtmap, 0, "22MRTmap "
+ "【\033[1;34m 捷運地圖 \033[m】"},
{main_railway, PERM_LOGINOK, "33Railway "
"【\033[1;32m 火車表查詢 \033[m】"},
{NULL, 0, NULL}
diff --git a/mbbsd/xyz.c b/mbbsd/xyz.c
index d1e386f1..55f9e475 100644
--- a/mbbsd/xyz.c
+++ b/mbbsd/xyz.c
@@ -1,4 +1,4 @@
-/* $Id: xyz.c,v 1.16 2003/01/23 18:39:24 in2 Exp $ */
+/* $Id: xyz.c,v 1.17 2003/02/12 14:31:34 victor Exp $ */
#include "bbs.h"
/* 各種統計及相關資訊列表 */
@@ -95,6 +95,13 @@ x_weather()
}
int
+x_mrtmap()
+{
+ more("etc/MRT.map", YEA);
+ return 0;
+}
+
+int
x_stock()
{
more("etc/stock.tmp", YEA);