[Freeciv-Dev] Re: new player dialog
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Thu, Aug 23, 2001 at 04:58:39PM +0200, Karl-Ingo Friese wrote:
> On Thu, 23 Aug 2001, Raimar Falke wrote:
>
> > On Thu, Aug 23, 2001 at 01:14:08PM +0200, Karl-Ingo Friese wrote:
> >
> > Ok checking the flags isn't your job. Just bail out. I still think it
> > doesn't happen and you just programmed very defensive.
>
> Hmm, I think we are still misunderstanding each other. I need to find
> out the real flag dimensions. All flags are stored in pixmaps of the
> same width. But the dimensions of the flags (the rectangular area
> of pixels in which the flag can be found and which is not masked out)
> differs from flag to flag. So I need to calculate the flags pixmaps
> in either case.
I understood this.
> The defensive part is jus that I check the real flag dimensions do not
> get to small. You are right. I can remove that.
Leave the check in but make it fatal (i.e. an assert instead of using
the whole size).
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
1 + 1 = 3, for large values of 1
- [Freeciv-Dev] new player dialog, Karl-Ingo Friese, 2001/08/22
- [Freeciv-Dev] Re: new player dialog, Raimar Falke, 2001/08/23
- [Freeciv-Dev] Re: new player dialog, Karl-Ingo Friese, 2001/08/23
- [Freeciv-Dev] Re: new player dialog, Raimar Falke, 2001/08/23
- [Freeciv-Dev] Re: new player dialog, Karl-Ingo Friese, 2001/08/23
- [Freeciv-Dev] Re: new player dialog, Raimar Falke, 2001/08/23
- [Freeciv-Dev] Re: new player dialog, Karl-Ingo Friese, 2001/08/23
- [Freeciv-Dev] Re: new player dialog,
Raimar Falke <=
[Freeciv-Dev] can you send me a screenshot ?, Karl-Ingo Friese, 2001/08/23
[Freeciv-Dev] Re: new player dialog, Christian Knoke, 2001/08/23
- [Freeciv-Dev] Re: new player dialog, Karl-Ingo Friese, 2001/08/23
- [Freeciv-Dev] Re: new player dialog, Karl-Ingo Friese, 2001/08/23
- [Freeciv-Dev] Re: new player dialog, Reinier Post, 2001/08/23
- [Freeciv-Dev] Re: new player dialog, Erik Sigra, 2001/08/23
- [Freeciv-Dev] Re: new player dialog, Raimar Falke, 2001/08/23
[Freeciv-Dev] Re: new player dialog, Vasco Alexandre Da Silva Costa, 2001/08/23
|
|