This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
Re: patch tcltk/tkmap.c
- From: Hans Ronne <hronne at pp dot sbbs dot se>
- To: mniw at sol dot dti dot ne dot jp (mniw)
- Cc: xconq7 at sources dot redhat dot com
- Date: Tue, 9 Apr 2002 22:06:54 +0200
- Subject: Re: 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
Thanks. I will check it in next time. Unless Jim beats me to it :-).
Hans
Hans Ronne
hronne@pp.sbbs.se