X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ftypdefst.h;h=da79ebc8b63b74a0416b8fa298633b64b907bbf1;hb=bfd75c3c48e3c4bc6e2f151e1ff69cfe74d3d651;hp=a82a8bd077b854bf22fdd319a137bae6ea1d00c1;hpb=b40411c754cec4dc88f6a4183f475584b9205a2b;p=16.git diff --git a/src/lib/typdefst.h b/src/lib/typdefst.h index a82a8bd0..da79ebc8 100755 --- a/src/lib/typdefst.h +++ b/src/lib/typdefst.h @@ -42,7 +42,7 @@ * typedefs of the game variables! */ typedef struct { - byte huge *data; + byte *data; word width; word height; byte *palette; @@ -84,6 +84,7 @@ typedef struct { sword tileplayerposscreeny; /* player position on screen */ word stridew; /*width/4*/ word pagesize; /* page size */ + word pi; /* incremention page by this much to preserve location */ } page_t; typedef struct @@ -115,7 +116,9 @@ typedef struct word vmem_remain; //remaining video memory byte num_of_pages; //number of actual pages boolean __near p; //render page number + boolean __near r; //page flip if true word pr[MAXPAGE][4]; //render sections of pages + //0000word startclk; float clk, tickclk; //timer } video_t; typedef struct