home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Phoenix Heaven Sunny 2
/
APPARE2.BIN
/
oh_towns
/
art2
/
src.lzh
/
MAKEICON.C
< prev
next >
Wrap
C/C++ Source or Header
|
1995-06-17
|
409b
|
26 lines
#include <stdio.h>
#include <egb.h>
#include <msdos.cf>
#include <ryosuke.h>
#include <usrlib.h>
#include <egbmac.h>
main()
{
int i,j;
ginit();
gscreen(3);
TIFFinitwork();
TIFFload("icon.tif",0,0);
char wk[600];
int k;
for (i=0; i<2; i++)
{
EGB_GETBLOCKCOLOR(EGB_work, wk, 416+32*i,0,24,24,0);
for (k=0; k<24*24/8; k++)
printf("0x%02x,",wk[k]);
printf("\n");
}
}