From: Brett L. <wak...@ea...> - 2005-09-23 22:14:48
|
I got NS hexes working just a few hours ago. If you're having trouble merging changes, go ahead and send me the files and I can merge 'em by hand. ---Brett. -----Original Message----- From: Erik Vos <eri...@hc...> Sent: Sep 23, 2005 5:52 PM To: rai...@li... Subject: RE: [Rails-devel] Map status > > 2. We need a few more hex images to represent these things: > > all water, coastline with some water, rivers. The 1870 map > > just doesn't look quite right otherwise. ;-) Glad you didn't notice that the even rows were shifted with respect to the odd rows! That was a bug in game.MapHex. 1870 is OK now. 1856 and 18AL I can do if the NS map hexes are done, which you apparently are working on. I was also trying to make the rotation values mathematically correct, but your updates crossed mine. If you declare public final double static DEG60 = Math.PI/3, (60 degrees = pi/3 radians) then the rotation is simply - for NS hexes: tileOrientation * DEG60 - for EW hexes: (0.5+tileOrientation) * DEG60 so you don't need an array anymore. Erik. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Rails-devel mailing list Rai...@li... https://lists.sourceforge.net/lists/listinfo/rails-devel |