This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
Recent changes to sdlmain.c
- From: Juergen Ruehle <j dot ruehle at bmiag dot de>
- To: xconq7 at sources dot redhat dot com
- Date: Thu, 7 Mar 2002 18:52:06 +0100
- Subject: 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.
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