From: sparky4 Date: Mon, 15 May 2017 00:29:52 +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=6b90142d4ef91c15bebab68e34ddfa68bad478fd;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] boom has been fixed ^^[CA_CacheMap added seems to be used in start a new game] what is mapsegs? testing xcroll.exe --- diff --git a/src/lib/16_map.c b/src/lib/16_map.c index ad846e81..6bd66ccf 100755 --- a/src/lib/16_map.c +++ b/src/lib/16_map.c @@ -242,8 +242,10 @@ int CA_loadmap(char *mn, map_t *map, global_game_variables_t *gvar) else if(status != tokcount) { printf("Warning: used %d tok\n", status);} extract_map((char const *)MAPSEGINLM, tok, tokcount, map); + printf("freeing tok\n"); free(tok); //TODO: USE MM_ CA_ AND PM_ - fclose(fh); //TODO: USE MM_ CA_ AND PM_ +// printf("fclose fh\n"); +// fclose(fh); //TODO: USE MM_ CA_ AND PM_ return 0; }