typedef struct {\r
/*nibble*/word id; /* the Identification number of the page~ For layering~ */\r
byte far* data; /* the data for the page */\r
- word dx; /* col we are viewing on the virtual screen */\r
- word dy; /* row we are viewing on the virtual screen */\r
- word sw; /* screen width */\r
- word sh; /* screen heigth */\r
+ word dx; /* col we are viewing on the virtual screen */ /* off screen buffer on the left size */\r
+ word dy; /* row we are viewing on the virtual screen */ /* off screen buffer on the top size */\r
+ word sw; /* screen width */ /* resolution */\r
+ word sh; /* screen heigth */ /* resolution */\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
+ 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
+ word stridew; /* width/4 */ /* VGA */\r
word pagesize; /* page size */\r
- word pi; /* incremention page by this much to preserve location */\r
+ word pi; /* increment page by this much to preserve location */\r
+//newer vars\r
+//TODO: find where they are used\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
\r
+//TODO: MAKE THIS WWWW\r
typedef struct\r
{\r
//sprite ....\r
boolean wwww;\r
} spri_t;\r
\r
+//TODO: MAKE THIS TO WWWW\r
typedef struct\r
{\r
//vrs with sprite ....\r
\r
typedef struct\r
{\r
- int profilehandle,debughandle,showmemhandle;\r
+ int profilehandle,debughandle,showmemhandle;\r
int heaphandle;\r
} loghandle_t;\r
\r