This is the mail archive of the xconq7@sources.redhat.com mailing list for the Xconq project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

patch tcltk/tkmap.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]