X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ftypdefst.h;h=732053c139af36acafbff2089e6b6a6da6957b61;hb=c4938b26e71facac986fcccc2334223273293d86;hp=8eff787f4a318dab454bb087864ec21b80a250cc;hpb=e553045660c23a10ae193562ec2b46a8a2b84ee6;p=16.git diff --git a/src/lib/typdefst.h b/src/lib/typdefst.h index 8eff787f..732053c1 100755 --- a/src/lib/typdefst.h +++ b/src/lib/typdefst.h @@ -36,6 +36,8 @@ #define AAMAGENTA "\x1b[45;35m" #define AARESET "\x1b[0m" +#define MAXPAGE 4 + /* * typedefs of the game variables! */ @@ -100,7 +102,10 @@ typedef struct boolean fpscap; //cap the fps var } kurokku_t; -#define MAXPAGE 4 +typedef struct +{ + word pn; +} pan_t; typedef struct { @@ -108,7 +113,7 @@ typedef struct page_t page[MAXPAGE]; //pointer to root page[0] sdiword vmem_remain; //remaining video memory byte num_of_pages; //number of actual pages - boolean p; //render page number + boolean __near p; //render page number word pr[MAXPAGE][4]; //render sections of pages } video_t;