]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_tdef.h
ok wwwww zscroll and scroll compile disabled due to me being too tired to whack at...
[16.git] / src / lib / 16_tdef.h
index f535c75d35b9b9a901a4ddeb2f7d65d9c4f76480..137b0bfb87b9a0c68568391eca00d843ee704481 100755 (executable)
@@ -64,11 +64,9 @@ typedef struct {
        byte *palette;\r
 } planar_buf_t;\r
 \r
-\r
-enum direction {STOP, UP, DOWN, LEFT, RIGHT};\r
 typedef struct {\r
        int dx, dy; //backwards compait\r
-       word id;        /* the Identification number of the page~ For layering~ */\r
+       nibble id;      /* the Identification number of the page~ For layering~ */\r
        byte far* data; /* the data for the page */\r
        word sw;                /* screen width */\r
        word sh;                /* screen heigth */\r
@@ -85,8 +83,8 @@ typedef struct {
        word stridew;                   /*width/4*/\r
        word pagesize;                  /* page size */\r
        word pi;                                /* incremention page by this much to preserve location */\r
-       word delta;                     // How much should we shift the page for smooth scrolling\r
-       enum direction d;                       // Direction we should shift the page\r
+       sword delta;                    // How much should we shift the page for smooth scrolling\r
+       //enum direction d;                     // Direction we should shift the page\r
 } page_t;\r
 typedef struct\r
 {\r