home *** CD-ROM | disk | FTP | other *** search
/ Giga Games 1 / Giga Games.iso / net / go / prog / sgf2mi13.taz / sgf2mi13 / game2eps.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-02-27  |  1.2 KB  |  56 lines

  1. /* #[info:            */
  2. /************************************************************************
  3.  *                                    *
  4.  *                Jan van der Steen                *
  5.  *                                    *
  6.  *          Centre for Mathematics and Computer Science        *
  7.  *              Amsterdam, the Netherlands            *
  8.  *                                    *
  9.  *----------------------------------------------------------------------*
  10.  * File      : game2eps.h                         *
  11.  * Purpose : Emit a Go Game Using PostScript directives            *
  12.  * Version : 1.3                         *
  13.  * Modified: 2/6/93 19:44:50                        *
  14.  * Author  : Jan van der Steen (jansteen@cwi.nl)             *
  15.  ************************************************************************/
  16. /* #]info:            */ 
  17.  
  18. #ifndef __GAME2EPSH
  19. #define __GAME2EPSH
  20.  
  21. /* #[include:        */
  22.  
  23. #include "gogame.h"
  24.  
  25. /* #]include:        */ 
  26. /* #[define:        */
  27.  
  28. #define    DEVICE_EPS    0
  29. #define    DEVICE_TEX    1
  30.  
  31. /* #]define:        */ 
  32. /* #[typedef:        */
  33.  
  34. typedef struct epsf_info {
  35.     char *    eps_dir;    /* Where the eps files are created    */
  36.     char *    eps_name;    /* Constructed from input filename    */
  37.     int        eps_size;    /* The size of a diagram when printed    */
  38. } EPSFINFO;
  39.  
  40. /* #]typedef:        */ 
  41. /* #[prototype:        */
  42.  
  43. #ifdef __STDC__
  44. #    define    PROTO(s) s
  45. #else
  46. #    define    PROTO(s) ()
  47. #endif
  48.  
  49. void        game2eps     PROTO((GOGAME *g, int n, int min, int max));
  50.  
  51. #undef PROTO
  52.  
  53. /* #]prototype:        */ 
  54.  
  55. #endif
  56.