X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fmodex16.h;h=8e0ff6a1e07465f77f8c73990962a5b93303915d;hb=4710ca84cd057d4e144400ec68aff6e25a5041d6;hp=3c47ee074a949a9e359bbeb43ae14bc7fc4a789a;hpb=92c617f0987b290f1e8032ec97004478944f192e;p=16.git diff --git a/src/lib/modex16.h b/src/lib/modex16.h index 3c47ee07..8e0ff6a1 100755 --- a/src/lib/modex16.h +++ b/src/lib/modex16.h @@ -31,11 +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" + +#include +#include +#include +#include //TODO dos lib vga implementation ^^ //#define DOSLIBVGA @@ -82,11 +87,11 @@ typedef union /* -============================ Functions =============================- */ /* mode switching, page, and plane functions */ -void VGAmodeX(sword vq, global_game_variables_t *gv); -void modexEnter(sword vq, 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);