Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2002:
[Freeciv-Dev] Re: Isometric mode screen updates.
Home

[Freeciv-Dev] Re: Isometric mode screen updates.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Teemu Kurppa <tkurppa@xxxxxxxxxx>
Cc: freeciv-dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Isometric mode screen updates.
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 13 Jan 2002 19:30:29 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Sun, Jan 13, 2002 at 01:42:53PM +0200, Teemu Kurppa wrote:
> I added support for tile markers for GTK-client isometric mode. There are
> some problems in updating map canvas correctly. I have browsed code to
> understand correctly, how drawing in isometric mode is done. But it would
> be great help, if there exists some short introduction to
> the implementation philosophy of isometric mode. Is there ? 

AFAIK no.

> Another concern: When I reimplemented tile markers to use attributes as
> only storage, it became necessary to do some memory allocation in
> update_map_canvas. I guess that memory allocation in such time critical
> function isn't recommended, although I didn't notice an performance
> hit. I think I'll move back to a solution, which have two copies of tile
> markers data. 

Especially the GTK GUI is slow. It will take ms's to draw/update
something. So an allocation of some hundred bytes don't harm IMHO.

        Raimar
-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Microsoft DNS service terminates abnormally when it recieves a response
  to a DNS query that was never made.
  Fix Information: Run your DNS service on a different platform."
    -- MS service information on bugtraq


[Prev in Thread] Current Thread [Next in Thread]