X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fmodex16.h;h=94a69ad59a38cefabb9fb0b8b6c5c7fd25f16116;hb=bcbedc7dc5aa38518f2acd1d1c8d110a9d357e42;hp=1ba62683527887668c14be8fb960562d69da93aa;hpb=2a9ec1a325590c2bc55ecb8e36e376c51c0d3c53;p=16.git diff --git a/src/lib/modex16.h b/src/lib/modex16.h index 1ba62683..94a69ad5 100755 --- a/src/lib/modex16.h +++ b/src/lib/modex16.h @@ -31,14 +31,16 @@ #include "src/lib/modex16/16planar.h" #include "src/lib/16text.h" #include "src/lib/modex16/16render.h" -#include "src/lib/modex16/320x240.h" -#include "src/lib/modex16/320x200.h" -#include "src/lib/modex16/256x192.h" -#include "src/lib/modex16/192x144_.h" -#include "src/lib/modex16/160x120.h" +// #include "src/lib/modex16/320x240.h" +// #include "src/lib/modex16/320x200.h" +// #include "src/lib/modex16/256x192.h" +// #include "src/lib/modex16/192x144_.h" +// #include "src/lib/modex16/160x120.h" -//TODO dos lib vga implementation ^^ -//#define DOSLIBVGA +#include +#include +#include +#include static struct pcxHeader { byte id; @@ -82,11 +84,11 @@ typedef union /* -============================ Functions =============================- */ /* mode switching, page, and plane functions */ -void VGAmodeX(sword vq, byte cm, global_game_variables_t *gv) -void modexEnter(sword vq, byte cm, global_game_variables_t *gv); +void VGAmodeX(sword vq, boolean cmem, global_game_variables_t *gv); +void modexEnter(sword vq, boolean cmem, global_game_variables_t *gv); long vgaGetMode(); void modexLeave(); -void modexsetBaseXMode(page_t *page); +void modexsetBaseXMode(); page_t modexDefaultPage(page_t *p); page_t modexNextPage(page_t *p); page_t modexNextPageFlexibleSize(page_t *p, word x, word y);