X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;ds=inline;f=src%2Fplanrpcx.c;h=06b1f29c8eb812887bf6bd089ff940d67f81d64c;hb=be588c0302f1248c7100cd97ad5effe2af3563cf;hp=0c372e6584e75f19a917b5c7a49e984abaa321ad;hpb=80c0c07d5db1fc37fe3bf2919235b1baa612e35f;p=16.git diff --git a/src/planrpcx.c b/src/planrpcx.c index 0c372e65..06b1f29c 100755 --- a/src/planrpcx.c +++ b/src/planrpcx.c @@ -1,5 +1,5 @@ /* Project 16 Source Code~ - * Copyright (C) 2012-2015 sparky4 & pngwen & andrius4669 + * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 * * This file is part of Project 16. * @@ -64,7 +64,7 @@ baka = 1; //getch(); textInit(); - VGAmodeX(baka, &gvar); + VGAmodeX(baka, 1, &gvar); gvar.video.page[0]=modexDefaultPage(&gvar.video.page[0]); //fix up the palette and everything @@ -86,7 +86,7 @@ baka = 1; } t1 = (*clockw-start) /18.2; for(i=0; i<100 ;i++) { - modexDrawBmpPBufRegion (&gvar.video.page[0], p.width+32, 32, 0, 0, p.width, p.height, &p); + modexDrawBmpPBufRegion (&gvar.video.page[0], p.width+32, 32, p.width-(p.width/4), p.height-(p.height/4), p.width/4, p.height/4, &p); } t2 = (*clockw-start) /18.2; getch(); @@ -110,7 +110,7 @@ getch(); while(!kbhit()) { } - VGAmodeX(0, &gvar); + VGAmodeX(0, 1, &gvar); //print out the contents of each plane for(plane=0; plane < 4; plane++) {