home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Hack-Phreak Scene Programs
/
cleanhpvac.zip
/
cleanhpvac
/
LESS_SRC.ZIP
/
DATA.C
< prev
next >
Wrap
Text File
|
1994-09-09
|
2KB
|
97 lines
#define C_EOB 0
#define C_EOS 0
#define CRUNCH(a,b) \ ((a)*16+(b))
#define C_LINE(X1,Y1,X2,Y2) \
CRUNCH(X1,Y1),CRUNCH(((X1)+(X2))/2,((Y1)+(Y2))/2), \
CRUNCH(((X1)+(X2))/2,((Y1)+(Y2))/2),CRUNCH(X2,Y2)
#define C_BEZIER(X1,Y1,X2,Y2,X3,Y3,X4,Y4) \
CRUNCH(X1,Y1),CRUNCH(X2,Y2),CRUNCH(X3,Y3),CRUNCH(X4,Y4)
// All delays are in frames (1/70s)
char cmdtable[]={
//--------- 4 V1.0 ---------
0x11,0x17,0x17,0x77, // 4
0x77,0x77,0x76,0x76,
0x76,0x16,0x26,0x21,
0x21,0x21,0x11,0x11,
0x51,0x51,0x5b,0x5b,
0x5b,0x5b,0x5b,0x5b,
0x5b,0x5b,0x6b,0x6b,
0x6b,0x6b,0x61,0x61,
0x61,0x61,0x51,0x51,
0x51,0x51,0x51,0x51,
0x81,0x81,0x8b,0x8b, // K
0x8b,0x8b,0x9b,0x9b,
0x9b,0x9b,0x91,0x91,
0x91,0x91,0x81,0x81,
0xb1,0x88,0x85,0xbb,
0xbb,0xbb,0xcb,0xcb,
0xcb,0x94,0x99,0xc1,
0xc1,0xc1,0xb1,0xb1,
//------------------------
0x01,0x11,0xb1,0xb6,0xb6, // O
0xb6,0xb6,0xa6,0xa6,
0xa1,0xa2,0xa2,0x12,
0x12,0x11,0x11,0x12,
0x26,0x35,0x15,0xb5,
0xb5,0xb5,0xb5,0xb5,
0xb5,0xb6,0xb6,0xb6,
0xb6,0x26,0x12,0x12,
0x12,0x12,0x22,0x22,
0x22,0x22,0x22,0x2c,
0x17,0x18,0x18,0xb8, // R
0xb8,0xb9,0xb9,0xb9,
0xb9,0x19,0x2b,0x2b,
0x2b,0x2b,0x1b,0x1b,
0x1b,0x86,0x5b,0xbb,
0xbb,0xbc,0xbc,0xbc,
0xb8,0x5c,0x8c,0x2c,
0x2c,0x1c,0x1b,0x10,
// ------------------------
0x01,0x0b,0x0b,0x2b, // L
0x2b,0x2b,0x2a,0x2a,
0x2a,0x0a,0x1a,0x11,
0x11,0x11,0x01,0x01,
0x31,0x36,0x3b,0x3b, // E
0x6b,0x6b,0x6a,0x6a,
0x6a,0x3a,0x36,0x66,
0x66,0x36,0x32,0x62,
0x62,0x62,0x61,0x61,
0x61,0x61,0x31,0x31,
0xa1,0x51,0xba,0x7a, // S
0x7a,0x7a,0x7b,0x7b,
0x7b,0xcb,0x62,0xa2,
0xa2,0xa2,0xa1,0xa1,
0xd1,0x81,0xea,0xaa, // S
0xaa,0xaa,0xab,0xab,
0xab,0xfb,0x92,0xd2,
0xd2,0xd2,0xd1,0xd1,
0x00
};
#define SIZECHANGE -2
#define ENDOFTABLE -1,-1
int lengthtable[]={
60,60,
ENDOFTABLE
};
char delaytable[]={
100,100,1
};