[Freeciv-Dev] Re: Isometric mode screen updates.
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
|
|