]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/typdefst.h
tesuto0 made for understanding doslib fast rendering~
[16.git] / src / lib / typdefst.h
index a82a8bd077b854bf22fdd319a137bae6ea1d00c1..da79ebc8b63b74a0416b8fa298633b64b907bbf1 100755 (executable)
@@ -42,7 +42,7 @@
  * 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
@@ -84,6 +84,7 @@ typedef struct {
        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
@@ -115,7 +116,9 @@ typedef struct
        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