]> 4ch.mooo.com Git - 16.git/blobdiff - src/planrpcx.c
Merge remote-tracking branch 'upstream/master'
[16.git] / src / planrpcx.c
index 0c372e6584e75f19a917b5c7a49e984abaa321ad..06b1f29c8eb812887bf6bd089ff940d67f81d64c 100755 (executable)
@@ -1,5 +1,5 @@
 /* Project 16 Source Code~\r
- * Copyright (C) 2012-2015 sparky4 & pngwen & andrius4669\r
+ * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123\r
  *\r
  * This file is part of Project 16.\r
  *\r
@@ -64,7 +64,7 @@ baka = 1;
 //getch();\r
 \r
        textInit();\r
-       VGAmodeX(baka, &gvar);\r
+       VGAmodeX(baka, 1, &gvar);\r
        gvar.video.page[0]=modexDefaultPage(&gvar.video.page[0]);\r
 \r
        //fix up the palette and everything\r
@@ -86,7 +86,7 @@ baka = 1;
        }\r
        t1 = (*clockw-start) /18.2;\r
        for(i=0; i<100 ;i++) {\r
-               modexDrawBmpPBufRegion  (&gvar.video.page[0], p.width+32, 32, 0, 0, p.width, p.height, &p);\r
+               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);\r
        }\r
        t2 = (*clockw-start) /18.2;\r
        getch();\r
@@ -110,7 +110,7 @@ getch();
        while(!kbhit())\r
        {\r
        }\r
-       VGAmodeX(0, &gvar);\r
+       VGAmodeX(0, 1, &gvar);\r
 \r
        //print out the contents of each plane\r
        for(plane=0; plane < 4; plane++) {\r