home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / sampcode / qc_prog / chap14 / graphcha.c < prev    next >
Encoding:
C/C++ Source or Header  |  1988-04-07  |  665 b   |  18 lines

  1. /*   grafchar.c -- draws graphics characters with      */
  2. /*                 attributes on the screen            */
  3. /*  Program list : grafchar.c, initstuf.c, drawchar.c, */
  4. /*                  scrfun.c                           */
  5. /*  User include files: keys.h, scrn.h, grafchar.h     */
  6. /*  Note: activate Screen Swapping On in Debug menu    */
  7.  
  8. #include "grafchar.h"
  9. unsigned char Grchr[NUMCHARS];  /* to store graphics set */
  10. void Init_stuff(void);      /* in initstuf.c */
  11. void Draw_chars(void);      /* in drawchar.c */
  12.  
  13. main()
  14. {
  15.     Init_stuff();  /* initialize vital elements */
  16.     Draw_chars();  /* map keys to graphics characters */
  17. }
  18.