From df87f3ca145683309e2ebd3eb186cf6aca2c4e37 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Fri, 2 Sep 2016 13:25:52 -0500 Subject: [PATCH] ca_t added --- src/lib/16_ca.c | 4 ++-- src/lib/typdefst.h | 12 +++++++++++- 2 files changed, 13 insertions(+), 3 deletions(-) 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 { -- 2.39.2