-\r
-#define MAPW 40\r
-#define MAPH 30\r
-\r
-enum direction {STOP, UP, DOWN, LEFT, RIGHT};\r
-typedef struct {\r
- word 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
- word tw; /* screen width in tiles */\r
- word th; /* screen height in tiles */\r
- word width; /* virtual width of the page */\r
- word height; /* virtual height of the page */\r
- word tilesw; /* virtual screen width in tiles */\r
- word tilesh; /* virtual screen height in tiles */\r
- sword tilemidposscreenx; /* middle tile position */\r
- sword tilemidposscreeny; /* middle tile position */\r
- sword tileplayerposscreenx; /* player position on screen */\r
- sword tileplayerposscreeny; /* player position on screen */\r
- 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
- direction d; // Direction we should shift the page\r
-} page_t;\r
-extern boolean pageflipflop, pageploop;\r
-extern unsigned char shinku_fps_indicator_page;\r
-\r