X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ftypdefst.h;h=fdf96a278d241d0c9228e3aad7e1a489f4e2e993;hb=fdba3fc0da3fb172176d9f74a8c4c55a23250e8a;hp=02c1df1a1186b25b011be42f050a390832289fdd;hpb=2f9b9da25eb21b1945419758cff38824ed63e49b;p=16.git diff --git a/src/lib/typdefst.h b/src/lib/typdefst.h index 02c1df1a..fdf96a27 100755 --- a/src/lib/typdefst.h +++ b/src/lib/typdefst.h @@ -188,21 +188,27 @@ typedef struct typedef struct { - __segment *mapsegs[4]; - __segment *mapheaderseg[NUMMAPS]; -} mapinfo_t; + word bit0,bit1; // 0-255 is a character, > is a pointer to a node +} huffnode; + +typedef struct +{ + int mapon, mapnum; + __SEGA *mapsegs[4]; + __SEGA *mapheaderseg[NUMMAPS]; + __SEGA *tinf; +} ca_mapinfo_t; typedef struct { int maphandle[4]; // handle to MAPTEMP / GAMEMAPS -} handle_t; +} ca_handle_t; typedef struct { byte ca_levelbit,ca_levelnum; - int mapon, mapnum; - handle_t file; //files to open - mapinfo_t map; + ca_handle_t file; //files to open + ca_mapinfo_t camap; //_seg *grsegs[NUMCHUNKS]; //byte far grneeded[NUMCHUNKS]; //huffnode huffnode;