From cf4f57eb4f84e32edaaa7ae9e3233c335041a300 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Fri, 2 Dec 2016 12:32:06 -0600 Subject: [PATCH] ok zcroll compiles and i should clean it w --- src/lib/.16_head.h.kate-swp | Bin 107 -> 0 bytes src/lib/16_dbg.h | 4 ++++ src/lib/16_head.h | 4 ---- src/zcroll.c | 17 ++++++++--------- 4 files changed, 12 insertions(+), 13 deletions(-) delete mode 100755 src/lib/.16_head.h.kate-swp diff --git a/src/lib/.16_head.h.kate-swp b/src/lib/.16_head.h.kate-swp deleted file mode 100755 index 070cc2c23903194013aa97fe58d82eed1b0294f1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 107 zcmZQzU=Z?7EJ;-eE>A2_aLdd|RWQ;sU|?Vnm?S0R=vh(rHap 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. -- 2.39.5