From: Brett L. <wak...@ea...> - 2005-10-02 23:24:12
|
>Actually, I've found a better way of doing things. >In GUIHex, there's still the PaintOverlay code from Colossus. Ok. I've gotten tile drawing to work using the paintOverlay() methods in GUIHex. IMO, this looks a TON better. Tiles are being drawn and rotated properly. I've even gotten hex selection working (first click selects the hex, second and subsequent clicks rotate it). However, there's still quite a few painting bugs in the frame, especially related to the scrollbar. Erik - Can you take a look at how neighbors and entrances are assigned and make sure they're correct? I think we're at a point where we need to verify this is working correctly. Even some of the hex painting code relies on checking neighbor hexes. I'm also thinking that rather than having a seperate property for TileID, we should use the Label property that's already there. Any thoughts here? ---Brett. |