From: sparky4 Date: Fri, 7 Jul 2017 20:16:54 +0000 (-0500) Subject: 16_ca needs huge amounts of work and I should remember what needs to be done soon... X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=402e3d98a783aa08ecbd6f5ff92cdab3c7be7784;p=16.git 16_ca needs huge amounts of work and I should remember what needs to be done soon[going to port rest of code to borland c some time so we can use the core components of id engine here ][going to add 16_us.c eventually but the debug system and CA_ PM_ and MM_ usage is priority now]older zcroll renamed to xcroll][zcroll is now the pre menu game loop system with PROPER data usage with CAMMPM] added 1st scroll back [i work on CA] palette debug show values added wwww and i need to know how to see vrs/vrl imaage data palette index numbers [i am trying to find out how the hell you get the index number values of VRL/VRS] [CA_CacheMap added seems to be used in start a new game] what is mapsegs? bcexmm reports normally again... it acts funny with a unsigned long being assigned coreleft()'s value[vrldbg.exe added for a dirivative of vrldbg thanks johncampbell321\!] i did some small things here and there. and shrinked the stack. and fixed some little warnings... showmemory works better wwww i did some tweakings w --- diff --git a/src/lib/16_mm.c b/src/lib/16_mm.c index 7383b693..a3d0e92c 100755 --- a/src/lib/16_mm.c +++ b/src/lib/16_mm.c @@ -1387,7 +1387,7 @@ reset: end = -1; w = 0; - width = gvar->video.page[0].width; + width = gvar->video.page[0].sw; CA_OpenDebug (gvar); while (scan) @@ -1544,7 +1544,7 @@ reset: } #endif #ifdef MMSMSCANINFO - maxq = q-1; + maxq = q; if(restarted) q = oldq; else q = 0; restarted = false; @@ -1576,7 +1576,7 @@ reset: if(gvar->video.VL_Started) { VL_ShowPage(&gvar->video.page[0], 1, 0); - modexClearRegion(&gvar->video.page[0], 0, 0, gvar->video.page[0].width, gvar->video.page[0].height, 8); + modexClearRegion(&gvar->video.page[0], gvar->video.page[0].dx, gvar->video.page[0].dy, gvar->video.page[0].sw, gvar->video.page[0].sh, 8); }else #endif clrscr(); @@ -1665,17 +1665,17 @@ reset: else q = 0; break; case sc_UpArrow: - if(q>10) q-=10; + if(q>9) q-=10; else q = maxq; break; case sc_DownArrow: - if(qvideo.page[0], 0, 0, gvar->video.page[0].width, gvar->video.page[0].height, 8); + modexClearRegion(&gvar->video.page[0], gvar->video.page[0].dx, gvar->video.page[0].dy, gvar->video.page[0].sw, gvar->video.page[0].sh, 8); goto reset; break; case sc_Escape: diff --git a/src/lib/scroll16.h b/src/lib/scroll16.h index f7db2a7a..3c7bc559 100755 --- a/src/lib/scroll16.h +++ b/src/lib/scroll16.h @@ -42,8 +42,7 @@ #define SPRITE //#define TILERENDER -//0000 -#define SHOWFPS +//0000#define SHOWFPS //#define OLDWALKSHOWPAGESTUFF