X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ftypdefst.h;h=07f097361d00e616819807f3e7fde56d39911ed5;hb=354f7f6075e4c911b66c34b33bab64e5ec407c3e;hp=91ca7c79cba8da8bc4bd15dd0dd3e4072f19c240;hpb=d937a6f3af5c671144b23c71fef3f856e02db01b;p=16.git diff --git a/src/lib/typdefst.h b/src/lib/typdefst.h index 91ca7c79..07f09736 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,8 +84,21 @@ 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 +{ + //sprite .... + boolean wwww; +} spri_t; + +typedef struct +{ + //vrs with sprite .... + spri_t *spri; +} vrs_t; + typedef struct { // int showmemhandle; @@ -117,7 +130,7 @@ typedef struct boolean __near p; //render page number boolean __near r; //page flip if true word pr[MAXPAGE][4]; //render sections of pages - word startclk; float clk, tickclk; //timer + //0000word startclk; float clk, tickclk; //timer } video_t; typedef struct