]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/typdefst.h
ca_t added
[16.git] / src / lib / typdefst.h
index 5be1ab60351454395d4797680ea0cec550b90393..d01ebab40598eea90e70e85fbdba0ad4273d67bd 100755 (executable)
@@ -181,12 +181,22 @@ typedef struct
 \r
 //==========================================================================\r
 \r
-//16_ca.h\r
+//from 16_ca\r
+//==========================================================================\r
+\r
+typedef struct\r
+{\r
+  unsigned bit0,bit1;  // 0-255 is a character, > is a pointer to a node\r
+} huffnode;\r
+\r
 typedef struct\r
 {\r
        byte            ca_levelbit,ca_levelnum;\r
+       huffnode huffnode;\r
 } ca_t;\r
 \r
+//==========================================================================\r
+\r
 //actual global game varables!\r
 typedef struct\r
 {\r