#include "src/lib/modex16/192x144.h"
//320x240 = 20x15
-//256x192 = 16x12
+//192x144 = 12x9
//temp defines
#define TILEWH 16
byte far* data; /* the data for the page */
word dx; /* col we are viewing on the virtual screen */
word dy; /* row we are viewing on the virtual screen */
+ word sw; /* screen width */
+ word sh; /* screen heigth */
word width; /* virtual width of the page */
word height; /* virtual height of the page */
word tw;
/* -============================ Functions =============================- */
/* mode switching, page, and plane functions */
void VGAmodeX(sword vq, global_game_variables_t *gv);
-void modex__320x240_256__Enter(global_game_variables_t *gv);
-void modex__192x144_256__Enter(global_game_variables_t *gv);
+void modexEnter(sword vq, global_game_variables_t *gv);
long vgaGetMode();
void modexLeave();
void modexsetBaseXMode(void);
void modexhlin(page_t *page, word xl, word xh, word y, word color);
void modexprint(page_t *page, word x, word y, word t, word col, word bgcol, const byte *str);
void modexprintbig(page_t *page, word x, word y, word t, word col, word bgcol, const byte *str);
+void pdump(page_t *pee);
void cls(page_t *page, byte color, byte *Where);
void modexWaitBorder();