diff options
-rw-r--r-- | include/proto.h | 3 | ||||
-rw-r--r-- | mbbsd/menu.c | 4 | ||||
-rw-r--r-- | mbbsd/xyz.c | 9 | ||||
-rw-r--r-- | sample/etc/MRT.map | 62 |
4 files changed, 75 insertions, 3 deletions
diff --git a/include/proto.h b/include/proto.h index 20963df0..0fb19043 100644 --- a/include/proto.h +++ b/include/proto.h @@ -1,4 +1,4 @@ -/* $Id: proto.h,v 1.36 2003/01/19 01:29:39 in2 Exp $ */ +/* $Id: proto.h,v 1.37 2003/02/12 14:31:36 victor Exp $ */ #ifndef INCLUDE_PROTO_H #define INCLUDE_PROTO_H @@ -559,6 +559,7 @@ int x_86(); int x_history(); int x_weather(); int x_stock(); +int x_mrtmap(); int note(); int Goodbye(); 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 " "¡i\033[1;33m ½ì¨ý¤j¦r¨å \033[m¡j"}, + {x_mrtmap, 0, "22MRTmap " + "¡i\033[1;34m ±¶¹B¦a¹Ï \033[m¡j"}, {main_railway, PERM_LOGINOK, "33Railway " "¡i\033[1;32m ¤õ¨®ªí¬d¸ß \033[m¡j"}, {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" /* ¦UºØ²Îp¤Î¬ÛÃö¸ê°T¦Cªí */ @@ -95,6 +95,13 @@ x_weather() } int +x_mrtmap() +{ + more("etc/MRT.map", YEA); + return 0; +} + +int x_stock() { more("etc/stock.tmp", YEA); diff --git a/sample/etc/MRT.map b/sample/etc/MRT.map new file mode 100644 index 00000000..4732ae32 --- /dev/null +++ b/sample/etc/MRT.map @@ -0,0 +1,62 @@ + + [1;31m¡´[37m²H¤ô [1;36m¡° ·PÁÂ¥»¯¸ MRT ª©´£¨Ñ ¡°[m + [1;31mùø + [1;31m¡³[37m¬õ¾ðªL + [1;31mùø + [1;31m¡³[37m¦Ë³ò ¢g¢g¢g¢g¢g¢g¢g¢g + [1;31mùø [37m¢n[33m' ' [37m¢n + [1;31m¡³[37mÃö´ç ¢n[33m·s©± [37m¢n + [1;31mùø [37m¢n[m¡Ä¡Ä ¡Ä¡Ä [1m¢n + [1;31m¡³[37m©¾¸q ¢n[m ¢j ¢j ¢j ¢j[1m¢n + [1;31mùø ùÝùù¡´[37m·s¥_§ë ¢n[m ¢j ¢j ¢j ¢j[1m¢n + [1;31mù㡳ùù¡·ùùùß [37m¢n[m ¢j ¢j ¢j ¢j[1m¢n + [1;37m´_ ¥_ [31m¡³[37m©_©¥ ¢g¢g¢g¢g¢g¢g¢g¢g¢g¢g¢g + [1;37m¿³ §ë [31mùø [37m¢i¢i¢i¢i¢i¢i¢i¢i¢i¢i¢i + [1;37m±^ [31m¡³[37mÔ§ù©¤ [0;34m ¢i[1;33m¢i[0;34m¢i¢i¢i¢i¢i¢i¢i[1;33m¢i[0;34m¢i + [1;31mùø [0;34m¢i¢i¢i¢i¢i¢i¢i¢i¢i¢i¢i + [1;31m¡³[37m¥ÛµP [30m¢ª¢i¢i¢i¢i¢i¢i¢i¢i¢i¢« + [1;31mùø [0;31m¡½ ¡½ + [1;31m¡³[37m©ú¼w [0;33m____[1m__ ___ [0;32m___[1m____[0;36m___[1m_______ + [1;31mùø [0;33m____[37m [1;33m|/ /[0;32m___ [1m __ \[0;36m__[1m__ [36m__/ + [1;31m¡³[37mªÛ¤s [0;33m____/[1m /|_/ /[0;32m___/[1m /_/ /[0;36m___/[37m [36;1m/ + [1;31mùø [0;33m____/[37m [1;33m/ / /[0;32m___/[37m [1;32m_, _/[0;36m___/[37m [1;36m/ + [1;31m¡³[37m¤hªL [0;33m____/_[1m/ /_/[0;32m___/[1m_/ |_|[0;36m___/[1m_/ + [1;31mùø + [1;31m¡³[37m¼C¼æ + [1;31mùø + [1;31m¡³[37m¶ê¤s + [1;31mùø + [1;31m¡³[37m¥ÁÅv¦è¸ô [30mùÝ¡³ùù¡³ùù¡³ùù¡³ùù¡³ùù¡³ùù¡³ùß + [1;31mùø [30mùø ¡³ + [1;31m¡³[37mÂù³s [30m¡³[37m¤¤ [30mùø + [1;31mùø [30mùø[37m¤s °ê [30m¡´ + [1;31m¡³[37m¤¤¤s ©¾ «n[0;33m¡´[0;1m°ê ©¾ ¤÷ + [1;31mùø [37mµ½ §µ ¨Ê[0;33mùø[0;1m¤¤ §µ ¬ö ¥« + [1m¦è [31mùø [37m¾É ·s ªF[0;33m¡³ [0;1m´° ©À ¬F + [1mªù [31mùø [37m¦x ¥Í ¸ô[0;33mùø [0;1m¤Æ À] ©² [34mùÝ¡³ùù¡³ùù¡´ + [1;34mùÝùùùùùù¡·ùù[31m¡·[34mùùùù¡³ùù¡³ùùùù¡·ùùùù¡³ùù¡³ùù¡³ùùùå[37m¥Ã «á ©ø + [1;34mùø [36mùø [31mùø[37m¥x¥_¨®¯¸ [0;33mùø[0;1m©¾§µ´_¿³ ¬K ¤s ¶§ + [1;34mùø [36mùø [31mùø [0;33mùø [0;1m°ñ + [1mÀs¤s¦x[34m¡³ [36mùø [31m¡³[37m»O¤jÂå°| [0;33m¡³[0;1m¤j¦w + [1;34mùø [36mùø [31mùø [0;33mùø + [1;34mùø [36mùø [31mùø [0;33m¡³[0;1m¬ì§Þ¤j¼Ó + [1m¦¿¤l»A[34m¡³ [36m¡³ùù[31m¡·[37m¤¤¥¿¬ö©À°ó [0;33mùãùùùß + [1;34mùø [37m¤p«nªù [32mùø [0;33mùø + [0;1m·s®H[34m¡´[0m [33;1m¡·[37m¥j«F [0;33m¡³[0;1m¤»±i²p + [1;30mùø [33mùÝùä[32mùß [0;33mùø + [1;30mªO¾ô¡³ [37m³»·Ë[33m¡³ [32m¡³[37m¥x¹q¤j¼Ó [0;33m¡³[0;1mÅï¥ú + [1;30mùø [33mùø [32mùø [0;33mùø + [1;30m©²¤¤¡³ [37m´º¦w[33m¡³ [32m¡³[37m¤½À] [0;33m¡³[0;1m¨¯¥è + [1;30mùø [33mùø [32mùø [0;33mùø + [1;30mÙõ¤l¡³[37m¥Ã¦w¥«³õ[33m¡³ [32m¡³[37m¸U¶© [0;33m¡³[0;1m¸UªÚÂå°| + [1;30mùø [33mùø [32mùø [0;33mùø + [1;30m®ü¤s¡³ [37m«n¶Õ¨¤[33m¡´ [32m¡³[37m´º¬ü [0;33mù㡳ùù¡³ùù¡´ + [1;30mùø [32mùø [37m¸U ¤ì °Ê + [1;30m¤g«°¡³ [32m¡³[37m¤j©WªL ªÚ ¬] ª« + [1;30mùø [32mùø [37mªÀ ¶é + [1;30m¥Ã¹ç¡´ [32m¡³[37m¤C±i °Ï + [1;32mùø + [1;32m¡³[37m·s©±¥«¤½©Ò + [1;32mùø + [1;32m¡´[37m·s©±[m + |