X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Fpcxtest.c;h=84a8323699855b657c370a37a64cbd96939d91a3;hb=bee28e8a01c70bae522ef12947c296f837110dbe;hp=99e2669ee01641da7e963f546713ea71f4e7a2de;hpb=d0b4d523e0a90d036da0512a224389bf40895c09;p=16.git diff --git a/src/pcxtest.c b/src/pcxtest.c index 99e2669e..84a83236 100755 --- a/src/pcxtest.c +++ b/src/pcxtest.c @@ -1,5 +1,5 @@ /* Project 16 Source Code~ - * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 + * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover * * This file is part of Project 16. * @@ -23,15 +23,16 @@ #include #include #include -#include "src/lib/modex16.h" +#include "src/lib/16_vl.h" #include "src/lib/bitmap.h" -#include "src/lib/planar.h" +//----#include "src/lib/planar.h" global_game_variables_t gvar; +static word far* clockw= (word far*) 0x046C; /* 18.2hz clock */ void main() { bitmap_t bmp; - planar_buf_t *p; +//---- planar_buf_t *p; int i; word start; int plane; @@ -62,7 +63,7 @@ void main() { bmp = bitmapLoadPcx("data/chikyuu.pcx"); // bmp = bitmapLoadPcx("data/koishi^^.pcx"); // bmp = bitmapLoadPcx("16/PCX_LIB/chikyuu.pcx"); - p = planar_buf_from_bitmap(&bmp); +//---- p = planar_buf_from_bitmap(&bmp); VGAmodeX(1, 1, &gvar); gvar.video.page[0]=modexDefaultPage(&gvar.video.page[0]);