summaryrefslogtreecommitdiffstats
path: root/mbbsd/card.c
Commit message (Collapse)AuthorAgeFilesLines
* - refine key processing of CR(C-M), LF(C-J), BS(C-H), BS2(0x7f)piaip2008-04-211-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4223 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) change API names to visio format: stand_title -> vs_hdr.piaip2008-04-151-1/+1
| | | | | | | - mouts -> (curses style) mvouts git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4167 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add warning on famous gamespiaip2008-03-011-1/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3956 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change money name to macro for better isolationpiaip2007-12-081-8/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3650 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* large terminal rules.piaip2005-08-061-8/+8
| | | | | | | | | | | | | - vmsg with formats is now vmsgf. - deprecates vmsg_lines = i hope changes in admin does not make trouble because the old way looks like a mess within my terminal. - pending issue: = pressanykey_or_callangel is in oldway = showtitle, msg_seperator, and others should also be fixed git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2995 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New style to specify ANSI escape commands.piaip2005-06-081-27/+27
| | | | | | | | | First introduced by pmore, but this hard work (to transform all files to new style) is made by Rong-en Fan (rafan). Thanks! git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2796 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* explicitly tell C compiler functions have no parameterkcwu2005-03-121-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace rand() with random() for better randomnesskcwu2005-02-041-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2460 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* To avoid huge load, sleep 0.1s after each card game, chichken, gamble ↵kcwu2004-11-061-0/+1
| | | | | | transaction git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2316 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* show 6 card when playing blackjackkcwu2004-10-311-16/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2300 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change/fix the rule of blackjackkcwu2004-10-311-39/+55
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2289 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix card_jack crashkcwu2004-10-211-2/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2272 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace some prints() with outs(),kcwu2004-06-101-7/+7
| | | | | | | | | | | | replace some outs() with outc(), replace some fprintf() with fputs(), and so on. for performance. and don't treat user input as format string. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2055 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reoragnize functions ptt2004-04-241-36/+12
| | | | | | | | | mprints, pprints -> mouts remove useless refresh, pressanykey(), sleep,... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1833 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove useless functionsptt2004-04-231-1/+1
| | | | | | | integrate similiar functions git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1827 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert cuser from pointer to buffer.ptt2004-04-211-7/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1798 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add mmap to cuser get ride of passwd_updateptt2004-03-311-8/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1640 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sprintf() -> snprintf()in22002-07-231-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@435 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* indent -i4in22002-07-211-25/+25
| | | | | | | fix indent's word error git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@429 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* indentin22002-07-061-459/+505
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@415 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* global variable move to var.cin22002-06-041-14/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@280 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change getdata() constant to sizeof()in22002-04-291-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@131 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Initial revisionin22002-03-071-0/+625
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1 63ad8ddf-47c3-0310-b6dd-a9e9d9715204