From 5c2beed2c6d6a4fbe8f2fa2918f1227ca6e288ba Mon Sep 17 00:00:00 2001 From: sparky4 Date: Mon, 24 Apr 2017 17:24:51 -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] --- src/lib/16_mm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/16_mm.c b/src/lib/16_mm.c index 4aa8b746..9b7a123f 100755 --- a/src/lib/16_mm.c +++ b/src/lib/16_mm.c @@ -1534,11 +1534,11 @@ void MM_ShowMemory (global_game_variables_t *gvar) } mmblocktype;*/ //modexprint(page, x, y, t, tlsw, color, bgcolor, vidsw, const byte *str); #define MMSMPRINTMEMINFO modexprint(&(gvar->video.page[0]), xpos, ypos, 1, 0, ccolor, 8, gvar->video.VL_Started, global_temp_status_text); ypos+=8; - if(!gvar->video.VL_Started) clrscr(); else + 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); - } + }else clrscr(); sprintf(global_temp_status_text, "block #%04u", qq); MMSMPRINTMEMINFO // sprintf(global_temp_status_text, "%Fp", scaninfo[qq].scan->useptr); MMSMPRINTMEMINFO sprintf(global_temp_status_text, "%04x", (unsigned)scaninfo[qq].scan->useptr); MMSMPRINTMEMINFO -- 2.39.2