public inbox for xconq7@sourceware.org
 help / color / mirror / Atom feed
From: Hans Ronne <hronne@comhem.se>
To: Eric McDonald <mcdonald@phy.cmich.edu>
Cc: xconq7@sources.redhat.com
Subject: Re: IMFApp Office
Date: Tue, 10 Aug 2004 19:02:00 -0000	[thread overview]
Message-ID: <l03130301bd3ea908374e@[212.181.162.155]> (raw)
In-Reply-To: <4118CCD1.2020709@phy.cmich.edu>

>> 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


  reply	other threads:[~2004-08-10 18:11 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-04  1:31 Improved IMFApp Hans Ronne
2004-08-04  1:59 ` Eric McDonald
2004-08-04 17:57   ` Hans Ronne
2004-08-04 18:46     ` Eric McDonald
2004-08-05  2:27       ` Hans Ronne
2004-08-05  3:18         ` Eric McDonald
2004-08-05 16:17       ` Jim Kingdon
2004-08-05 17:12         ` IMFApp Office (was Re: Improved IMFApp) Eric McDonald
2004-08-06 17:52           ` IMFApp Office Hans Ronne
2004-08-08  0:34             ` Eric McDonald
2004-08-08  1:02               ` Hans Ronne
2004-08-08  1:34                 ` Eric McDonald
2004-08-08 22:52                   ` Hans Ronne
2004-08-10 10:22                     ` Eric McDonald
2004-08-10 13:25                       ` Hans Ronne
2004-08-10 15:21                         ` Eric McDonald
2004-08-10 19:02                           ` Hans Ronne [this message]
2004-08-10 19:50                             ` Eric McDonald
2004-08-10 20:44                               ` Hans Ronne
2004-08-11  2:28                                 ` Eric McDonald
2004-08-11  2:30                                 ` Eric McDonald
2004-08-11  8:52                                   ` Eric McDonald
2004-08-11 15:55                                   ` Hans Ronne
2004-08-11 17:00                                     ` Eric McDonald
2004-08-12  1:56                                       ` Hans Ronne
2004-08-04  9:50 ` Improved IMFApp Eric McDonald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='l03130301bd3ea908374e@[212.181.162.155]' \
    --to=hronne@comhem.se \
    --cc=mcdonald@phy.cmich.edu \
    --cc=xconq7@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).