From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27894 invoked by alias); 10 Aug 2004 18:11:47 -0000 Mailing-List: contact xconq7-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: xconq7-owner@sources.redhat.com Received: (qmail 27887 invoked from network); 10 Aug 2004 18:11:45 -0000 Received: from unknown (HELO av8-2-sn2.hy.skanova.net) (81.228.8.111) by sourceware.org with SMTP; 10 Aug 2004 18:11:45 -0000 Received: by av8-2-sn2.hy.skanova.net (Postfix, from userid 502) id 9D29337E48; Tue, 10 Aug 2004 20:11:38 +0200 (CEST) Received: from smtp2-1-sn2.hy.skanova.net (smtp2-1-sn2.hy.skanova.net [81.228.8.177]) by av8-2-sn2.hy.skanova.net (Postfix) with ESMTP id 8E47C37E42; Tue, 10 Aug 2004 20:11:38 +0200 (CEST) Received: from [212.181.162.155] (h155n1fls24o1048.bredband.comhem.se [212.181.162.155]) by smtp2-1-sn2.hy.skanova.net (Postfix) with ESMTP id 0266A37E47; Tue, 10 Aug 2004 20:11:43 +0200 (CEST) X-Sender: u22611592@m1.226.comhem.se Message-Id: In-Reply-To: <4118CCD1.2020709@phy.cmich.edu> References: <200408051452.i75Eqlg06099@panix5.panix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 10 Aug 2004 19:02:00 -0000 To: Eric McDonald From: Hans Ronne Subject: Re: IMFApp Office Cc: xconq7@sources.redhat.com X-SW-Source: 2004/txt/msg00860.txt.bz2 >> In fact, the 32x32 view is really 44x48, to accomodate the special big >> images. And the 16x16 view is really 24x26. And so on. > >I see. It did seem that the display boxes were rather larger than the >32x32 images being displayed in them. Since this is the case, shouldn't >the "View" menu display sizes be listed as "44x48", "24x26", etc...? Perhaps. The big images started out as a oversized variants for some games that I wrote, so I kept the old labels. But since the oversized images are becoming more and more popular, maybe one should regard them as the standard at some point. >> Well, that is how the Selected as Terrain is supposed to work, i.e. to draw >> all units agains the selected image as background. The closeups are not >> supposed to be affected. Naturally, it will look strange if you select a >> unit image as terrain, but the program does it anyway. > >OK. Fair enough. However, the image that I did this with was one of the >44x44 heroes from 'fantasy.imf'. Shouldn't the other images have been >aligned precisely over it, since it is terrain-sized? Not necessarily. The background (terrain) is drawn using 32x32 tiles that fit snugly together, just as if the background was a map. You will notice that if a 44x48 image is used as a tile, it is trimmed to 32x32 size first. Now, individual unit images in IMFApp are positioned in a way that bears no relationship to the background tiles. The program just checks how wide the window is, and then computes how many columns it can squeeze in. Therefore, if you resize the window by a small amount (not enough to change the number of columns) you will find that the unit images move, while the background tiles stay the same. Hans