]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/typdefst.h
joncambell321 please help test.exe creates garbage if the 2nd rendering page is writt...
[16.git] / src / lib / typdefst.h
index 8eff787f4a318dab454bb087864ec21b80a250cc..732053c139af36acafbff2089e6b6a6da6957b61 100755 (executable)
@@ -36,6 +36,8 @@
 #define AAMAGENTA      "\x1b[45;35m"\r
 #define AARESET        "\x1b[0m"\r
 \r
+#define MAXPAGE 4\r
+\r
 /*\r
  * typedefs of the game variables!\r
  */\r
@@ -100,7 +102,10 @@ typedef struct
        boolean fpscap; //cap the fps var\r
 } kurokku_t;\r
 \r
-#define MAXPAGE 4\r
+typedef struct\r
+{\r
+       word    pn;\r
+} pan_t;\r
 \r
 typedef struct\r
 {\r
@@ -108,7 +113,7 @@ typedef struct
        page_t page[MAXPAGE];           //pointer to root page[0]\r
        sdiword vmem_remain;    //remaining video memory\r
        byte num_of_pages;      //number of actual pages\r
-       boolean p;                      //render page number\r
+       boolean __near p;                       //render page number\r
        word pr[MAXPAGE][4];    //render sections of pages\r
 } video_t;\r
 \r