From: sparky4 Date: Fri, 2 Dec 2016 18:32:06 +0000 (-0600) Subject: ok zcroll compiles and i should clean it w X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=cf4f57eb4f84e32edaaa7ae9e3233c335041a300;p=16.git ok zcroll compiles and i should clean it w --- diff --git a/src/lib/.16_head.h.kate-swp b/src/lib/.16_head.h.kate-swp deleted file mode 100755 index 070cc2c2..00000000 Binary files a/src/lib/.16_head.h.kate-swp and /dev/null differ diff --git a/src/lib/16_dbg.h b/src/lib/16_dbg.h index 58c5a05a..d02abb39 100755 --- a/src/lib/16_dbg.h +++ b/src/lib/16_dbg.h @@ -2,6 +2,10 @@ #ifndef _SRC_LIB_16_DBG #define _SRC_LIB_16_DBG +#define __DEBUG__ +//#define __DEBUG_PM__ +//#define __DEBUG_MM__ + # ifdef DEBUGSERIAL # include diff --git a/src/lib/16_head.h b/src/lib/16_head.h index ef63aaf3..540093aa 100755 --- a/src/lib/16_head.h +++ b/src/lib/16_head.h @@ -158,10 +158,6 @@ //static word far* clockw= (word far*) 0x046C; /* 18.2hz clock */ extern int profilehandle,debughandle; //make it into game global -#define __DEBUG__ -//#define __DEBUG_PM__ -//#define __DEBUG_MM__ - //#define OLD16_VL #define nil ((void *)0) diff --git a/src/zcroll.c b/src/zcroll.c index 83e320ff..3f8e074c 100755 --- a/src/zcroll.c +++ b/src/zcroll.c @@ -113,12 +113,12 @@ void main(int argc, char *argv[]) IN_initplayer(player); //IN_initplayer(&player, 1); -#ifndef SPRITE - modexClearRegion(mv->page, player->x, player->y-TILEWH, 16, 32, 15); - //modexClearRegion(mv[1].page, player->x, player->y-TILEWH, 16, 32, 15); -#else - //PBUFSFUN(mv[1].page, player->x, player->y-TILEWH, 16, 64, 24, 32, PLAYERBMPDATA); -// PBUFSFUN(mv->page, player->x, player->y-TILEWH, 16, 64, 16, 32, player->data); +// #ifndef SPRITE +// modexClearRegion(mv->page, player->x, player->y-TILEWH, 16, 32, 15); +// //modexClearRegion(mv[1].page, player->x, player->y-TILEWH, 16, 32, 15); +// #else +// //PBUFSFUN(mv[1].page, player->x, player->y-TILEWH, 16, 64, 24, 32, PLAYERBMPDATA); +// // PBUFSFUN(mv->page, player->x, player->y-TILEWH, 16, 64, 16, 32, player->data); i = set_anim_by_id(player->ent->spri, 11); print_anim_ids(player->ent->spri); if (i == -1) @@ -128,11 +128,10 @@ void main(int argc, char *argv[]) Shutdown16(&gvar); printf("Wrong"); modexFadeOn(4, dpal); -return; + exit(-4); } -return; //animate_spri(&(player->ent->spri)); -#endif +// #endif modexShowPage(mv->page);//!(gvar.video.p) shinku_fps_indicator_page = 0; // we're on page 1 now, shinku(). follow along please or it will not be visible.