tiles.rc: control airport radar animation through tiles.rc

instead of in the java code

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@791 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
jason@long.name 2013-08-12 02:24:03 +00:00
parent 33cd0d02ed
commit ecba1ff5f9
3 changed files with 9 additions and 23 deletions

View file

@ -627,19 +627,6 @@ class MapScanner
repairZone(AIRPORT, 6);
}
if (powerOn)
{
if ((city.map[ypos-1][xpos+1] & LOMASK) == RADAR) {
city.setTile(xpos+1,ypos-1, (char)
(RADAR_ANIM)
);
}
}
else
{
city.setTile(xpos+1,ypos-1,(char)(RADAR));
}
if (powerOn) {
doAirport();
}

View file

@ -144,7 +144,6 @@ public class TileConstants
public static final char PORT = 698;
public static final char LASTPORT = 708;
public static final char AIRPORTBASE = 709;
public static final char RADAR = 711;
public static final char AIRPORT = 716;
public static final char COALBASE = 745;
public static final char POWERPLANT = 750;