* typedefs of the game variables!\r
*/\r
typedef struct {\r
- byte huge *data;\r
+ byte *data;\r
word width;\r
word height;\r
byte *palette;\r
sword tileplayerposscreeny; /* player position on screen */\r
word stridew; /*width/4*/\r
word pagesize; /* page size */\r
+ word pi; /* incremention page by this much to preserve location */\r
} page_t;\r
\r
+typedef struct\r
+{\r
+ //sprite ....\r
+ boolean wwww;\r
+} spri_t;\r
+\r
+typedef struct\r
+{\r
+ //vrs with sprite ....\r
+ spri_t *spri;\r
+} vrs_t;\r
+\r
typedef struct\r
{\r
// int showmemhandle;\r
word vmem_remain; //remaining video memory\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
+ //0000word startclk; float clk, tickclk; //timer\r
} video_t;\r
\r
typedef struct\r