/* DO NOT EDIT THIS FILE. It contains C->PostScript communication definitions that were automatically generated from interface.cps */ #define ps_SetupInterface() pprintf(PostScript, _CPS_ps_SetupInterface, 264) extern char _CPS_ps_SetupInterface[]; #define ps_HumanMove(P__0,P__1) pprintf(PostScript, _CPS_ps_HumanMove, 39, P__0, P__1) extern char _CPS_ps_HumanMove[]; #define ps_MovePiece(P__0,P__1) pprintf(PostScript, _CPS_ps_MovePiece, 14, P__0, P__1) extern char _CPS_ps_MovePiece[]; #define ps_InvalidMove(P__0) pprintf(PostScript, _CPS_ps_InvalidMove, 32, P__0) extern char _CPS_ps_InvalidMove[]; #define ps_Message(P__0) pprintf(PostScript, _CPS_ps_Message, 15, P__0) extern char _CPS_ps_Message[]; #define ps_ErrorMsg(P__0) pprintf(PostScript, _CPS_ps_ErrorMsg, 13, P__0) extern char _CPS_ps_ErrorMsg[]; #define ps_DrawDice(P__0,P__1,P__2,P__3) pprintf(PostScript, _CPS_ps_DrawDice, 82, P__0, P__1, P__2, P__3) extern char _CPS_ps_DrawDice[]; #define ps_InitGame() pprintf(PostScript, _CPS_ps_InitGame, 14) extern char _CPS_ps_InitGame[]; #define ps_SetCursor(P__0) pprintf(PostScript, _CPS_ps_SetCursor, 263, P__0) extern char _CPS_ps_SetCursor[]; #define ORIGINAL_CUR 0 #define ROLL_CUR 1 #define MOVE_CUR 2 #define THINKING_CUR 3 #define DOUBLING_CUR 4 #define ps_HumanCanMove(P__0) pprintf(PostScript, _CPS_ps_HumanCanMove, 21, P__0) extern char _CPS_ps_HumanCanMove[]; #define ps_FixedSize() pprintf(PostScript, _CPS_ps_FixedSize, 17) extern char _CPS_ps_FixedSize[]; #define ps_DrawCube(P__0,P__1) pprintf(PostScript, _CPS_ps_DrawCube, 135, P__0, P__1) extern char _CPS_ps_DrawCube[]; #define ps_DrawScore(P__0,P__1) pprintf(PostScript, _CPS_ps_DrawScore, 64, P__0, P__1) extern char _CPS_ps_DrawScore[]; #define ps_SetHumanName(P__0) pprintf(PostScript, _CPS_ps_SetHumanName, 14, P__0) extern char _CPS_ps_SetHumanName[]; #define ps_DebuggingOn() pprintf(PostScript, _CPS_ps_DebuggingOn, 108) extern char _CPS_ps_DebuggingOn[]; #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[];