home *** CD-ROM | disk | FTP | other *** search
/ Collection of Hack-Phreak Scene Programs / cleanhpvac.zip / cleanhpvac / LESS_SRC.ZIP / DATA.C < prev    next >
Text File  |  1994-09-09  |  2KB  |  97 lines

  1. #define C_EOB 0
  2. #define C_EOS 0
  3. #define CRUNCH(a,b) \ ((a)*16+(b))
  4.  
  5.  
  6. #define C_LINE(X1,Y1,X2,Y2) \
  7.     CRUNCH(X1,Y1),CRUNCH(((X1)+(X2))/2,((Y1)+(Y2))/2), \
  8.     CRUNCH(((X1)+(X2))/2,((Y1)+(Y2))/2),CRUNCH(X2,Y2)
  9. #define C_BEZIER(X1,Y1,X2,Y2,X3,Y3,X4,Y4) \
  10.     CRUNCH(X1,Y1),CRUNCH(X2,Y2),CRUNCH(X3,Y3),CRUNCH(X4,Y4)
  11.  
  12. // All delays are in frames (1/70s)
  13. char cmdtable[]={
  14.  
  15. //--------- 4 V1.0 ---------
  16.  0x11,0x17,0x17,0x77,        // 4
  17.  0x77,0x77,0x76,0x76,
  18.  0x76,0x16,0x26,0x21,
  19.  0x21,0x21,0x11,0x11,
  20.  0x51,0x51,0x5b,0x5b,
  21.  0x5b,0x5b,0x5b,0x5b,
  22.  0x5b,0x5b,0x6b,0x6b,
  23.  0x6b,0x6b,0x61,0x61,
  24.  0x61,0x61,0x51,0x51,
  25.  0x51,0x51,0x51,0x51,
  26.  
  27.  0x81,0x81,0x8b,0x8b,        // K
  28.  0x8b,0x8b,0x9b,0x9b,
  29.  0x9b,0x9b,0x91,0x91,
  30.  0x91,0x91,0x81,0x81,
  31.  
  32.  0xb1,0x88,0x85,0xbb,
  33.  0xbb,0xbb,0xcb,0xcb,
  34.  0xcb,0x94,0x99,0xc1,
  35.  0xc1,0xc1,0xb1,0xb1,
  36.  
  37. //------------------------
  38.  0x01,0x11,0xb1,0xb6,0xb6,        // O
  39.  0xb6,0xb6,0xa6,0xa6,
  40.  0xa1,0xa2,0xa2,0x12,
  41.  0x12,0x11,0x11,0x12,
  42.  0x26,0x35,0x15,0xb5,
  43.  0xb5,0xb5,0xb5,0xb5,
  44.  0xb5,0xb6,0xb6,0xb6,
  45.  0xb6,0x26,0x12,0x12,
  46.  0x12,0x12,0x22,0x22,
  47.  0x22,0x22,0x22,0x2c,
  48.  
  49.  0x17,0x18,0x18,0xb8,                  // R
  50.  0xb8,0xb9,0xb9,0xb9,
  51.  0xb9,0x19,0x2b,0x2b,
  52.  0x2b,0x2b,0x1b,0x1b,
  53.  
  54.  0x1b,0x86,0x5b,0xbb,
  55.  0xbb,0xbc,0xbc,0xbc,
  56.  0xb8,0x5c,0x8c,0x2c,
  57.  0x2c,0x1c,0x1b,0x10,
  58.  
  59. // ------------------------
  60.  0x01,0x0b,0x0b,0x2b,                // L
  61.  0x2b,0x2b,0x2a,0x2a,
  62.  0x2a,0x0a,0x1a,0x11,
  63.  0x11,0x11,0x01,0x01,
  64.  
  65.  0x31,0x36,0x3b,0x3b,               // E
  66.  0x6b,0x6b,0x6a,0x6a,
  67.  0x6a,0x3a,0x36,0x66,
  68.  0x66,0x36,0x32,0x62,
  69.  0x62,0x62,0x61,0x61,
  70.  0x61,0x61,0x31,0x31,
  71.  
  72.  0xa1,0x51,0xba,0x7a,                  // S
  73.  0x7a,0x7a,0x7b,0x7b,
  74.  0x7b,0xcb,0x62,0xa2,
  75.  0xa2,0xa2,0xa1,0xa1,
  76.  
  77.  0xd1,0x81,0xea,0xaa,                  // S
  78.  0xaa,0xaa,0xab,0xab,
  79.  0xab,0xfb,0x92,0xd2,
  80.  0xd2,0xd2,0xd1,0xd1,
  81.  
  82. 0x00
  83.  
  84. };
  85. #define SIZECHANGE -2
  86. #define ENDOFTABLE -1,-1
  87.  
  88. int lengthtable[]={
  89.  60,60,
  90. ENDOFTABLE
  91. };
  92.  
  93. char delaytable[]={
  94.  100,100,1
  95. };
  96.  
  97.