From 53577209f5c8a408f980f24d8b8753b392342827 Mon Sep 17 00:00:00 2001 From: terminx Date: Mon, 2 Jun 2008 21:35:51 +0000 Subject: [PATCH] git-svn-id: https://svn.eduke32.com/eduke32@757 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/build/src/engine.c | 2 +- polymer/eduke32/source/astub.c | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/polymer/build/src/engine.c b/polymer/build/src/engine.c index 800ab266f..cbe4bfc0d 100644 --- a/polymer/build/src/engine.c +++ b/polymer/build/src/engine.c @@ -10973,7 +10973,7 @@ void clear2dscreen(void) // void draw2dgrid(int posxe, int posye, short ange, int zoome, short gride) { - int i, xp1, yp1, xp2=0, yp2, tempy; + int64 i, xp1, yp1, xp2=0, yp2, tempy; UNREFERENCED_PARAMETER(ange); diff --git a/polymer/eduke32/source/astub.c b/polymer/eduke32/source/astub.c index fe4a09a23..027e553c3 100644 --- a/polymer/eduke32/source/astub.c +++ b/polymer/eduke32/source/astub.c @@ -5639,7 +5639,7 @@ static void Keys2d(void) else _printmessage16(""); } - if (opointhighlight != pointhighlight || olinehighlight != linehighlight || ocursectornum != cursectornum) + if (bstatus&1 || opointhighlight != pointhighlight || olinehighlight != linehighlight || ocursectornum != cursectornum) { if (pointhighlight >= 16384) { @@ -5657,6 +5657,7 @@ static void Keys2d(void) clearmidstatbar16(); showsectordata((short)cursectornum); } + else clearmidstatbar16(); opointhighlight = pointhighlight; olinehighlight = linehighlight; ocursectornum = cursectornum; @@ -5672,12 +5673,12 @@ static void Keys2d(void) if (sprite[i].picnum == 5 /*&& zoom >= 256*/ && sprite[i].sectnum != MAXSECTORS) { radius = mulscale15(sprite[i].hitag,zoom); - col = 14; + col = 6; if (i+16384 == pointhighlight) - if (totalclock & 32) col -= (2<<2); - drawlinepat = 0xf0f0f0f0; + if (totalclock & 32) col += (2<<2); +// drawlinepat = 0xf0f0f0f0; drawcircle16(halfxdim16+xp1, midydim16+yp1, radius, col); - drawlinepat = 0xffffffff; +// drawlinepat = 0xffffffff; } } enddrawing();