From 6b90142d4ef91c15bebab68e34ddfa68bad478fd Mon Sep 17 00:00:00 2001 From: sparky4 Date: Sun, 14 May 2017 19:29:52 -0500 Subject: [PATCH] 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 --- src/lib/16_map.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.39.2