home *** CD-ROM | disk | FTP | other *** search
/ No Fragments Archive 12: Textmags & Docs / nf_archive_12.iso / MAGS / SOURCES / ATARI_SRC.ZIP / atari source / FALCON / ACC / OUTLINE.ACC / FSMIO.H < prev    next >
Encoding:
C/C++ Source or Header  |  2001-02-10  |  2.2 KB  |  60 lines

  1. /* FSMIO.H
  2.  * ====================================================================
  3.  * Prototypes, externs and defines for files using FSMIO
  4.  */
  5.  
  6.  
  7. /* PROTOTYPES
  8.  * ====================================================================
  9.  */
  10. void     GetExtendSysPath( void );
  11. char    GetBaseDrive( void );
  12. long    GetBootDrive( void );
  13. void     read_fonts( int flag, int flag2 );
  14. FON_PTR get_single_fsm_font( char *fontname );
  15. void    set_font_pts( FON_PTR font, char points[]);
  16. int    build_list( FON_PTR *top_list, FON_PTR *top_last, int type );
  17. void    free_arena_links( void );
  18. int    CountFonts( FON_PTR head_list, int flag );
  19. long    GetFontMin( void );
  20. long    GetCharMin( void );
  21. int    fast_write_extend( void );
  22. int     write_extend( void );
  23. int    CountSelectedFonts( FON_PTR head_list, int flag );
  24.  
  25.  
  26. /* STRUCTURE
  27.  * ====================================================================
  28.  */
  29. /* Structure to store the global variables required for EXTEND.SYS */
  30. typedef struct fsm
  31. {
  32.    char FontPath[ 128 ];    /* Font Directory Path             */
  33.    long SpeedoCacheSize;    /* Speedo Cache Size           */
  34.    long BitMapCacheSize;    /* BITmap Cache Size           */
  35.    int  speedo_percent;        /* Percentage (1-9) for fsm cache  */
  36.    int  Width;            /* Width Tables?           */
  37.    int  point_size[ MAX_POINTS ]; /* Point Sizes of Current font  */
  38. }XFSM;
  39.  
  40.  
  41. /* EXTERNS
  42.  * ====================================================================
  43.  */
  44. extern DTA *olddma, newdma;        /* DTA buffers for _our_ searches */
  45. extern int  BootDrive;                 /* 'A' or 'C'     */
  46. extern char ExtendPath[];            /* Path of EXTEND.SYS          */
  47. extern char OldExtendPath[];                /* Path of EXTEND.OLD          */
  48. extern char OutlinePath[];            /* Path of Outline Fonts          */
  49. extern char SearchPath[];
  50. extern char line_buf[];
  51.  
  52. extern int     available_count, installed_count;/* # of active/inactive fonts    */
  53. extern FON_PTR available_list, installed_list;  /* Linked list pointers to the   */
  54. extern FON_PTR available_last, installed_last;  /* active/inactive fonts.        */
  55. extern int     font_counter;                 /* # of fonts loaded available   */
  56. extern int     Fonts_Loaded;
  57. extern XFSM Current;
  58. extern XFSM Backup;
  59.  
  60.