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
|
@ -724,7 +724,7 @@
|
||||||
# BEGIN AIRPORT #
|
# BEGIN AIRPORT #
|
||||||
709 airport@0,0 (conducts)
|
709 airport@0,0 (conducts)
|
||||||
710 airport@16,0 (conducts)
|
710 airport@16,0 (conducts)
|
||||||
711 airport@32,0 (conducts)
|
711 airport@32,0 (conducts)(onpower=832)
|
||||||
712 airport@48,0 (conducts)
|
712 airport@48,0 (conducts)
|
||||||
713 airport@64,0 (conducts)
|
713 airport@64,0 (conducts)
|
||||||
714 airport@80,0 (conducts)
|
714 airport@80,0 (conducts)
|
||||||
|
@ -853,14 +853,14 @@
|
||||||
830 misc_animation@0,48 (noburn)
|
830 misc_animation@0,48 (noburn)
|
||||||
831 misc_animation@0,64 (noburn)
|
831 misc_animation@0,64 (noburn)
|
||||||
# BEGIN RADAR DISH #
|
# BEGIN RADAR DISH #
|
||||||
832 misc_animation@0,80 (conducts) (becomes=833)
|
832 misc_animation@0,80 (conducts) (becomes=833)(onshutdown=711)
|
||||||
833 misc_animation@0,96 (conducts) (becomes=834)
|
833 misc_animation@0,96 (conducts) (becomes=834)(onshutdown=711)
|
||||||
834 misc_animation@0,112 (conducts) (becomes=835)
|
834 misc_animation@0,112 (conducts) (becomes=835)(onshutdown=711)
|
||||||
835 misc_animation@0,128 (conducts) (becomes=836)
|
835 misc_animation@0,128 (conducts) (becomes=836)(onshutdown=711)
|
||||||
836 misc_animation@0,144 (conducts) (becomes=837)
|
836 misc_animation@0,144 (conducts) (becomes=837)(onshutdown=711)
|
||||||
837 misc_animation@0,160 (conducts) (becomes=838)
|
837 misc_animation@0,160 (conducts) (becomes=838)(onshutdown=711)
|
||||||
838 misc_animation@0,176 (conducts) (becomes=839)
|
838 misc_animation@0,176 (conducts) (becomes=839)(onshutdown=711)
|
||||||
839 misc_animation@0,192 (conducts) (becomes=832)
|
839 misc_animation@0,192 (conducts) (becomes=832)(onshutdown=711)
|
||||||
# BEGIN FOUNTAIN / FLAG #
|
# BEGIN FOUNTAIN / FLAG #
|
||||||
840 misc_animation@0,208 (becomes=841)
|
840 misc_animation@0,208 (becomes=841)
|
||||||
841 misc_animation@0,224 (becomes=842)
|
841 misc_animation@0,224 (becomes=842)
|
||||||
|
|
|
@ -627,19 +627,6 @@ class MapScanner
|
||||||
repairZone(AIRPORT, 6);
|
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) {
|
if (powerOn) {
|
||||||
doAirport();
|
doAirport();
|
||||||
}
|
}
|
||||||
|
|
|
@ -144,7 +144,6 @@ public class TileConstants
|
||||||
public static final char PORT = 698;
|
public static final char PORT = 698;
|
||||||
public static final char LASTPORT = 708;
|
public static final char LASTPORT = 708;
|
||||||
public static final char AIRPORTBASE = 709;
|
public static final char AIRPORTBASE = 709;
|
||||||
public static final char RADAR = 711;
|
|
||||||
public static final char AIRPORT = 716;
|
public static final char AIRPORT = 716;
|
||||||
public static final char COALBASE = 745;
|
public static final char COALBASE = 745;
|
||||||
public static final char POWERPLANT = 750;
|
public static final char POWERPLANT = 750;
|
||||||
|
|
Reference in a new issue