]> 4ch.mooo.com Git - 16.git/commitdiff
ok zcroll compiles and i should clean it w
authorsparky4 <sparky4@cock.li>
Fri, 2 Dec 2016 18:32:06 +0000 (12:32 -0600)
committersparky4 <sparky4@cock.li>
Fri, 2 Dec 2016 18:32:06 +0000 (12:32 -0600)
src/lib/.16_head.h.kate-swp [deleted file]
src/lib/16_dbg.h
src/lib/16_head.h
src/zcroll.c

diff --git a/src/lib/.16_head.h.kate-swp b/src/lib/.16_head.h.kate-swp
deleted file mode 100755 (executable)
index 070cc2c..0000000
Binary files a/src/lib/.16_head.h.kate-swp and /dev/null differ
index 58c5a05a33b0f3ecb5f0b9f278dc6a2fa8c728f2..d02abb39dcaf1772ac18b6c503da23d84f29f0d7 100755 (executable)
@@ -2,6 +2,10 @@
 #ifndef _SRC_LIB_16_DBG\r
 #define _SRC_LIB_16_DBG\r
 \r
+#define __DEBUG__\r
+//#define __DEBUG_PM__\r
+//#define __DEBUG_MM__\r
+\r
 # ifdef DEBUGSERIAL\r
 #  include <hw/8250/8250.h>\r
 \r
index ef63aaf33a91d35d9cf3cf83e63cd8ce110f989b..540093aa2f20f997a48a1e7d35ead1bab95acb8f 100755 (executable)
 //static word far* clockw= (word far*) 0x046C; /* 18.2hz clock */\r
 extern int                     profilehandle,debughandle;      //make it into game global\r
 \r
-#define __DEBUG__\r
-//#define __DEBUG_PM__\r
-//#define __DEBUG_MM__\r
-\r
 //#define OLD16_VL\r
 \r
 #define        nil     ((void *)0)\r
index 83e320ffe5f1b223a5c56ae58476bbead914d4e6..3f8e074ce4ad4c16dd07a6a2de1c5018b924087c 100755 (executable)
@@ -113,12 +113,12 @@ void main(int argc, char *argv[])
        IN_initplayer(player);\r
        //IN_initplayer(&player, 1);\r
 \r
-#ifndef        SPRITE\r
-       modexClearRegion(mv->page, player->x, player->y-TILEWH, 16, 32, 15);\r
-       //modexClearRegion(mv[1].page, player->x, player->y-TILEWH, 16, 32, 15);\r
-#else\r
-       //PBUFSFUN(mv[1].page, player->x, player->y-TILEWH, 16, 64, 24, 32,     PLAYERBMPDATA);\r
-//     PBUFSFUN(mv->page, player->x, player->y-TILEWH, 16, 64, 16, 32, player->data);\r
+// #ifndef     SPRITE\r
+//     modexClearRegion(mv->page, player->x, player->y-TILEWH, 16, 32, 15);\r
+//     //modexClearRegion(mv[1].page, player->x, player->y-TILEWH, 16, 32, 15);\r
+// #else\r
+//     //PBUFSFUN(mv[1].page, player->x, player->y-TILEWH, 16, 64, 24, 32,     PLAYERBMPDATA);\r
+// //  PBUFSFUN(mv->page, player->x, player->y-TILEWH, 16, 64, 16, 32, player->data);\r
        i = set_anim_by_id(player->ent->spri, 11);\r
        print_anim_ids(player->ent->spri);\r
        if (i == -1)\r
@@ -128,11 +128,10 @@ void main(int argc, char *argv[])
        Shutdown16(&gvar);\r
        printf("Wrong");\r
                modexFadeOn(4, dpal);\r
-return;\r
+       exit(-4);\r
        }\r
-return;\r
        //animate_spri(&(player->ent->spri));\r
-#endif\r
+// #endif\r
 \r
        modexShowPage(mv->page);//!(gvar.video.p)\r
        shinku_fps_indicator_page = 0; // we're on page 1 now, shinku(). follow along please or it will not be visible.\r