From 7328d603e46be9465955bbae28d40f89419a7bf3 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Fri, 12 May 2017 17:10:05 -0500 Subject: [PATCH 1/1] 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 mapsegs --- data/{ => hb1}/vgadict.hb1 | 0 data/{ => hb1}/vgagraph.hb1 | Bin data/{ => hb1}/vgahead.hb1 | Bin src/lib/16_map.c | 3 ++- 4 files changed, 2 insertions(+), 1 deletion(-) rename data/{ => hb1}/vgadict.hb1 (100%) rename data/{ => hb1}/vgagraph.hb1 (100%) rename data/{ => hb1}/vgahead.hb1 (100%) diff --git a/data/vgadict.hb1 b/data/hb1/vgadict.hb1 similarity index 100% rename from data/vgadict.hb1 rename to data/hb1/vgadict.hb1 diff --git a/data/vgagraph.hb1 b/data/hb1/vgagraph.hb1 similarity index 100% rename from data/vgagraph.hb1 rename to data/hb1/vgagraph.hb1 diff --git a/data/vgahead.hb1 b/data/hb1/vgahead.hb1 similarity index 100% rename from data/vgahead.hb1 rename to data/hb1/vgahead.hb1 diff --git a/src/lib/16_map.c b/src/lib/16_map.c index e598d36b..e3d7f386 100755 --- a/src/lib/16_map.c +++ b/src/lib/16_map.c @@ -216,7 +216,8 @@ int newloadmap(char *mn, map_t *map) { //====== -#define MAPBUFINLM *(gvar->ca.mapsegs) +#define MAPBUFINLM *(gvar->ca.tinf) +//mapsegs) int CA_loadmap(char *mn, map_t *map, global_game_variables_t *gvar) { jsmn_parser p; -- 2.39.2