X-Git-Url: http://4ch.mooo.com/gitweb/?p=16.git;a=blobdiff_plain;f=src%2Flib%2F16_tdef.h;h=f45195d698b9a93d9336987d3ed69157b18a4a1e;hp=3fa1feb335ced492a655faf2c2195e411e338469;hb=256be2f6f35912701d3e3770e49e388f462a6acc;hpb=aa074e927a76160b8a861471713931db2b5968d0 diff --git a/src/lib/16_tdef.h b/src/lib/16_tdef.h index 3fa1feb3..f45195d6 100755 --- a/src/lib/16_tdef.h +++ b/src/lib/16_tdef.h @@ -468,11 +468,14 @@ typedef struct //from 16_mm //========================================================================== -#define MAXBLOCKS 800//kd=1300 wolf3d=700 cata=600 +#define MAXBLOCKS 1024//kd=1300 wolf3d=700 cata=600 +//----#define MAXUMBS 12 typedef struct mmblockstruct { - unsigned start,length; + word start,length; + //word start; dword length; +//++++ word blob; //for data larger than 64k unsigned attributes; memptr *useptr; // pointer to the segment start struct mmblockstruct far *next; @@ -657,10 +660,9 @@ typedef struct #define NUMMAPS 4//39 #define NUMSNDCHUNKS 4//3 -//#define NUMPICS 4//132//wolf3d wl6 +//#define NUMPICS 132//wolf3d wl6 #define STRUCTPIC 0 -#define CASVT dword //*start var type #define DATADIR "data/" @@ -716,8 +718,8 @@ typedef struct //TODO: USE THIS!!!! byte far grneeded[NUMCHUNKS]; word _seg *audiosegs[NUMSNDCHUNKS];//long - CASVT _seg *grstarts; // array of offsets in egagraph, -1 for sparse//long - CASVT _seg *audiostarts; // array of offsets in audio / audiot//long + word _seg *grstarts; // array of offsets in egagraph, -1 for sparse//long + word _seg *audiostarts; // array of offsets in audio / audiot//long #ifdef GRHEADERLINKED huffnode *grhuffman; @@ -731,7 +733,7 @@ typedef struct //TODO: USE THIS!!!! huffnode audiohuffman[255]; #endif - CASVT chunkcomplen,chunkexplen;//long + long chunkcomplen,chunkexplen; sd_t sd; //TODO: extend! and learn from keen/wolf/catacomb's code wwww