+ word tileHeight, tileWidth; //defined by mapfile\r
+ word quadwh; //preproccessed quad size of tilewidth and tileheight\r
+} tile_dimention_t;\r
+\r
+#define MAXSCROLLEDGES 6\r
+typedef struct\r
+{\r
+ unsigned panx,pany; // panning adjustments inside port in pixels\r
+ unsigned pansx,pansy;\r
+ unsigned panadjust; // panx/pany adjusted by screen resolution\r
+ int hscrollblocks,vscrollblocks;\r
+ int hscrolledge[MAXSCROLLEDGES],vscrolledge[MAXSCROLLEDGES];\r
+} pan_t;\r
+\r
+typedef struct\r
+{\r
+ //ylookup[MAXSCANLINES],\r