From: sparky4 Date: Fri, 2 Sep 2016 18:25:52 +0000 (-0500) Subject: ca_t added X-Git-Url: http://4ch.mooo.com/gitweb/?p=16.git;a=commitdiff_plain;h=df87f3ca145683309e2ebd3eb186cf6aca2c4e37 ca_t added --- diff --git a/src/lib/16_ca.c b/src/lib/16_ca.c index d9dc6a1f..bd2f9bbd 100755 --- a/src/lib/16_ca.c +++ b/src/lib/16_ca.c @@ -46,10 +46,10 @@ loaded into the data segment ============================================================================= */ -typedef struct +/*typedef struct { unsigned bit0,bit1; // 0-255 is a character, > is a pointer to a node -} huffnode; +} huffnode;*/ //moved to src/lib/typdefst.h /*typedef struct diff --git a/src/lib/typdefst.h b/src/lib/typdefst.h index 5be1ab60..d01ebab4 100755 --- a/src/lib/typdefst.h +++ b/src/lib/typdefst.h @@ -181,12 +181,22 @@ typedef struct //========================================================================== -//16_ca.h +//from 16_ca +//========================================================================== + +typedef struct +{ + unsigned bit0,bit1; // 0-255 is a character, > is a pointer to a node +} huffnode; + typedef struct { byte ca_levelbit,ca_levelnum; + huffnode huffnode; } ca_t; +//========================================================================== + //actual global game varables! typedef struct {