Recent changes to sdlmain.c

Juergen Ruehle j.ruehle@bmiag.de
Thu Mar 7 09:52: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.

While I have your attention: images/font.bmp should have -kb
(this was probably the biggest problem in getting it up and running
on windows messing up the BMP header on checkout:-)

Oh and BTW: Thanks for the recent updates.

   Juergen



More information about the Xconq7 mailing list