Search found 6 matches
- Fri Feb 29, 2008 5:34 pm
- Forum: Bug reports and ideas for enhancements
- Topic: Building units in a full city
- Replies: 19
- Views: 44875
And for a really interesting discussion, I decided (too late) that attempting to number the coordinates (x, y, Plane) was a mistake in the first place because every routine has to have special cases for towers of wizardry. If I was starting from scratch, I wouldn't number the coordinates at all, I'...
- Thu Feb 28, 2008 6:48 pm
- Forum: Bug reports and ideas for enhancements
- Topic: Building units in a full city
- Replies: 19
- Views: 44875
I thought that was it. Delphi was giving some warnings about uninitialized values and I was going to look into that. Those variables are declared before those loops so I was thinking the values should persist. But I guess not. Thanks! Results: 0,0 -1,-1 0,-1 1,-1 1,0 1,1 -1,0 -1,1 -1,2 -2,-2 -1,-2 0...
- Wed Feb 27, 2008 8:52 pm
- Forum: Bug reports and ideas for enhancements
- Topic: Building units in a full city
- Replies: 19
- Views: 44875
Yea, my tile order is wacked out. My chief concern was starting with 0,0 (the city square) and moving out in distance order. Which isn't what MoM did. Thanks for working on your algorithm, which (I think) achieves the MoM behavior, at least with the nearby squares. Taking a maxDistance of 3, the ver...
- Wed Feb 27, 2008 5:26 am
- Forum: Bug reports and ideas for enhancements
- Topic: Building units in a full city
- Replies: 19
- Views: 44875
(edit: I figured in-for-a-penny-in-for-a-pound and updated the code block) Good point about the planeshifting counter. Good ol' Astral Paratrooping ;) And the algorithm wouldn't be too awfully painful: The first step is building the list of possible tiles. Assuming you can reference a map tile by x,...
- Tue Feb 26, 2008 2:31 pm
- Forum: General - MoM IME
- Topic: Appreciation
- Replies: 15
- Views: 31810
- Tue Feb 26, 2008 2:25 pm
- Forum: Bug reports and ideas for enhancements
- Topic: Building units in a full city
- Replies: 19
- Views: 44875