This is the mail archive of the xconq7@sources.redhat.com mailing list for the Xconq project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]