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:
parent
33cd0d02ed
commit
ecba1ff5f9
3 changed files with 9 additions and 23 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Reference in a new issue