Recent changes to sdlmain.c

Hans Ronne hronne@pp.sbbs.se
Thu Mar 7 11:35:00 GMT 2002


>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




More information about the Xconq7 mailing list