/*\r
* typedefs of the game variables!\r
*/\r
-typedef struct {\r
- byte *data;\r
- word width;\r
- word height;\r
- byte *palette;\r
- word offset;\r
-} bitmap_t;\r
-\r
-typedef struct {\r
- byte far **data;\r
- word ntiles; // the number of tiles\r
- word twidth; // width of the tiles\r
- word theight; // height of the tiles\r
- byte *palette; // palette for the tile set\r
-} tileset_t;\r
-\r
typedef struct {\r
byte far *plane[4]; // 4 planes of image data\r
word width; // width of the image (spread across 4 planes)\r
nibble pred; //prev. direction for animation changing\r
word dire; //sprite in use\r
nibble q; //loop variable for anumation and locking the playing to compleate the animation cycle to prevent issues with misalignment www\r
- word speed; //entity speed!\r
+// word speed; //entity speed!\r
word spt; //speed per tile\r
#ifdef __WATCOMC__\r
sprite_t spri; // sprite used by entity\r
{\r
int profilehandle,debughandle,showmemhandle;\r
int heaphandle;\r
+ byte datadumpfilename[12];\r
+ byte heapdumpfilename[12];\r
} loghandle_t;\r
\r
typedef struct\r
\r
typedef struct mmblockstruct\r
{\r
- //word start,length;\r
+ //word start,length, blob; //for data larger than 64k\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
\r
typedef struct mmshowmemoryinfo\r
{\r
- word x,y;\r
+// unsigned x,y;\r
mmblocktype far *scan;\r
} mmshowmemoryinfo_t;\r
\r
\r
sd_t sd;\r
//TODO: extend! and learn from keen/wolf/catacomb's code wwww\r
- memptr spribuff; //temp\r
+ memptr spribuff[64]; //temp\r
} ca_t;\r
\r
//==========================================================================\r
in_info_t in; // 16_in info\r
player_t player[MaxPlayers]; // player vars\r
map_view_t mv[4];\r
+ map_t map;\r
// sw_t sw;\r
boolean DLStarted;\r
} global_game_variables_t;\r