From dbb7029ec2e63447dd78d46627bb83c2b883d640 Mon Sep 17 00:00:00 2001 From: "jason@long.name" Date: Fri, 6 Dec 2013 16:01:45 +0000 Subject: [PATCH] tiles.rc: annotate tiles that can be bulldozed these tiles can be bulldozed clean using the bulldozer git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@893 d9718cc8-9f43-0410-858b-315f434eb58c --- graphics/tiles.rc | 276 +++++++++++++-------------- src/micropolisj/engine/TileSpec.java | 2 + 2 files changed, 140 insertions(+), 138 deletions(-) diff --git a/graphics/tiles.rc b/graphics/tiles.rc index 9c24aaf..04436de 100644 --- a/graphics/tiles.rc +++ b/graphics/tiles.rc @@ -13,53 +13,53 @@ 2 terrain@0,32 (noburn)(description=#1) 3 terrain@0,48 (noburn)(description=#1) 4 terrain@0,64 (noburn)(description=#1) -5 terrain@0,80 (noburn)(description=#1) -6 terrain@0,96 (noburn)(description=#1) -7 terrain@0,112 (noburn)(description=#1) -8 terrain@0,128 (noburn)(description=#1) -9 terrain@0,144 (noburn)(description=#1) -10 terrain@0,160 (noburn)(description=#1) -11 terrain@0,176 (noburn)(description=#1) -12 terrain@0,192 (noburn)(description=#1) -13 terrain@0,208 (noburn)(description=#1) -14 terrain@0,224 (noburn)(description=#1) -15 terrain@0,240 (noburn)(description=#1) -16 terrain@0,256 (noburn)(description=#1) -17 terrain@0,272 (noburn)(description=#1) -18 terrain@0,288 (noburn)(description=#1) -19 terrain@0,304 (noburn)(description=#1) -20 terrain@0,320 (noburn)(description=#1) +5 terrain@0,80 (bulldozable)(noburn)(description=#1) +6 terrain@0,96 (bulldozable)(noburn)(description=#1) +7 terrain@0,112 (bulldozable)(noburn)(description=#1) +8 terrain@0,128 (bulldozable)(noburn)(description=#1) +9 terrain@0,144 (bulldozable)(noburn)(description=#1) +10 terrain@0,160 (bulldozable)(noburn)(description=#1) +11 terrain@0,176 (bulldozable)(noburn)(description=#1) +12 terrain@0,192 (bulldozable)(noburn)(description=#1) +13 terrain@0,208 (bulldozable)(noburn)(description=#1) +14 terrain@0,224 (bulldozable)(noburn)(description=#1) +15 terrain@0,240 (bulldozable)(noburn)(description=#1) +16 terrain@0,256 (bulldozable)(noburn)(description=#1) +17 terrain@0,272 (bulldozable)(noburn)(description=#1) +18 terrain@0,288 (bulldozable)(noburn)(description=#1) +19 terrain@0,304 (bulldozable)(noburn)(description=#1) +20 terrain@0,320 (bulldozable)(noburn)(description=#1) # BEGIN TREES # -21 terrain@0,336 (description=#2) -22 terrain@0,352 (description=#2) -23 terrain@0,368 (description=#2) -24 terrain@0,384 (description=#2) -25 terrain@0,400 (description=#2) -26 terrain@0,416 (description=#2) -27 terrain@0,432 (description=#2) -28 terrain@0,448 (description=#2) -29 terrain@0,464 (description=#2) -30 terrain@0,480 (description=#2) -31 terrain@0,496 (description=#2) -32 terrain@0,512 (description=#2) -33 terrain@0,528 (description=#2) -34 terrain@0,544 (description=#2) -35 terrain@0,560 (description=#2) -36 terrain@0,576 (description=#2) -37 terrain@0,592 (description=#2) +21 terrain@0,336 (bulldozable)(description=#2) +22 terrain@0,352 (bulldozable)(description=#2) +23 terrain@0,368 (bulldozable)(description=#2) +24 terrain@0,384 (bulldozable)(description=#2) +25 terrain@0,400 (bulldozable)(description=#2) +26 terrain@0,416 (bulldozable)(description=#2) +27 terrain@0,432 (bulldozable)(description=#2) +28 terrain@0,448 (bulldozable)(description=#2) +29 terrain@0,464 (bulldozable)(description=#2) +30 terrain@0,480 (bulldozable)(description=#2) +31 terrain@0,496 (bulldozable)(description=#2) +32 terrain@0,512 (bulldozable)(description=#2) +33 terrain@0,528 (bulldozable)(description=#2) +34 terrain@0,544 (bulldozable)(description=#2) +35 terrain@0,560 (bulldozable)(description=#2) +36 terrain@0,576 (bulldozable)(description=#2) +37 terrain@0,592 (bulldozable)(description=#2) # unused 38 terrain@0,608 39 terrain@0,624 # BEGIN WOODS (4 frames) # -40 terrain@0,640 (description=#2) -41 terrain@0,656 (description=#2) -42 terrain@0,672 (description=#2) -43 terrain@0,688 (description=#2) +40 terrain@0,640 (bulldozable)(description=#2) +41 terrain@0,656 (bulldozable)(description=#2) +42 terrain@0,672 (bulldozable)(description=#2) +43 terrain@0,688 (bulldozable)(description=#2) # BEGIN RUBBLE (4 frames) # -44 terrain@0,704 (noburn)(description=#3) -45 terrain@0,720 (noburn)(description=#3) -46 terrain@0,736 (noburn)(description=#3) -47 terrain@0,752 (noburn)(description=#3) +44 terrain@0,704 (bulldozable)(noburn)(description=#3) +45 terrain@0,720 (bulldozable)(noburn)(description=#3) +46 terrain@0,736 (bulldozable)(noburn)(description=#3) +47 terrain@0,752 (bulldozable)(noburn)(description=#3) # BEGIN FLOODING (4 frames) # 48 terrain@0,768 (noburn)(description=#4)(behavior=FLOOD) 49 terrain@0,784 (noburn)(description=#4)(behavior=FLOOD) @@ -80,23 +80,23 @@ 62 terrain@0,992 (noburn)(description=#6)(behavior=FIRE)(becomes=63)(pollution=90) 63 terrain@0,1008 (noburn)(description=#6)(behavior=FIRE)(becomes=56)(pollution=90) # BEGIN ROADS WITH NO TRAFFIC # -64 roads@0,0 (noburn)(overwater)(description=#7)(behavior=ROAD) -65 roads@0,16 (noburn)(overwater)(description=#7)(behavior=ROAD) -66 roads@0,32 (description=#7)(behavior=ROAD) -67 roads@0,48 (description=#7)(behavior=ROAD) -68 roads@0,64 (description=#7)(behavior=ROAD) -69 roads@0,80 (description=#7)(behavior=ROAD) -70 roads@0,96 (description=#7)(behavior=ROAD) -71 roads@0,112 (description=#7)(behavior=ROAD) -72 roads@0,128 (description=#7)(behavior=ROAD) -73 roads@0,144 (description=#7)(behavior=ROAD) -74 roads@0,160 (description=#7)(behavior=ROAD) -75 roads@0,176 (description=#7)(behavior=ROAD) -76 roads@0,192 (description=#7)(behavior=ROAD) -77 roads@0,32 |roadwire@0,0 (conducts)(description=#7)(behavior=ROAD) -78 roads@0,48 |roadwire@0,16 (conducts)(description=#7)(behavior=ROAD) +64 roads@0,0 (bulldozable)(noburn)(overwater)(description=#7)(behavior=ROAD) +65 roads@0,16 (bulldozable)(noburn)(overwater)(description=#7)(behavior=ROAD) +66 roads@0,32 (bulldozable)(description=#7)(behavior=ROAD) +67 roads@0,48 (bulldozable)(description=#7)(behavior=ROAD) +68 roads@0,64 (bulldozable)(description=#7)(behavior=ROAD) +69 roads@0,80 (bulldozable)(description=#7)(behavior=ROAD) +70 roads@0,96 (bulldozable)(description=#7)(behavior=ROAD) +71 roads@0,112 (bulldozable)(description=#7)(behavior=ROAD) +72 roads@0,128 (bulldozable)(description=#7)(behavior=ROAD) +73 roads@0,144 (bulldozable)(description=#7)(behavior=ROAD) +74 roads@0,160 (bulldozable)(description=#7)(behavior=ROAD) +75 roads@0,176 (bulldozable)(description=#7)(behavior=ROAD) +76 roads@0,192 (bulldozable)(description=#7)(behavior=ROAD) +77 roads@0,32 |roadwire@0,0 (bulldozable)(conducts)(description=#7)(behavior=ROAD) +78 roads@0,48 |roadwire@0,16 (bulldozable)(conducts)(description=#7)(behavior=ROAD) # open draw bridge (east-west) - -79 roads@0,240 (noburn)(overwater)(description=#7)(behavior=ROAD) +79 roads@0,240 (bulldozable)(noburn)(overwater)(description=#7)(behavior=ROAD) # BEGIN ROADS WITH LIGHT TRAFFIC # 80 (64) |traffic@0,0 (becomes=128)(pollution=50) 81 (65) |traffic@0,16 (becomes=129)(pollution=50) @@ -111,10 +111,10 @@ 90 (74) |traffic@0,0 (becomes=138)(pollution=50) 91 (75) |traffic@0,16 (becomes=139)(pollution=50) 92 (76) |traffic@0,192 (becomes=140)(pollution=50) -93 roads@0,32 |traffic@0,0 |roadwire@0,0 (conducts)(becomes=141)(description=#7)(behavior=ROAD)(pollution=50) -94 roads@0,48 |traffic@0,16 |roadwire@0,16 (conducts)(becomes=142)(description=#7)(behavior=ROAD)(pollution=50) +93 roads@0,32 |traffic@0,0 |roadwire@0,0 (bulldozable)(conducts)(becomes=141)(description=#7)(behavior=ROAD)(pollution=50) +94 roads@0,48 |traffic@0,16 |roadwire@0,16 (bulldozable)(conducts)(becomes=142)(description=#7)(behavior=ROAD)(pollution=50) # open draw bridge (north-south) - -95 roads@0,240 (noburn)(overwater)(becomes=143)(description=#7)(behavior=ROAD)(pollution=50) +95 roads@0,240 (bulldozable)(noburn)(overwater)(becomes=143)(description=#7)(behavior=ROAD)(pollution=50) 96 (64) |traffic@16,0 (becomes=80)(pollution=50) 97 (65) |traffic@16,16 (becomes=81)(pollution=50) 98 (66) |traffic@16,0 (becomes=82)(pollution=50) @@ -128,8 +128,8 @@ 106 (74) |traffic@16,0 (becomes=90)(pollution=50) 107 (75) |traffic@16,16 (becomes=91)(pollution=50) 108 (76) |traffic@16,192 (becomes=92)(pollution=50) -109 roads@0,32 |traffic@16,0 |roadwire@0,0 (conducts)(becomes=93)(description=#7)(behavior=ROAD)(pollution=50) -110 roads@0,48 |traffic@16,16 |roadwire@0,16 (conducts)(becomes=94)(description=#7)(behavior=ROAD)(pollution=50) +109 roads@0,32 |traffic@16,0 |roadwire@0,0 (bulldozable)(conducts)(becomes=93)(description=#7)(behavior=ROAD)(pollution=50) +110 roads@0,48 |traffic@16,16 |roadwire@0,16 (bulldozable)(conducts)(becomes=94)(description=#7)(behavior=ROAD)(pollution=50) 111 112 (64) |traffic@32,0 (becomes=96)(pollution=50) 113 (65) |traffic@32,16 (becomes=97)(pollution=50) @@ -144,8 +144,8 @@ 122 (74) |traffic@32,0 (becomes=106)(pollution=50) 123 (75) |traffic@32,16 (becomes=107)(pollution=50) 124 (76) |traffic@32,192 (becomes=108)(pollution=50) -125 roads@0,32 |traffic@32,0 |roadwire@0,0 (conducts)(becomes=109)(description=#7)(behavior=ROAD)(pollution=50) -126 roads@0,48 |traffic@32,16 |roadwire@0,16 (conducts)(becomes=110)(description=#7)(behavior=ROAD)(pollution=50) +125 roads@0,32 |traffic@32,0 |roadwire@0,0 (bulldozable)(conducts)(becomes=109)(description=#7)(behavior=ROAD)(pollution=50) +126 roads@0,48 |traffic@32,16 |roadwire@0,16 (bulldozable)(conducts)(becomes=110)(description=#7)(behavior=ROAD)(pollution=50) 127 128 (64) |traffic@48,0 (becomes=112)(pollution=50) 129 (65) |traffic@48,16 (becomes=113)(pollution=50) @@ -160,8 +160,8 @@ 138 (74) |traffic@48,0 (becomes=122)(pollution=50) 139 (75) |traffic@48,16 (becomes=123)(pollution=50) 140 (76) |traffic@48,192 (becomes=124)(pollution=50) -141 roads@0,32 |traffic@48,0 |roadwire@0,0 (conducts)(becomes=125)(description=#7)(behavior=ROAD)(pollution=50) -142 roads@0,48 |traffic@48,16 |roadwire@0,16 (conducts)(becomes=126)(description=#7)(behavior=ROAD)(pollution=50) +141 roads@0,32 |traffic@48,0 |roadwire@0,0 (bulldozable)(conducts)(becomes=125)(description=#7)(behavior=ROAD)(pollution=50) +142 roads@0,48 |traffic@48,16 |roadwire@0,16 (bulldozable)(conducts)(becomes=126)(description=#7)(behavior=ROAD)(pollution=50) 143 # BEGIN ROADS WITH HEAVY TRAFFIC # 144 (64) |traffic@64,0 (becomes=192)(pollution=75) @@ -177,8 +177,8 @@ 154 (74) |traffic@64,0 (becomes=202)(pollution=75) 155 (75) |traffic@64,16 (becomes=203)(pollution=75) 156 (76) |traffic@64,192 (becomes=204)(pollution=75) -157 roads@0,32 |traffic@64,0 |roadwire@0,0 (conducts)(becomes=205)(description=#7)(behavior=ROAD)(pollution=75) -158 roads@0,48 |traffic@64,16 |roadwire@0,16 (conducts)(becomes=206)(description=#7)(behavior=ROAD)(pollution=75) +157 roads@0,32 |traffic@64,0 |roadwire@0,0 (bulldozable)(conducts)(becomes=205)(description=#7)(behavior=ROAD)(pollution=75) +158 roads@0,48 |traffic@64,16 |roadwire@0,16 (bulldozable)(conducts)(becomes=206)(description=#7)(behavior=ROAD)(pollution=75) 159 160 (64) |traffic@80,0 (becomes=144)(pollution=75) 161 (65) |traffic@80,16 (becomes=145)(pollution=75) @@ -193,8 +193,8 @@ 170 (74) |traffic@80,0 (becomes=154)(pollution=75) 171 (75) |traffic@80,16 (becomes=155)(pollution=75) 172 (76) |traffic@80,192 (becomes=156)(pollution=75) -173 roads@0,32 |traffic@80,0 |roadwire@0,0 (conducts)(becomes=157)(description=#7)(behavior=ROAD)(pollution=75) -174 roads@0,48 |traffic@80,16 |roadwire@0,16 (conducts)(becomes=158)(description=#7)(behavior=ROAD)(pollution=75) +173 roads@0,32 |traffic@80,0 |roadwire@0,0 (bulldozable)(conducts)(becomes=157)(description=#7)(behavior=ROAD)(pollution=75) +174 roads@0,48 |traffic@80,16 |roadwire@0,16 (bulldozable)(conducts)(becomes=158)(description=#7)(behavior=ROAD)(pollution=75) 175 176 (64) |traffic@96,0 (becomes=160)(pollution=75) 177 (65) |traffic@96,16 (becomes=161)(pollution=75) @@ -209,8 +209,8 @@ 186 (74) |traffic@96,0 (becomes=170)(pollution=75) 187 (75) |traffic@96,16 (becomes=171)(pollution=75) 188 (76) |traffic@96,192 (becomes=172)(pollution=75) -189 roads@0,32 |traffic@96,0 |roadwire@0,0 (conducts)(becomes=173)(description=#7)(behavior=ROAD)(pollution=75) -190 roads@0,48 |traffic@96,16 |roadwire@0,16 (conducts)(becomes=174)(description=#7)(behavior=ROAD)(pollution=75) +189 roads@0,32 |traffic@96,0 |roadwire@0,0 (bulldozable)(conducts)(becomes=173)(description=#7)(behavior=ROAD)(pollution=75) +190 roads@0,48 |traffic@96,16 |roadwire@0,16 (bulldozable)(conducts)(becomes=174)(description=#7)(behavior=ROAD)(pollution=75) 191 192 (64) |traffic@112,0 (becomes=176)(pollution=75) 193 (65) |traffic@112,16 (becomes=177)(pollution=75) @@ -225,43 +225,43 @@ 202 (74) |traffic@112,0 (becomes=186)(pollution=75) 203 (75) |traffic@112,16 (becomes=187)(pollution=75) 204 (76) |traffic@112,192 (becomes=188)(pollution=75) -205 roads@0,32 |traffic@112,0 |roadwire@0,0 (conducts)(becomes=189)(description=#7)(behavior=ROAD)(pollution=75) -206 roads@0,48 |traffic@112,16 |roadwire@0,16 (conducts)(becomes=190)(description=#7)(behavior=ROAD)(pollution=75) +205 roads@0,32 |traffic@112,0 |roadwire@0,0 (bulldozable)(conducts)(becomes=189)(description=#7)(behavior=ROAD)(pollution=75) +206 roads@0,48 |traffic@112,16 |roadwire@0,16 (bulldozable)(conducts)(becomes=190)(description=#7)(behavior=ROAD)(pollution=75) 207 # BEGIN WIRES # -208 wires@0,0 (noburn)(overwater)(conducts)(description=#8) -209 wires@0,16 (noburn)(overwater)(conducts)(description=#8) -210 wires@0,32 (conducts)(description=#8) -211 wires@0,48 (conducts)(description=#8) -212 wires@0,64 (conducts)(description=#8) -213 wires@0,80 (conducts)(description=#8) -214 wires@0,96 (conducts)(description=#8) -215 wires@0,112 (conducts)(description=#8) -216 wires@0,128 (conducts)(description=#8) -217 wires@0,144 (conducts)(description=#8) -218 wires@0,160 (conducts)(description=#8) -219 wires@0,176 (conducts)(description=#8) -220 wires@0,192 (conducts)(description=#8) -221 wires@0,208 (conducts)(description=#8) -222 wires@0,224 (conducts)(description=#8) -223 wires@0,240 (conducts)(description=#8) +208 wires@0,0 (bulldozable)(noburn)(overwater)(conducts)(description=#8) +209 wires@0,16 (bulldozable)(noburn)(overwater)(conducts)(description=#8) +210 wires@0,32 (bulldozable)(conducts)(description=#8) +211 wires@0,48 (bulldozable)(conducts)(description=#8) +212 wires@0,64 (bulldozable)(conducts)(description=#8) +213 wires@0,80 (bulldozable)(conducts)(description=#8) +214 wires@0,96 (bulldozable)(conducts)(description=#8) +215 wires@0,112 (bulldozable)(conducts)(description=#8) +216 wires@0,128 (bulldozable)(conducts)(description=#8) +217 wires@0,144 (bulldozable)(conducts)(description=#8) +218 wires@0,160 (bulldozable)(conducts)(description=#8) +219 wires@0,176 (bulldozable)(conducts)(description=#8) +220 wires@0,192 (bulldozable)(conducts)(description=#8) +221 wires@0,208 (bulldozable)(conducts)(description=#8) +222 wires@0,224 (bulldozable)(conducts)(description=#8) +223 wires@0,240 (bulldozable)(conducts)(description=#8) # BEGIN RAILS # -224 rails@0,0 (noburn)(overwater)(description=#9)(behavior=RAIL) -225 rails@0,16 (noburn)(overwater)(description=#9)(behavior=RAIL) -226 rails@0,32 (description=#9)(behavior=RAIL) -227 rails@0,48 (description=#9)(behavior=RAIL) -228 rails@0,64 (description=#9)(behavior=RAIL) -229 rails@0,80 (description=#9)(behavior=RAIL) -230 rails@0,96 (description=#9)(behavior=RAIL) -231 rails@0,112 (description=#9)(behavior=RAIL) -232 rails@0,128 (description=#9)(behavior=RAIL) -233 rails@0,144 (description=#9)(behavior=RAIL) -234 rails@0,160 (description=#9)(behavior=RAIL) -235 rails@0,176 (description=#9)(behavior=RAIL) -236 rails@0,192 (description=#9)(behavior=RAIL) -237 rails@0,208 (description=#9)(behavior=RAIL) -238 rails@0,224 (description=#9)(behavior=RAIL) -239 rails@0,240 (description=#9)(behavior=RAIL) +224 rails@0,0 (bulldozable)(noburn)(overwater)(description=#9)(behavior=RAIL) +225 rails@0,16 (bulldozable)(noburn)(overwater)(description=#9)(behavior=RAIL) +226 rails@0,32 (bulldozable)(description=#9)(behavior=RAIL) +227 rails@0,48 (bulldozable)(description=#9)(behavior=RAIL) +228 rails@0,64 (bulldozable)(description=#9)(behavior=RAIL) +229 rails@0,80 (bulldozable)(description=#9)(behavior=RAIL) +230 rails@0,96 (bulldozable)(description=#9)(behavior=RAIL) +231 rails@0,112 (bulldozable)(description=#9)(behavior=RAIL) +232 rails@0,128 (bulldozable)(description=#9)(behavior=RAIL) +233 rails@0,144 (bulldozable)(description=#9)(behavior=RAIL) +234 rails@0,160 (bulldozable)(description=#9)(behavior=RAIL) +235 rails@0,176 (bulldozable)(description=#9)(behavior=RAIL) +236 rails@0,192 (bulldozable)(description=#9)(behavior=RAIL) +237 rails@0,208 (bulldozable)(description=#9)(behavior=RAIL) +238 rails@0,224 (bulldozable)(description=#9)(behavior=RAIL) +239 rails@0,240 (bulldozable)(description=#9)(behavior=RAIL) # BEGIN RESIDENTIAL # 240 res_zones@0,0 (conducts) 241 res_zones@16,0 (conducts) @@ -272,18 +272,18 @@ 246 res_zones@0,32 (conducts) 247 res_zones@16,32 (conducts) 248 res_zones@32,32 (conducts) -249 res_houses@0,0 (conducts)(residential-zone)(description=#10) -250 res_houses@0,16 (conducts)(residential-zone)(description=#10) -251 res_houses@0,32 (conducts)(residential-zone)(description=#10) -252 res_houses@0,48 (conducts)(residential-zone)(description=#10) -253 res_houses@0,64 (conducts)(residential-zone)(description=#10) -254 res_houses@0,80 (conducts)(residential-zone)(description=#10) -255 res_houses@0,96 (conducts)(residential-zone)(description=#10) -256 res_houses@0,112 (conducts)(residential-zone)(description=#10) -257 res_houses@0,128 (conducts)(residential-zone)(description=#10) -258 res_houses@0,144 (conducts)(residential-zone)(description=#10) -259 res_houses@0,160 (conducts)(residential-zone)(description=#10) -260 res_houses@0,176 (conducts)(residential-zone)(description=#10) +249 res_houses@0,0 (bulldozable)(conducts)(residential-zone)(description=#10) +250 res_houses@0,16 (bulldozable)(conducts)(residential-zone)(description=#10) +251 res_houses@0,32 (bulldozable)(conducts)(residential-zone)(description=#10) +252 res_houses@0,48 (bulldozable)(conducts)(residential-zone)(description=#10) +253 res_houses@0,64 (bulldozable)(conducts)(residential-zone)(description=#10) +254 res_houses@0,80 (bulldozable)(conducts)(residential-zone)(description=#10) +255 res_houses@0,96 (bulldozable)(conducts)(residential-zone)(description=#10) +256 res_houses@0,112 (bulldozable)(conducts)(residential-zone)(description=#10) +257 res_houses@0,128 (bulldozable)(conducts)(residential-zone)(description=#10) +258 res_houses@0,144 (bulldozable)(conducts)(residential-zone)(description=#10) +259 res_houses@0,160 (bulldozable)(conducts)(residential-zone)(description=#10) +260 res_houses@0,176 (bulldozable)(conducts)(residential-zone)(description=#10) 261 res_zones@0,48 (conducts) 262 res_zones@16,48 (conducts) 263 res_zones@32,48 (conducts) @@ -864,10 +864,10 @@ # POWER OUT INDICATOR # 827 misc_animation@0,0 # BEGIN BRIDGES # -828 misc_animation@0,16 (noburn)(overwater)(description=#20) -829 misc_animation@0,32 (noburn)(overwater)(description=#20) -830 misc_animation@0,48 (noburn)(overwater)(description=#20) -831 misc_animation@0,64 (noburn)(overwater)(description=#20) +828 misc_animation@0,16 (bulldozable)(noburn)(overwater)(description=#20) +829 misc_animation@0,32 (bulldozable)(noburn)(overwater)(description=#20) +830 misc_animation@0,48 (bulldozable)(noburn)(overwater)(description=#20) +831 misc_animation@0,64 (bulldozable)(noburn)(overwater)(description=#20) # BEGIN RADAR DISH # 832 misc_animation@0,80 (conducts)(building-part=716,1,-1)(description=#21) (becomes=833)(onshutdown=711) 833 misc_animation@0,96 (conducts)(building-part=716,1,-1)(description=#21) (becomes=834)(onshutdown=711) @@ -878,10 +878,10 @@ 838 misc_animation@0,176 (conducts)(building-part=716,1,-1)(description=#21) (becomes=839)(onshutdown=711) 839 misc_animation@0,192 (conducts)(building-part=716,1,-1)(description=#21) (becomes=832)(onshutdown=711) # BEGIN FOUNTAIN # -840 misc_animation@0,208 (description=#22)(becomes=841) -841 misc_animation@0,224 (description=#22)(becomes=842) -842 misc_animation@0,240 (description=#22)(becomes=843) -843 misc_animation@0,256 (description=#22)(becomes=840) +840 misc_animation@0,208 (bulldozable)(description=#22)(becomes=841) +841 misc_animation@0,224 (bulldozable)(description=#22)(becomes=842) +842 misc_animation@0,240 (bulldozable)(description=#22)(becomes=843) +843 misc_animation@0,256 (bulldozable)(description=#22)(becomes=840) # unknown... (8 frames, known in source code as INDBASE2) 844 misc_animation@0,272 (becomes=845) 845 misc_animation@0,288 (becomes=846) @@ -901,14 +901,14 @@ 858 misc_animation@0,496 (conducts)(building-part=625,-1,-1) (becomes=859)(onshutdown=621) 859 misc_animation@0,512 (conducts)(building-part=625,-1,-1) (becomes=852)(onshutdown=621) # BEGIN ZONE DESTRUCT & RUBBLIZE # -860 misc_animation@0,528 (noburn)(description=#3) (becomes=861) -861 misc_animation@0,544 (noburn)(description=#3) (becomes=862) -862 misc_animation@0,560 (noburn)(description=#3) (becomes=863) -863 misc_animation@0,576 (noburn)(description=#3) (becomes=864) -864 misc_animation@0,592 (noburn)(description=#3)(becomes=865) (behavior=EXPLOSION) -865 misc_animation@0,608 (noburn)(description=#3)(becomes=866) (behavior=EXPLOSION) -866 misc_animation@0,624 (noburn)(description=#3)(becomes=867) (behavior=EXPLOSION) -867 misc_animation@0,640 (noburn)(description=#3) (behavior=EXPLOSION) +860 misc_animation@0,528 (bulldozable)(noburn)(description=#3)(becomes=861) +861 misc_animation@0,544 (bulldozable)(noburn)(description=#3)(becomes=862) +862 misc_animation@0,560 (bulldozable)(noburn)(description=#3)(becomes=863) +863 misc_animation@0,576 (bulldozable)(noburn)(description=#3)(becomes=864) +864 misc_animation@0,592 (bulldozable)(noburn)(description=#3)(becomes=865) (behavior=EXPLOSION) +865 misc_animation@0,608 (bulldozable)(noburn)(description=#3)(becomes=866) (behavior=EXPLOSION) +866 misc_animation@0,624 (bulldozable)(noburn)(description=#3)(becomes=867) (behavior=EXPLOSION) +867 misc_animation@0,640 (bulldozable)(noburn)(description=#3) (behavior=EXPLOSION) # not used 868 misc_animation@0,656 869 misc_animation@0,672 @@ -995,10 +995,10 @@ 946 misc_animation@0,1904 (conducts)(description=#24)(becomes=947) 947 misc_animation@0,1920 (conducts)(description=#24)(becomes=940) # BEGIN BRIDGE TILES # -948 misc_animation@0,1936 (noburn)(overwater)(description=#20) -949 misc_animation@0,1952 (noburn)(overwater)(description=#20) -950 misc_animation@0,1968 (noburn)(overwater)(description=#20) -951 misc_animation@0,1984 (noburn)(overwater)(description=#20) +948 misc_animation@0,1936 (bulldozable)(noburn)(overwater)(description=#20) +949 misc_animation@0,1952 (bulldozable)(noburn)(overwater)(description=#20) +950 misc_animation@0,1968 (bulldozable)(noburn)(overwater)(description=#20) +951 misc_animation@0,1984 (bulldozable)(noburn)(overwater)(description=#20) # BEGIN NUCLEAR SWIRL # 952 misc_animation@0,2000 (conducts)(description=#26)(becomes=953)(onshutdown=820) 953 misc_animation@0,2016 (conducts)(description=#26)(becomes=954)(onshutdown=820) diff --git a/src/micropolisj/engine/TileSpec.java b/src/micropolisj/engine/TileSpec.java index 414a811..ec44328 100644 --- a/src/micropolisj/engine/TileSpec.java +++ b/src/micropolisj/engine/TileSpec.java @@ -16,6 +16,7 @@ public class TileSpec TileSpec animNext; TileSpec onPower; TileSpec onShutdown; + boolean canBulldoze; boolean canBurn; boolean canConduct; boolean overWater; @@ -177,6 +178,7 @@ public class TileSpec } } + this.canBulldoze = getBooleanAttribute("bulldozable"); this.canBurn = !getBooleanAttribute("noburn"); this.canConduct = getBooleanAttribute("conducts"); this.overWater = getBooleanAttribute("overwater");