summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-06 01:26:54 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-06 01:26:54 +0800
commit60f4244c7815c95f75d2910ae46c2b2483f4e365 (patch)
tree5177cd85e56a65aa548e7f763526bc994c0686d9
parentc5b20c1664ff26a256f96ba1d710317a25783c0f (diff)
downloadpttbbs-60f4244c7815c95f75d2910ae46c2b2483f4e365.tar
pttbbs-60f4244c7815c95f75d2910ae46c2b2483f4e365.tar.gz
pttbbs-60f4244c7815c95f75d2910ae46c2b2483f4e365.tar.bz2
pttbbs-60f4244c7815c95f75d2910ae46c2b2483f4e365.tar.lz
pttbbs-60f4244c7815c95f75d2910ae46c2b2483f4e365.tar.xz
pttbbs-60f4244c7815c95f75d2910ae46c2b2483f4e365.tar.zst
pttbbs-60f4244c7815c95f75d2910ae46c2b2483f4e365.zip
- make more description for token number display
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4494 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/card.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/mbbsd/card.c b/mbbsd/card.c
index 9d389442..f22ec5c0 100644
--- a/mbbsd/card.c
+++ b/mbbsd/card.c
@@ -15,6 +15,7 @@ static int card_money = 0;
static time4_t card_time = 0;
#define CARD_MONEY_DEFAULT (100)
+#define PMONEY (10) // �C����l�Ҧ����ƥ�
int card_reset_money()
{
@@ -25,8 +26,9 @@ int card_reset_money()
clear();
move(t_lines/2-2, 0);
prints( " �Ъ`�N: ���C�ֳ��ثe�w�אּ�ϥλP BBS �t�Ϊ����L�����w�X�A\n\n"
- " �C���C���}�l�z���|���m�� %u �T�w�X�A���}��۰ʥ��ġC\n"
- , card_money);
+ " �C���C���}�l�z���|���m�� %u �T�w�X�A���}��۰ʥ��ġC\n\n"
+ " (P.S: �C���C���i�J�ɷ|���۰ʦ��� %u �T, �ҥH������ܼƥج� %u )\n"
+ , card_money, PMONEY, card_money - PMONEY);
vmsg(NULL);
card_time = now;
@@ -429,7 +431,6 @@ card_99(void)
}
}
-#define PMONEY (10)
#define TEN_HALF (5) /* �Q�I�b��Ticket */
#define JACK (10) /* �³ǧJ��Ticket */
#define NINE99 (99) /* 99 ��Ticket */