home *** CD-ROM | disk | FTP | other *** search
/ Phoenix Heaven Sunny 2 / APPARE2.BIN / oh_towns / art2 / src.lzh / MAKEICON.C < prev    next >
C/C++ Source or Header  |  1995-06-17  |  409b  |  26 lines

  1. #include <stdio.h>
  2. #include <egb.h>
  3. #include <msdos.cf>
  4. #include <ryosuke.h>
  5. #include <usrlib.h>
  6. #include <egbmac.h>
  7.  
  8. main()
  9. {
  10.     int i,j;
  11.     ginit();
  12.     gscreen(3);
  13.     TIFFinitwork();
  14.     TIFFload("icon.tif",0,0);
  15.     char wk[600];
  16.     int k;
  17.     for (i=0; i<2; i++)
  18.     {
  19.         EGB_GETBLOCKCOLOR(EGB_work, wk, 416+32*i,0,24,24,0);
  20.         for (k=0; k<24*24/8; k++)
  21.             printf("0x%02x,",wk[k]);
  22.         printf("\n");
  23.     }
  24. }
  25.  
  26.