Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2005:
[Freeciv-Dev] Re: (PR#12636) Split Sprite in two
Home

[Freeciv-Dev] Re: (PR#12636) Split Sprite in two

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: per@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#12636) Split Sprite in two
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 25 Mar 2005 09:26:57 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12636 >

Per I. Mathisen wrote:

> So I would like to propose a split of the Sprite into 1) a new "struct
> sprite_album" and 2) a "struct Sprite" (as before).

I don't really like this idea.  Can't you track for each sprite whether 
it should be loaded into video memory?  Basically you only want to load 
those sprites for which canvas_put_sprite is called; can you just load 
the sprite the first time it is used?

-jason





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#12636) Split Sprite in two, Jason Short <=