TODO- document an issue with draw-bridges
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@797 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
parent
11f791b86e
commit
8635eb2d4e
2 changed files with 8 additions and 0 deletions
3
TODO
3
TODO
|
@ -26,3 +26,6 @@ City size notifications-
|
|||
Graphics-
|
||||
*Let graphics be pluggable; use a mechanism similar to how the UI strings
|
||||
are pluggable according to locale.
|
||||
|
||||
Draw-Bridge-
|
||||
*If there's traffic on a bridge, the draw bridge does not open correctly.
|
||||
|
|
|
@ -355,6 +355,11 @@ class MapScanner
|
|||
*/
|
||||
private void applyBridgeChange(int [] Dx, int [] Dy, char [] fromTab, char [] toTab)
|
||||
{
|
||||
//FIXME- a closed bridge with traffic on it is not
|
||||
// correctly handled by this subroutine, because the
|
||||
// the tiles representing traffic on a bridge do not match
|
||||
// the expected tile values of fromTab
|
||||
|
||||
for (int z = 0; z < 7; z++) {
|
||||
int x = xpos + Dx[z];
|
||||
int y = ypos + Dy[z];
|
||||
|
|
Reference in a new issue