]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_tdef.h
BROKE build of 0.exe
[16.git] / src / lib / 16_tdef.h
index fc9ccbea4add59a8cd476f9cdd0b28e95fcb6eb6..3b12d128fd3b09468758998524f0e652ad3d1e0b 100755 (executable)
@@ -89,6 +89,18 @@ typedef struct {
        char            name[16];\r
 } map_t;\r
 \r
+// tile info\r
+typedef struct{\r
+       word tw;                /* screen width in tiles */\r
+       word th;                /* screen height in tiles */\r
+       word tilesw;            /* virtual screen width in tiles */\r
+       word tilesh;            /* virtual screen height in tiles */\r
+       sword tilemidposscreenx;        /* middle tile x position */    /* needed for scroll system to work accordingly */\r
+       sword tilemidposscreeny;        /* middle tile y position */    /* needed for scroll system to work accordingly */\r
+       sword tileplayerposscreenx;     /* player position on screen */ /* needed for scroll and map system to work accordingly */\r
+       sword tileplayerposscreeny;     /* player position on screen */ /* needed for scroll and map system to work accordingly */\r
+} ti_t;\r
+\r
 typedef struct {\r
        nibble/*word*/ id;      /* the Identification number of the page~ For layering~ */\r
        byte far* data; /* the data for the page */\r