From: sparky4 Date: Sat, 13 May 2017 19:07:09 +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/?p=16.git;a=commitdiff_plain;h=bd79f930ea646ead9bd2630eeb7dce437444e5aa 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] boom has been fixed ^^[CA_CacheMap added seems to be used in start a new game] what is mapsegs? --- diff --git a/src/maptest.c b/src/maptest.c index 7b53667c..143a5f4d 100755 --- a/src/maptest.c +++ b/src/maptest.c @@ -23,7 +23,7 @@ #include #define DUMP -//#define DUMP_MAP +#define DUMP_MAP void main(int argc, char *argv[]) @@ -42,7 +42,6 @@ main(int argc, char *argv[]) MM_Startup(&gvar); PM_Startup(&gvar); - //printf("pmstarted ok\n"); PM_CheckMainMem(&gvar); PM_UnlockMainMem(&gvar); CA_Startup(&gvar); @@ -50,7 +49,6 @@ main(int argc, char *argv[]) fprintf(stderr, fmt, _memavl()); fprintf(stderr, fmt0, _memmax()); fprintf(stderr, "Size of map var = %u\n", _msize(&(gvar.ca.mapsegs))); - //getch(); CA_loadmap("data/test.map", &map, &gvar); #ifdef DUMP @@ -58,7 +56,6 @@ main(int argc, char *argv[]) fprintf(stdout, "map.height= %d\n", map.height); getch(); #ifdef DUMP_MAP - //if(map.width*map.height != 1200) for(k=0;k