//TODO MAKE FLEXIBLE~\r
// gv->video.page[0].tilemidposscreenx = gv->video.page[0].tilesw;\r
// gv->video.page[0].tilemidposscreeny = (gv->video.page[0].tilesh/2)+1;\r
- gv->video.num_of_pages=0;\r
}\r
\r
void\r
void modexHiganbanaPageSetup(video_t *video)\r
{\r
video->vmem_remain=262144L;\r
+ video->num_of_pages=0;\r
(video->page[0]) = modexDefaultPage(&(video->page[0])); video->num_of_pages++;\r
//video->page[0].width += (TILEWHD); video->page[0].height += (TILEWHD);\r
(video->page[1]) = modexNextPage(&(video->page[0])); video->num_of_pages++;\r
word dy; /* row we are viewing on the virtual screen */\r
word sw; /* screen width */\r
word sh; /* screen heigth */\r
- word tilesw; /* screen width in tiles */\r
- word tilesh; /* screen height in tiles */\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 tw;\r
- word th;\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