X-Git-Url: http://4ch.mooo.com/gitweb/?p=16.git;a=blobdiff_plain;f=src%2Flib%2F16_tdef.h;h=f4b9d094553fde03019ab16c451c78c848285be5;hp=ffa22c0183a4ea1a70b9ce23265e65a36ebfeed2;hb=8db9019df22bf792ea02096dec8c3d862fa00155;hpb=9dceac8c26077833f033c86e39d916b112c9d025 diff --git a/src/lib/16_tdef.h b/src/lib/16_tdef.h index ffa22c01..f4b9d094 100755 --- a/src/lib/16_tdef.h +++ b/src/lib/16_tdef.h @@ -400,7 +400,7 @@ typedef struct word quadwh; //preproccessed quad size of tilewidth and tileheight } tile_dimention_t; -#define MAXSCROLLEDGES 6 +#define MAXSCROLLEDGES 2 typedef struct { unsigned panx,pany; // panning adjustments inside port in pixels @@ -497,11 +497,12 @@ typedef struct //from 16_mm //========================================================================== -#define MAXBLOCKS 800 //kd=1300 wolf3d=700 cata=600 +#define MAXBLOCKS 1024 //kd=1300 wolf3d=700 cata=600 typedef struct mmblockstruct { - unsigned start,length; + //word start,length, word blob; //for data larger than 64k + word start; dword length; unsigned attributes; memptr *useptr; // pointer to the segment start struct mmblockstruct far *next; @@ -744,7 +745,7 @@ typedef struct //TODO: USE THIS!!!! byte _seg *tinf;//?? where in the id engine is this used and what is it? --sparky4 int mapon, mapnum; -// maptype _seg *mapheaderseg[NUMMAPS]; + maptype _seg *mapheaderseg[NUMMAPS]; unsigned _seg *mapsegs[MAPPLANES]; void _seg *grsegs[NUMCHUNKS]; byte far grneeded[NUMCHUNKS]; @@ -769,6 +770,7 @@ typedef struct //TODO: USE THIS!!!! sd_t sd; //TODO: extend! and learn from keen/wolf/catacomb's code wwww + memptr spribuff; //temp } ca_t; //==========================================================================