Add 0th Acre

This commit is contained in:
Kurt 2015-09-14 17:40:59 -07:00
parent 9ed10d84ec
commit 66a0a0d522
5 changed files with 51 additions and 47 deletions

View File

@ -1025,6 +1025,9 @@
<ItemGroup> <ItemGroup>
<None Include="Resources\text\building_en.txt" /> <None Include="Resources\text\building_en.txt" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<None Include="Resources\img\acre\acre_0.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.

View File

@ -1,7 +1,7 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Runtime Version:4.0.30319.17929 // Runtime Version:4.0.30319.34209
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.
@ -3390,6 +3390,16 @@ internal class Resources {
} }
} }
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap acre_0 {
get {
object obj = ResourceManager.GetObject("acre_0", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
@ -5221,38 +5231,35 @@ internal class Resources {
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to 4C Modern Police Station /// Looks up a localized string similar to 004C Modern Police Station
///4D Classic Police Station ///004D Classic Police Station
///4E Cafe ///004E Cafe
///4F Reset Center ///004F Reset Center
///A6 Yellow Bench ///00A6 Yellow Bench
///A7 Blue Bench ///00A7 Blue Bench
///A8 Wood Bench ///00A8 Wood Bench
///A9 Metal Bench ///00A9 Metal Bench
///AA Log Bench ///00AA Log Bench
///AB Modern Bench ///00AB Modern Bench
///AC Fairy-Tale Bench ///00AC Fairy-Tale Bench
///AD Zen Bench ///00AD Zen Bench
///AE Flower Bed ///00AE Flower Bed
///AF Water Fountain ///00AF Water Fountain
///B0 Instrument Shelter ///00B0 Instrument Shelter
///B1 Sandbox ///00B1 Sandbox
///B2 Garbage Can ///00B2 Garbage Can
///B3 Pile of Pipes ///00B3 Pile of Pipes
///B4 Water Well ///00B4 Water Well
///B5 Fountain ///00B5 Fountain
///B6 Tire Toy ///00B6 Tire Toy
///B7 Jungle Gym ///00B7 Jungle Gym
///B8 Park Clock ///00B8 Park Clock
///B9 Modern Clock ///00B9 Modern Clock
///BA Fairy-Tale Clock ///00BA Fairy-Tale Clock
///BB Zen Clock ///00BB Zen Clock
///BC Street Lamp ///00BC Street Lamp
///BD Round Streetlight ///00BD Round Streetlight
///BE Streetlight ///00BE Streetl [rest of string was truncated]&quot;;.
///BF Modern Streetlight
///C0 Fairy-Tale Streetlight
///C1 Ze [rest of string was truncated]&quot;;.
/// </summary> /// </summary>
internal static string building_en { internal static string building_en {
get { get {
@ -5342,6 +5349,9 @@ internal class Resources {
/// Looks up a localized string similar to // Nothing /// Looks up a localized string similar to // Nothing
///7FFE (None) ///7FFE (None)
/// ///
///// Pattern
///009D Pattern
///
///// Outside Flowers, Trees, Bushes, Fruit ///// Outside Flowers, Trees, Bushes, Fruit
///009F Red Tulips ///009F Red Tulips
///00A0 White Tulips ///00A0 White Tulips
@ -5366,9 +5376,7 @@ internal class Resources {
///00B3 White Roses ///00B3 White Roses
///00B4 Yellow Roses ///00B4 Yellow Roses
///00B5 Pink Roses ///00B5 Pink Roses
///00B6 Orange Roses ///00B6 Orange [rest of string was truncated]&quot;;.
///00B7 Purple Roses
/// [rest of string was truncated]&quot;;.
/// </summary> /// </summary>
internal static string item_en { internal static string item_en {
get { get {

View File

@ -1117,6 +1117,9 @@
<data name="acnl_v_332" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="acnl_v_332" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\VillageData\VillagerBin\acnl_v_332.bin;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>..\Resources\VillageData\VillagerBin\acnl_v_332.bin;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data> </data>
<data name="acre_0" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\img\acre\acre_0.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="acre_1" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="acre_1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\img\acre\acre_1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\img\acre\acre_1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 B

View File

@ -1188,18 +1188,8 @@ private void clickTownAcre(object sender, MouseEventArgs e)
int acre = Array.IndexOf(aeTownAcres, sender as PictureBox); int acre = Array.IndexOf(aeTownAcres, sender as PictureBox);
if (acre < 0) return; if (acre < 0) return;
if (e.Button == MouseButtons.Right) // Decrement (1-153 allowed) aeTownAcreTiles[acre] = (ushort)((aeTownAcreTiles[acre] + ((e.Button == MouseButtons.Right) ? 153 : 1)) % 154);
{
aeTownAcreTiles[acre]--;
if (aeTownAcreTiles[acre] < 1) aeTownAcreTiles[acre] = 153;
}
else // Increment (1-153 allowed)
{
aeTownAcreTiles[acre]++;
if (aeTownAcreTiles[acre] > 153) aeTownAcreTiles[acre] = 1;
}
aeTownAcres[acre].BackgroundImage = (Image)Properties.Resources.ResourceManager.GetObject("acre_" + aeTownAcreTiles[acre]); aeTownAcres[acre].BackgroundImage = (Image)Properties.Resources.ResourceManager.GetObject("acre_" + aeTownAcreTiles[acre]);
} }
private void clickIslandAcre(object sender, MouseEventArgs e) private void clickIslandAcre(object sender, MouseEventArgs e)
{ {