X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_tdef.h;h=bb886801f6c9d12ca7b82cee2261f6d61b95558d;hb=0df3c2d5e81ce6a2f1d498b3107e1fd223e7af80;hp=88ab4cdeb4c10985d37c5af1609bcffc9799e211;hpb=dc02e71c9e6a133f3deba4c3315c2062070a10bf;p=16.git diff --git a/src/lib/16_tdef.h b/src/lib/16_tdef.h index 88ab4cde..bb886801 100755 --- a/src/lib/16_tdef.h +++ b/src/lib/16_tdef.h @@ -46,22 +46,6 @@ /* * typedefs of the game variables! */ -typedef struct { - byte *data; - word width; - word height; - byte *palette; - word offset; -} bitmap_t; - -typedef struct { - byte far **data; - word ntiles; // the number of tiles - word twidth; // width of the tiles - word theight; // height of the tiles - byte *palette; // palette for the tile set -} tileset_t; - typedef struct { byte far *plane[4]; // 4 planes of image data word width; // width of the image (spread across 4 planes) @@ -138,7 +122,7 @@ typedef struct nibble pred; //prev. direction for animation changing word dire; //sprite in use nibble q; //loop variable for anumation and locking the playing to compleate the animation cycle to prevent issues with misalignment www - word speed; //entity speed! +// word speed; //entity speed! word spt; //speed per tile #ifdef __WATCOMC__ sprite_t spri; // sprite used by entity @@ -350,6 +334,8 @@ typedef struct { int profilehandle,debughandle,showmemhandle; int heaphandle; + byte datadumpfilename[12]; + byte heapdumpfilename[12]; } loghandle_t; typedef struct @@ -501,9 +487,8 @@ typedef struct typedef struct mmblockstruct { - //word start,length; + //word start,length, blob; //for data larger than 64k word start; dword length; - //word blob; //for data larger than 64k unsigned attributes; memptr *useptr; // pointer to the segment start struct mmblockstruct far *next; @@ -511,7 +496,7 @@ typedef struct mmblockstruct typedef struct mmshowmemoryinfo { - word x,y; +// unsigned x,y; mmblocktype far *scan; } mmshowmemoryinfo_t; @@ -771,7 +756,7 @@ typedef struct //TODO: USE THIS!!!! sd_t sd; //TODO: extend! and learn from keen/wolf/catacomb's code wwww - memptr spribuff; //temp + memptr spribuff[64]; //temp } ca_t; //========================================================================== @@ -801,6 +786,7 @@ typedef struct glob_game_vars in_info_t in; // 16_in info player_t player[MaxPlayers]; // player vars map_view_t mv[4]; + map_t map; // sw_t sw; boolean DLStarted; } global_game_variables_t;