[Freeciv-Dev] Re: Four cornered isometric fortresses (PR#1358)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wed, 3 Apr 2002, Raimar Falke wrote:
> On Mon, Apr 01, 2002 at 07:14:37PM -0800, Daniel L Speyer wrote:
>
> Can you give a screenshot or an explanation?
>
Behold: both!
As you can see in the screenshot (taken from Lexxy), the unit is inside
the fortress, part in front, part in back. The current codebase
simply draws the fortress in front of the unit, which is why isometric
fortresses were three cornered until now.
To draw a complete fortress, it is nessesary to draw the back wall, then
any unit, then the front wall. Since the front wall is already drawn in
front of the unit, my patch just throws on a back wall first.
If the tileset doesn't offer a back wall, there's no reasonable way to
make it four-cornered, so I'll just draw a three-cornered one. Now, it
would be difficult to draw nothing, so I just draw the front wall, on the
logic that I *know* it'll be overdrawn anyway.
So that's all the patch does. Very simple.
--Daniel Speyer
If you *don't* consider sharing information to be morally equivalent to
kidnapping and murder on the high seas, you probably shouldn't use the
phrase "software piracy."
> Raimar
>
> --
> email: rf13@xxxxxxxxxxxxxxxxx
> "Last year, out in California, at a PC users group, there was a demo of
> smart speech recognition software. Before the demonstrator could begin
> his demo, a voice called out from the audience: "Format c, return. Yes,
> return." Damned short demo, it was.
>
fortress.jpg
Description: JPEG image
|
|