OSDN Git Service

updated copyleft and need to test and fix newer version of open watcom
[proj16/16.git] / src / palbomb.c
index 61f5591..ed06ea0 100755 (executable)
@@ -1,5 +1,5 @@
 /* Project 16 Source Code~\r
- * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
+ * Copyright (C) 2012-2022 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
  *\r
  * This file is part of Project 16.\r
  *\r
@@ -26,9 +26,9 @@ void main(int argc, char *argv[]) {
 \r
        TL_VidInit(&gvar);      VGAmodeX(1, 0, &gvar);\r
 \r
-       gvar.video.page[0] = modexDefaultPage(&gvar.video.page[0], &gvar.video);\r
+       PALPROGRAMSNEWPAGE\r
        VL_ShowPage(&gvar.video.page[0], 1, 0);\r
-       modexpdump(&gvar.video.page[0]);\r
+       modexpdump(0, &gvar);\r
        while(!kbhit()){ VL_modexPalScramble(&gvar.video.palette); }\r
        modexPalSave(&gvar.video.palette);\r
        VGAmodeX(0, 0, &gvar);\r