patch tcltk/tkmap.c

Hans Ronne hronne@pp.sbbs.se
Tue Apr 9 13:07:00 GMT 2002


>a health bar is not cleared completely in games which use 'bigicon'.
>
>--- tkmap.c.orig        Mon Apr  8 22:57:25 2002
>+++ tkmap.c     Mon Apr  8 22:57:48 2002
>@@ -4330,6 +4330,10 @@
>        if (mapw->rsw == -2) {
>            mapw->rsx = sx;  mapw->rsy = sy;
>            mapw->rsw = sw;  mapw->rsh = sh;
>+            if (g_bigicons()) {
>+                mapw->rsx -= 3;  mapw->rsy -= 3;
>+                mapw->rsw += 6;  mapw->rsh += 6;
>+            }
>        } else if (mapw->rsw == -1) {
>            /* do nothing, already drawing whole map */
>        } else {
>
>--
>MA dunzi <mniw@sol.dti.ne.jp> http://tadalunch.s5.xrea.com/xconq/index.html

Thanks. I will check it in next time. Unless Jim beats me to it :-).

Hans

Hans Ronne

hronne@pp.sbbs.se




More information about the Xconq7 mailing list