} bitmap_t;\r
\r
typedef struct {\r
- byte huge **data;\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
} tileset_t;\r
\r
typedef struct {\r
- byte huge *plane[4]; /* 4 planes of image data */\r
+ byte far *plane[4]; /* 4 planes of image data */\r
word width; /* width of the image (spread across 4 planes) */\r
word height; /* height of the image (spread across 4 planes) */\r
word pwidth; /* the number of bytes in each plane */\r
sword delta; // How much should we shift the page for smooth scrolling\r
//enum direction d; // Direction we should shift the page\r
} page_t;\r
+\r
typedef struct\r
{\r
//sprite ....\r
byte num_of_pages; //number of actual pages\r
boolean __near p; //render page number\r
boolean __near r; //page flip if true\r
- word pr[MAXPAGE][4]; //render sections of pages\r
+ word pr[MAXPAGE][4]; //render sections of pages (this is supposed to be set up to draw sections of the screen if updated)\r
//0000word startclk; float clk, tickclk; //timer\r
} video_t;\r
\r
word blob; //for data larger than 64k\r
unsigned attributes;\r
memptr *useptr; // pointer to the segment start\r
- //huge struct mmblockstruct huge *next;\r
struct mmblockstruct far *next;\r
} mmblocktype;\r
\r
{\r
memptr bufferseg;\r
boolean mmstarted, bombonerror, mmerror;\r
- //huge void huge *farheap;\r
void far *farheap;\r
#ifdef __BORLANDC__\r
void *nearheap;\r
word numUMBs,UMBbase[MAXUMBS];\r
word totalEMSpages, freeEMSpages, EMSpagesmapped, EMSHandle, EMSPageFrame;\r
//dword numUMBs,UMBbase[MAXUMBS];\r
- //huge mmblocktype huge mmblocks[MAXBLOCKS],huge *mmhead,huge *mmfree,huge *mmrover,huge *mmnew;\r
mmblocktype far mmblocks[MAXBLOCKS],far *mmhead,far *mmfree,far *mmrover,far *mmnew;\r
} mminfo_t;\r
\r