[Freeciv-Dev] Re: suggestion: myth about freeciv
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Fri, 7 Feb 2003, Raimar Falke wrote:
> On Thu, Feb 06, 2003 at 11:49:04PM +0100, Andreas Røsdal wrote:
> > Hello!
> > I've been experimenting with scrolling "The Freeciv Myth"
> > on the introscreen.
> It doesn't compile. At least if some stricter options (like "-Wall
> -Wpointer-arith -Wcast-align -Wmissing-prototypes
> -Wmissing-declarations -Werror) are used.
>
> I fixed this. Now I got an access for index -1 on the myth array. The
> assert I inserted triggered. Also note that the use of _() in
> freeciv_myth isn't portable: only constants are allowed in
> initializers.
I'll have a look at the changes you made.
> > I couldn't get textwrapping to work in GTK (it works in GTK 2.0),
> > that would improve the patch a lot.
>
> Did you tried common/shared:wordwrap_string?
wordwrap_string change spaces in the array into newlines,
so it doesn't solve the problem completely.
The pango_layout_set_text() used in gui-gtk-2.0/graphics.c
can take chars with /n and display them properly.
gdk_draw_string() in gtk-1 can't, so each line has
to be drawn separately.
> Did you wrote the text?
>
> Raimar
The Myth is from the freeciv website:
http://www.freeciv.org/myth.html
Andreas Røsdal
- [Freeciv-Dev] suggestion: myth about freeciv, Andreas Røsdal, 2003/02/06
- [Freeciv-Dev] Re: suggestion: myth about freeciv, Raimar Falke, 2003/02/07
- [Freeciv-Dev] Re: suggestion: myth about freeciv,
Andreas Røsdal <=
- [Freeciv-Dev] Re: suggestion: myth about freeciv, Andreas Røsdal, 2003/02/07
- [Freeciv-Dev] Re: suggestion: myth about freeciv, Raimar Falke, 2003/02/07
- [Freeciv-Dev] Re: suggestion: myth about freeciv, Andreas Røsdal, 2003/02/07
- [Freeciv-Dev] Re: suggestion: myth about freeciv, Raimar Falke, 2003/02/07
- [Freeciv-Dev] Re: suggestion: myth about freeciv, Andreas Røsdal, 2003/02/08
- [Freeciv-Dev] Re: suggestion: myth about freeciv, Christian Knoke, 2003/02/08
- [Freeciv-Dev] Re: suggestion: myth about freeciv, Jason Dorje Short, 2003/02/08
- [Freeciv-Dev] Re: suggestion: myth about freeciv, Andreas Røsdal, 2003/02/08
- [Freeciv-Dev] Re: suggestion: myth about freeciv, Greg Wooledge, 2003/02/08
- Message not available
- [Freeciv-Dev] (PR#3357) Re: Re: suggestion: myth about freeciv, andrearo@xxxxxxxxxxxx via RT, 2003/02/09
|
|