Skip to content

Commit

Permalink
Add City Mint construction asset
Browse files Browse the repository at this point in the history
  • Loading branch information
Areldir committed Mar 17, 2024
1 parent 27479ab commit 3b28519
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 13 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 19 additions & 12 deletions res/assets/Graphics/monuments.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,12 @@
<layer group="this" image="4x4_Construction_Footprint" x="180" y="45" invert="horizontal"/>
</image>
<!-- Note: Administration Monument/s -->
<!-- Note: City Mint construction phases -->
<!-- Note: City Mint 0% and 50% construction phases -->
<image id="City_Mint_Construction_01" width="178" height="99" isometric="true">
<layer group="this" image="3x3_Construction_Footprint" x="0" y="9"/>
<layer src="3x3_Construction_Borders" x="0" y="9"/>
<layer src="City_Mint_Construction_01" x="0" y="0"/>
</image>
<image id="City_Mint_Construction_02" src="City_Mint_Construction_02" width="178" height="117" isometric="true"/>
<!-- Note: City Mint OFF -->
<image id="City_Mint_OFF" src="City_Mint_OFF" width="178" height="117" isometric="true"/>
Expand Down Expand Up @@ -105,13 +110,6 @@
<frame group="this" image="City_Mint_ON_05"/>
</animation>
</image>







<!-- Note: Education Monument/s -->
<!-- Note: Great Library 0%, 25%, 50%, and 75% construction phases -->
<image id="Great_Library_Construction_01" width="238" height="129" isometric="true">
Expand Down Expand Up @@ -501,6 +499,7 @@
<!-- Note: Ceres Large Temple 0%, 25%, 50% and 75% construction phases -->
<image id="Ceres_LT_0" width="178" height="99" isometric="true">
<layer group="this" image="3x3_Construction_Footprint" x="0" y="9"/>
<layer src="3x3_Construction_Borders" x="0" y="9"/>
<layer src="Ceres_Temple_Construction_01" x="0" y="0"/>
</image>
<image id="Ceres_LT_25" width="178" height="159">
Expand Down Expand Up @@ -612,6 +611,7 @@
<!-- Note: Mars Large Temple 0%, 25%, 50% and 75% construction phases -->
<image id="Mars_LT_0" width="178" height="99" isometric="true">
<layer group="this" image="3x3_Construction_Footprint" x="0" y="9"/>
<layer src="3x3_Construction_Borders" x="0" y="9"/>
<layer src="Mars_Temple_Construction_01" x="0" y="0"/>
</image>
<image id="Mars_LT_25" width="178" height="148">
Expand Down Expand Up @@ -719,6 +719,7 @@
<!-- Note: Mercury Large Temple 0%, 25%, 50% and 75% construction phases -->
<image id="Mercury_LT_0" width="178" height="99" isometric="true">
<layer group="this" image="3x3_Construction_Footprint" x="0" y="9"/>
<layer src="3x3_Construction_Borders" x="0" y="9"/>
<layer src="Mercury_Temple_Construction_01" x="0" y="0"/>
</image>
<image id="Mercury_LT_25" width="178" height="148">
Expand Down Expand Up @@ -815,6 +816,7 @@
<!-- Note: Neptune Large Temple 0%, 25%, 50% and 75% construction phases -->
<image id="Neptune_LT_0" width="178" height="99" isometric="true">
<layer group="this" image="3x3_Construction_Footprint" x="0" y="9"/>
<layer src="3x3_Construction_Borders" x="0" y="9"/>
<layer src="Neptune_Temple_Construction_01" x="0" y="0"/>
</image>
<image id="Neptune_LT_25" width="178" height="154">
Expand Down Expand Up @@ -951,6 +953,7 @@
<!-- Note: Pantheon Reference Assets DO NOT USE -->
<image id="Pantheon_Const_00" width="178" height="99" isometric="true">
<layer group="this" image="3x3_Construction_Footprint" x="0" y="9"/>
<layer src="3x3_Construction_Borders" x="0" y="9"/>
<layer src="Pantheon_Construction_01" x="0" y="0"/>
</image>
<!-- Note: Pantheon Construction 01-05 are the 0%, 25%, 50%, 75% and 100% construction phases respectively -->
Expand Down Expand Up @@ -1042,6 +1045,7 @@
<!-- Note: Venus Large Temple 0%, 25%, 50% and 75% construction phases -->
<image id="Venus_LT_0" width="178" height="99" isometric="true">
<layer group="this" image="3x3_Construction_Footprint" x="0" y="9"/>
<layer src="3x3_Construction_Borders" x="0" y="9"/>
<layer src="Venus_Temple_Construction_01" x="0" y="0"/>
</image>
<image id="Venus_LT_25" width="178" height="142">
Expand Down Expand Up @@ -1138,6 +1142,7 @@
<!-- Note: Large Temple and Oracle Construction Phases -->
<image id="Oracle_Construction_01" isometric="true" width="118" height="69">
<layer group="this" image="2x2_Construction_Footprint" y="9"/>
<layer src="2x2_Construction_Borders" y="9"/>
<layer src="Oracle_Construction_01"/>
</image>
<image id="Oracle_Construction_02" isometric="true" width="118" height="77">
Expand All @@ -1161,8 +1166,9 @@
</animation>
</image>
<!-- Note: Large Mausoleum Construction Phases -->
<image id="Mausoleum L Cons" isometric="true">
<layer group="this" image="3x3_Construction_Footprint" x="0" y="0"/>
<image id="Mausoleum L Cons" width="178" height="99" isometric="true">
<layer group="this" image="3x3_Construction_Footprint" x="0" y="9"/>
<layer src="3x3_Construction_Borders" x="0" y="9"/>
<layer src="Mausoleum_Large_Construction_01" x="0" y="0"/>
</image>
<image id="Mausoleum_Large_Construction_02" src="Mausoleum_Large_Construction_02" isometric="true"/>
Expand All @@ -1180,14 +1186,17 @@
<!-- Note: Small Mausoleum Construction 01 Phase -->
<image id="Mausoleum S Cons" width="118" height="69" isometric="true">
<layer group="this" image="2x2_Construction_Footprint" y="9"/>
<layer src="2x2_Construction_Borders" y="9"/>
<layer src="Mausoleum_Small_Construction_01"/>
</image>
<image id="Mausoleum_Small_Construction_02" width="118" height="71" isometric="true">
<layer group="this" image="2x2_Construction_Footprint" y="11"/>
<layer src="2x2_Construction_Borders" y="11"/>
<layer src="Mausoleum_Small_Construction_02"/>
</image>
<image id="Mausoleum_Small_R_Construction_02" width="118" height="71" isometric="true">
<layer group="this" image="2x2_Construction_Footprint" y="11"/>
<layer src="2x2_Construction_Borders" y="11"/>
<layer src="Mausoleum_Small_R_Construction_02"/>
</image>
<!-- Note: Small Mausoleum asset -->
Expand All @@ -1197,6 +1206,4 @@
<layer group="this" image="Mausoleum S" part="footprint"/>
<layer src="Mausoleum_Small_R" x="0" y="0"/>
</image>


</assetlist>
2 changes: 1 addition & 1 deletion src/building/image.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ int building_image_get(const building *b)
case BUILDING_CITY_MINT:
switch (b->monument.phase) {
case MONUMENT_START:
return assets_get_image_id("Monuments", "Lighthouse_Construction_01");
return assets_get_image_id("Monuments", "City_Mint_Construction_01");
default:
return building_variant_get_image_id_with_rotation(b->type, b->variant);
}
Expand Down

0 comments on commit 3b28519

Please sign in to comment.