This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
Re: Recent changes to sdlmain.c
- From: Hans Ronne <hronne at pp dot sbbs dot se>
- To: Juergen Ruehle <j dot ruehle at bmiag dot de>
- Cc: xconq7 at sources dot redhat dot com
- Date: Thu, 7 Mar 2002 20:34:36 +0100
- Subject: Re: Recent changes to sdlmain.c
>I have been messing around with the sdl frontend on windows so I might
>have broken something, but the following addition to launch_game()
>
>+ /* Do first set of turn calcs, but let the host lead the way. */
>+ if (my_rid == 0 || (my_rid > 0 && my_rid == master_rid)) {
>+ net_run_game(0);
>+ }
>
>seems to result in bogus screen updates because the main map view port
>still has size 0 when lauch_game() runs. Probably the sdl ui has to be
>initialized somewhat sooner but I don't have the knowledge (yet) to
>provide a patch.
I will take a look at this. Thanks for the report.
Hans
Hans Ronne
hronne@pp.sbbs.se