]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_tdef.h
16_ca needs huge amounts of work and I should remember what needs to be done soon...
[16.git] / src / lib / 16_tdef.h
index 3fa1feb335ced492a655faf2c2195e411e338469..f45195d698b9a93d9336987d3ed69157b18a4a1e 100755 (executable)
@@ -468,11 +468,14 @@ typedef struct
 //from 16_mm\r
 //==========================================================================\r
 \r
-#define MAXBLOCKS              800//kd=1300 wolf3d=700 cata=600\r
+#define MAXBLOCKS              1024//kd=1300 wolf3d=700 cata=600\r
+//----#define MAXUMBS          12\r
 \r
 typedef struct mmblockstruct\r
 {\r
-       unsigned        start,length;\r
+       word    start,length;\r
+       //word  start;  dword length;\r
+//++++ word    blob;   //for data larger than 64k\r
        unsigned        attributes;\r
        memptr          *useptr;        // pointer to the segment start\r
        struct mmblockstruct far *next;\r
@@ -657,10 +660,9 @@ typedef struct
 \r
 #define NUMMAPS                4//39\r
 #define NUMSNDCHUNKS           4//3\r
-//#define NUMPICS              4//132//wolf3d wl6\r
+//#define NUMPICS              132//wolf3d wl6\r
 \r
 #define STRUCTPIC      0\r
-#define CASVT          dword   //*start var type\r
 \r
 \r
 #define DATADIR                "data/"\r
@@ -716,8 +718,8 @@ typedef struct      //TODO: USE THIS!!!!
        byte            far             grneeded[NUMCHUNKS];\r
        word            _seg *audiosegs[NUMSNDCHUNKS];//long\r
 \r
-       CASVT           _seg    *grstarts;      // array of offsets in egagraph, -1 for sparse//long\r
-       CASVT           _seg    *audiostarts;   // array of offsets in audio / audiot//long\r
+       word            _seg    *grstarts;      // array of offsets in egagraph, -1 for sparse//long\r
+       word            _seg    *audiostarts;   // array of offsets in audio / audiot//long\r
 \r
 #ifdef GRHEADERLINKED\r
        huffnode        *grhuffman;\r
@@ -731,7 +733,7 @@ typedef struct      //TODO: USE THIS!!!!
        huffnode        audiohuffman[255];\r
 #endif\r
 \r
-       CASVT           chunkcomplen,chunkexplen;//long\r
+       long            chunkcomplen,chunkexplen;\r
 \r
        sd_t            sd;\r
        //TODO: extend! and learn from keen/wolf/catacomb's code wwww\r