/* DO NOT EDIT THIS FILE. It contains C->PostScript communication definitions that were automatically generated from black.cps */ #define ps_hit() (ps_lookingat(PostScriptInput, 901)) #define ps_stand() (ps_lookingat(PostScriptInput, 902)) #define ps_newgame() (ps_lookingat(PostScriptInput, 903)) #define ps_quit() (ps_lookingat(PostScriptInput, 904)) #define ps_wager(P__0) (ps_lookingat(PostScriptInput, 905) && (_CPS_RETURN_ps_wager(P__0), 1)) #define _CPS_RETURN_ps_wager(P__0) pscanf(PostScriptInput,"s", P__0) #define ps_paint() (ps_lookingat(PostScriptInput, 906)) #define ps_split() (ps_lookingat(PostScriptInput, 907)) #define ps_message(P__0) pprintf(PostScript, _CPS_ps_message, 30, P__0) static char _CPS_ps_message[] = "\221%%[%s] /printf messages send "; #define ps_set_wager(P__0) pprintf(PostScript, _CPS_ps_set_wager, 49, P__0) static char _CPS_ps_set_wager[] = "wager\246\006/ItemValue%d\200\024\246\304\246;\264\246D[ wager ] paintitems "; #define ps_set_chips(P__0) pprintf(PostScript, _CPS_ps_set_chips, 33, P__0) static char _CPS_ps_set_chips[] = "\227Chips:%%[%d] /printf chips send "; #define ps_split_ok() pprintf(PostScript, _CPS_ps_split_ok, 22) static char _CPS_ps_split_ok[] = "/notify-split {\201\003\213\246\311}\264"; #define ps_split_no() pprintf(PostScript, _CPS_ps_split_no, 18) static char _CPS_ps_split_no[] = "/notify-split { }\264"; #define ps_wager_ok() pprintf(PostScript, _CPS_ps_wager_ok, 33) static char _CPS_ps_wager_ok[] = "/notify-wager {\201\003\211\246\311ItemValue\246\321}\264"; #define ps_wager_no() pprintf(PostScript, _CPS_ps_wager_no, 18) static char _CPS_ps_wager_no[] = "/notify-wager { }\264"; #define ps_hit_ok() pprintf(PostScript, _CPS_ps_hit_ok, 20) static char _CPS_ps_hit_ok[] = "/notify-hit {\201\003\205\246\311}\264"; #define ps_hit_no() pprintf(PostScript, _CPS_ps_hit_no, 16) static char _CPS_ps_hit_no[] = "/notify-hit { }\264"; #define ps_stand_ok() pprintf(PostScript, _CPS_ps_stand_ok, 22) static char _CPS_ps_stand_ok[] = "/notify-stand {\201\003\206\246\311}\264"; #define ps_stand_no() pprintf(PostScript, _CPS_ps_stand_no, 18) static char _CPS_ps_stand_no[] = "/notify-stand { }\264"; #define ps_newgame_ok() pprintf(PostScript, _CPS_ps_newgame_ok, 24) static char _CPS_ps_newgame_ok[] = "/notify-newgame {\201\003\207\246\311}\264"; #define ps_newgame_no() pprintf(PostScript, _CPS_ps_newgame_no, 20) static char _CPS_ps_newgame_no[] = "/notify-newgame { }\264"; #define ps_split_first() pprintf(PostScript, _CPS_ps_split_first, 57) static char _CPS_ps_split_first[] = "\272\200\024\200(\274\200\000\200\n\276\200\n\200\000\276\200\000\200\005\276\200\n-10\276-10 -10\276\200\000\200\005\276-10\200\000\276\200\000\200\000\200\000\246\243\301\267\271"; #define ps_split_second() pprintf(PostScript, _CPS_ps_split_second, 113) static char _CPS_ps_split_second[] = "\272\200\024\200(\274\200\000\200\n\276\200\n\200\000\276\200\000\200\005\276\200\n-10\276-10 -10\276\200\000\200\005\276-10\200\000\276FillColor\301\267\200\024\200d\274\200\000\200\n\276\200\n\200\000\276\200\000\200\005\276\200\n-10\276-10 -10\276\200\000\200\005\276-10\200\000\276\200\000\200\000\200\000\246\243\301\267\271"; #define ps_clear_cards() pprintf(PostScript, _CPS_ps_clear_cards, 45) static char _CPS_ps_clear_cards[] = "\272FillColor\301\200\000\200\000\274\201\001\220\201\000\226rect\267\200\000\201\001,\274\201\001\220\201\000\226rect\267\271"; #define ps_flip_card(P__0,P__1) pprintf(PostScript, _CPS_ps_flip_card, 97, P__0, P__1) static char _CPS_ps_flip_card[] = "\272\200\001\200\001\200\001\246\243\301\2002\201\001@\274\2002\200nrect\267\2007\201\001\232\274\200\000\200\000\200\000\246\243\301TF card-val%d\200\001\246\307\246]\304SF card-suit%d\200\001\246\307\246]\304\2002\201\001@\274\2002\200nrect\305\271"; #define ps_show_card(P__0,P__1,P__2,P__3,P__4,P__5) pprintf(PostScript, _CPS_ps_show_card, 563, P__2, P__0, P__5, P__5, P__1, P__4, P__3) static char _CPS_ps_show_card[] = { 99, 97,110,166,170, 47,116,104,105,115, 45,115,116, 97,114,116,120, 37,100,128, 1,201,128, 50,166,139,180, 37,100,128, 2,166,129,123, 37,100,128, 0,166, 75, 123, 32, 47,116,104,105,115, 45,115,116, 97,114,116,121,128, 20,180, 47,104,103, 116,128,110,180,125, 32,123, 37,100,128, 1,166, 75,123, 32, 47,116,104,105,115, 45,115,116, 97,114,116,121,128, 20,180, 47,104,103,116,128, 50,180,125, 32,123, 32, 47,116,104,105,115, 45,115,116, 97,114,116,121,128, 80,180, 47,104,103,116, 128, 50,180,125,166,108,125,166,108,125, 32,123, 32, 47,116,104,105,115, 45,115, 116, 97,114,116,121,129, 1, 64,180, 47,104,103,116,128,110,180,125,166,108,186, 128, 0,128, 0,128, 0,166,163,193, 37,100,128, 0,166, 75,123,186, 99, 97,110, 32, 47, 67,111,108,111,114,166, 93,123,128, 1,128, 0,128, 0,166,163,125, 32, 123,138, 0,230,102,138, 0,230,102,138, 0,230,102,166,163,125,166,108,193,128, 5,116,104,105,115, 45,115,116, 97,114,116,120, 32,116,104,105,115, 45,115,116, 97,114,116,121,128, 60, 32,104,103,116, 32,114,114,101, 99,116,112, 97,116,104, 183,128, 0,128, 0,128, 0,166,163,193,116,104,105,115, 45,115,116, 97,114,116, 120,128, 30,201,116,104,105,115, 45,115,116, 97,114,116,121, 32,104,103,116,128, 2,166, 65,201,128, 5,201,188, 84, 70,151, 75,101,105,116,104, 39,115, 99,115, 104,111,119, 32,116,104,105,115, 45,115,116, 97,114,116,120,128, 30,201,116,104, 105,115, 45,115,116, 97,114,116,121, 32,104,103,116,128, 2,166, 65,201,128, 5, 166,199,188,150, 67, 97,115,105,110,111, 99,115,104,111,119,185,125, 32,123,186, 128, 1,128, 1,128, 1,166,163,193,128, 5,116,104,105,115, 45,115,116, 97,114, 116,120, 32,116,104,105,115, 45,115,116, 97,114,116,121,128, 60, 32,104,103,116, 32,114,114,101, 99,116,112, 97,116,104,183,116,104,105,115, 45,115,116, 97,114, 116,120,128, 5,201,116,104,105,115, 45,115,116, 97,114,116,121, 32,104,103,116, 128, 20,166,199,201,188,128, 0,128, 0,128, 0,166,163,193, 84, 70, 32, 99, 97, 114,100, 45,118, 97,108, 37,100,128, 1,166,199,166, 93,196, 83, 70, 32, 99, 97, 114,100, 45,115,117,105,116, 37,100,128, 1,166,199,166, 93,196,185,125,166,108, 128, 5,116,104,105,115, 45,115,116, 97,114,116,120, 32,116,104,105,115, 45,115, 116, 97,114,116,121,128, 60, 32,104,103,116, 32,114,114,101, 99,116,112, 97,116, 104,197,185, }; #define ps_init() pprintf(PostScript, _CPS_ps_init, 1601) static char _CPS_ps_init[] = { 166,200, 47, 73,116,101,109,166,121,166,143,123,160, 16, 78,101, 87, 83, 47,108, 105,116,101,105,116,101,109, 46,112,115,114,117,110, 32,125,166,107,128, 1,166, 177,128, 3,166,184, 47,116,104,105,115, 45,115,116, 97,114,116,120,128, 0,180, 47,116,104,105,115, 45,115,116, 97,114,116,121,128, 0,180, 47,104,103,116,128, 110,180, 47, 84, 70, 32,123, 32, 47, 84,105,109,101,115, 45, 66,111,108,100,184, 128, 12,192,194,125,180, 47, 83, 70, 32,123, 32, 47, 83,121,109, 98,111,108,184, 128, 12,192,194,125,180, 47, 99, 97,114,100, 45,118, 97,108, 32, 91,145, 65,145, 50,145, 51,145, 52,145, 53,145, 54,145, 55,145, 56,145, 57,146, 49, 48,145, 74, 145, 81,145, 75, 93,180, 47, 99, 97,114,100, 45,115,117,105,116, 32, 91, 32, 60, 65, 55, 62, 32, 60, 65, 56, 62, 32, 60, 65, 57, 62, 32, 60, 65, 65, 62, 32, 93, 180, 47,110,111,116,105,102,121, 45,104,105,116, 32,123, 32,125,180, 47,110,111, 116,105,102,121, 45,115,116, 97,110,100, 32,123, 32,125,180, 47,110,111,116,105, 102,121, 45,110,101,119,103, 97,109,101, 32,123, 32,125,180, 47,110,111,116,105, 102,121, 45,119, 97,103,101,114, 32,123, 32,125,180, 47,110,111,116,105,102,121, 45,115,112,108,105,116, 32,123, 32,125,180, 47, 99,114,101, 97,116,101,105,116, 101,109,115, 32,123, 32, 47,105,116,101,109,115,128, 10,166, 62,181,166, 6, 47, 115,112,108,105,116,149, 83, 80, 76, 73, 84, 47,110,111,116,105,102,121, 45,115, 112,108,105,116, 32, 99, 97,110,128, 40,128, 40, 32, 47,110,101,119, 32, 66,117, 116,116,111,110, 73,116,101,109, 32,115,101,110,100,129, 1,194,129, 0,200, 32, 47,109,111,118,101,128, 3,166,112,115,101,110,100,180, 47,104,105,116,147, 72, 73, 84, 47,110,111,116,105,102,121, 45,104,105,116, 32, 99, 97,110,128, 40,128, 40, 32, 47,110,101,119, 32, 66,117,116,116,111,110, 73,116,101,109, 32,115,101, 110,100,129, 1,194,129, 0,150, 32, 47,109,111,118,101,128, 3,166,112,115,101, 110,100,180, 47,115,116, 97,110,100,149, 83, 84, 65, 78, 68, 47,110,111,116,105, 102,121, 45,115,116, 97,110,100, 32, 99, 97,110,128, 40,128, 40, 32, 47,110,101, 119, 32, 66,117,116,116,111,110, 73,116,101,109, 32,115,101,110,100,129, 1,194, 128,100, 32, 47,109,111,118,101,128, 3,166,112,115,101,110,100,180, 47,110,101, 119,103, 97,109,101,152, 78, 69, 87, 32, 71, 65, 77, 69, 47,110,111,116,105,102, 121, 45,110,101,119,103, 97,109,101, 32, 99, 97,110,128, 40,128, 40, 32, 47,110, 101,119, 32, 66,117,116,116,111,110, 73,116,101,109, 32,115,101,110,100,129, 1, 194,128, 50, 32, 47,109,111,118,101,128, 3,166,112,115,101,110,100,180, 47,113, 117,105,116,148, 81, 85, 73, 84,123,129, 3,136,166,201,125, 32, 99, 97,110,128, 40,128, 40, 32, 47,110,101,119, 32, 66,117,116,116,111,110, 73,116,101,109, 32, 115,101,110,100,129, 1,194,128, 0, 32, 47,109,111,118,101,128, 3,166,112,115, 101,110,100,180, 47,119, 97,103,101,114,150, 87, 97,103,101,114, 58,154, 49, 32, 32, 32, 32, 32, 32, 32, 32, 32, 47, 82,105,103,104,116, 32, 47,110,111,116,105, 102,121, 45,119, 97,103,101,114, 32, 99, 97,110,128, 50,128, 0, 32, 47,110,101, 119, 32, 84,101,120,116, 73,116,101,109, 32,115,101,110,100,129, 1,194,129, 0, 250, 32, 47,109,111,118,101,128, 3,166,112,115,101,110,100,180, 47, 99,104,105, 112,115, 32, 47,112, 97,110,101,108, 95,116,101,120,116,157, 67,104,105,112,115, 58, 53, 48, 48, 48, 32, 32, 32, 47, 82,105,103,104,116, 32,123, 32,125, 32, 99, 97,110,128, 80,128, 0, 32, 47,110,101,119, 32, 77,101,115,115, 97,103,101, 73, 116,101,109, 32,115,101,110,100,181,166, 6, 47, 73,116,101,109, 70,114, 97,109, 101,128, 1,180, 47, 73,116,101,109, 66,111,114,100,101,114,128, 4,180,166, 68, 129, 1,194,129, 1, 44, 47,109,111,118,101,128, 3,166,112,115,101,110,100,180, 47,109,101,115,115, 97,103,101,115, 32, 47,112, 97,110,101,108, 95,116,101,120, 116,144, 47, 82,105,103,104,116, 32,123, 32,125, 32, 99, 97,110,129, 1,244,128, 0, 32, 47,110,101,119, 32, 77,101,115,115, 97,103,101, 73,116,101,109, 32,115, 101,110,100,181,166, 6, 47, 73,116,101,109, 70,114, 97,109,101,128, 1,180, 47, 73,116,101,109, 66,111,114,100,101,114,128, 4,180,166, 68,128, 10,129, 1,244, 47,109,111,118,101,128, 3,166,112,115,101,110,100,180,166, 68,180, 47,119, 97, 103,101,114, 32,105,116,101,109,115, 32, 47,119, 97,103,101,114,166, 93,180, 47, 99,104,105,112,115, 32,105,116,101,109,115, 32, 47, 99,104,105,112,115,166, 93, 180, 47,109,101,115,115, 97,103,101,115, 32,105,116,101,109,115, 32, 47,109,101, 115,115, 97,103,101,115,166, 93,180,125,180, 47,115,108,105,100,101,105,116,101, 109, 32,123,186,181,128, 4,128, 1,166,164, 47,109,111,118,101,105,110,116,101, 114, 97, 99,116,105,118,101,182,115,101,110,100, 32, 47, 98, 98,111,120,182,115, 101,110,100,185,125,180, 47,109, 97,105,110, 32,123, 32, 47,119,105,110, 32,102, 114, 97,109,101, 98,117,102,102,101,114, 32, 47,110,101,119, 32, 68,101,102, 97, 117,108,116, 87,105,110,100,111,119, 32,115,101,110,100,180,123, 32, 47, 80, 97, 105,110,116, 67,108,105,101,110,116, 32,123, 32, 70,105,108,108, 67,111,108,111, 114, 32,102,105,108,108, 99, 97,110,118, 97,115, 32,105,116,101,109,115, 32,112, 97,105,110,116,105,116,101,109,115,129, 3,138,166,201,125,180, 47, 70,114, 97, 109,101, 76, 97, 98,101,108,154, 66,108, 97, 99,107, 32, 74, 97, 99,107,180,125, 32,119,105,110, 32,115,101,110,100,129, 0,200,129, 0,200,129, 2, 88,129, 2, 88, 32, 47,114,101,115,104, 97,112,101, 32,119,105,110, 32,115,101,110,100, 32, 47, 99, 97,110, 32,119,105,110, 32, 47, 67,108,105,101,110,116, 67, 97,110,118, 97,115,166, 93,180, 47, 70,105,108,108, 67,111,108,111,114, 32, 99, 97,110, 32, 47, 67,111,108,111,114,166, 93,123,128, 0,128, 1,128, 0,166,163,125, 32,123, 133, 0,128,133, 0,128,133, 0,128,166,163,125,166,108,180, 99,114,101, 97,116, 101,105,116,101,109,115, 32, 47,115,108,105,100,101,109,103,114, 32, 91, 32,105, 116,101,109,115, 32,123,182,189,181, 47, 73,116,101,109, 67, 97,110,118, 97,115, 166, 93, 77,105,100,100,108,101, 77,111,117,115,101, 66,117,116,116,111,110, 32, 91, 32,105,116,101,109,115, 32, 70,105,108,108, 67,111,108,111,114,128, 6, 32, 45, 49,166,164, 47,115,108,105,100,101,105,116,101,109,166, 60, 93,166, 60, 68, 111,119,110, 84,114, 97,110,115,105,116,105,111,110,128, 4, 32, 45, 49,166,164, 101,118,101,110,116,109,103,114,105,110,116,101,114,101,115,116, 32,125,166, 88, 93, 32,102,111,114,107,101,118,101,110,116,109,103,114,180, 47,109, 97,112, 32, 119,105,110, 32,115,101,110,100, 32, 47,105,116,101,109,109,103,114, 32,105,116, 101,109,115, 32,102,111,114,107,105,116,101,109,115,180,125,180,109, 97,105,110, 32, }; #define _CPS_SEENDEFS #ifndef FILE #include #endif #ifndef PSFILE #include #endif extern PSFILE *PostScript, *PostScriptInput; PSFILE *ps_open_PostScript(); #define ps_flush_PostScript() (psio_flush(PostScript),(psio_error(PostScript) ? exit(0) : 0)) #define ps_close_PostScript() (psio_close(PostScript),PostScript = 0) #define ps_moveto(P__0,P__1) pprintf(PostScript, _CPS_ps_moveto, 5, P__0, P__1) extern char _CPS_ps_moveto[]; #define ps_rmoveto(P__0,P__1) pprintf(PostScript, _CPS_ps_rmoveto, 5, P__0, P__1) extern char _CPS_ps_rmoveto[]; #define ps_lineto(P__0,P__1) pprintf(PostScript, _CPS_ps_lineto, 5, P__0, P__1) extern char _CPS_ps_lineto[]; #define ps_rlineto(P__0,P__1) pprintf(PostScript, _CPS_ps_rlineto, 5, P__0, P__1) extern char _CPS_ps_rlineto[]; #define ps_closepath() psio_putc('\263', PostScript) #define ps_arc(P__0,P__1,P__2,P__3,P__4) pprintf(PostScript, _CPS_ps_arc, 11, P__0, P__1, P__2, P__3, P__4) extern char _CPS_ps_arc[]; #define ps_stroke() psio_putc('\305', PostScript) #define ps_fill() psio_putc('\267', PostScript) #define ps_show(P__0) pprintf(PostScript, _CPS_ps_show, 3, P__0) extern char _CPS_ps_show[]; #define ps_cshow(P__0,L__0) pprintf(PostScript, _CPS_ps_cshow, 4, L__0, P__0) extern char _CPS_ps_cshow[]; #define ps_findfont(P__0) pprintf(PostScript, _CPS_ps_findfont, 3, P__0) extern char _CPS_ps_findfont[]; #define ps_scalefont(P__0) pprintf(PostScript, _CPS_ps_scalefont, 3, P__0) extern char _CPS_ps_scalefont[]; #define ps_setfont() psio_putc('\302', PostScript) #define ps_gsave() psio_putc('\272', PostScript) #define ps_grestore() psio_putc('\271', PostScript) extern int ps_next_user_token; #define ps_define_stack_token(u) ps_DO_defuser(u/**/_token = ps_next_user_token++) #define ps_define_value_token(u) (pprintf(PostScript, "/u load ", sizeof "/u load " - 1), \ ps_define_stack_token(u)) #define ps_define_word_token(u) (pprintf(PostScript, "/u cvx ", sizeof "/u cvx " - 1), \ ps_define_stack_token(u)) #define ps_DO_defuser(P__0) pprintf(PostScript, _CPS_ps_DO_defuser, 4, P__0) extern char _CPS_ps_DO_defuser[]; #define ps_DO_finddef(P__0,P__1) pprintf(PostScript, _CPS_ps_DO_finddef, 7, P__0, P__1) extern char _CPS_ps_DO_finddef[]; #define ps_finddef(font,usertoken) ps_DO_finddef(font,(usertoken)=ps_next_user_token++) #define ps_DO_scaledef(P__0,P__1,P__2) pprintf(PostScript, _CPS_ps_DO_scaledef, 9, P__0, P__1, P__2) extern char _CPS_ps_DO_scaledef[]; #define ps_scaledef(font,scale,usertoken) ps_DO_scaledef(font,scale,(usertoken) = ps_next_user_token++) #define ps_usetfont(P__0) pprintf(PostScript, _CPS_ps_usetfont, 3, P__0) extern char _CPS_ps_usetfont[];