1
0
Fork 0
mirror of https://github.com/tonytins/dressupzack synced 2025-05-07 14:04:48 -04:00

Fixed clothing node path

- Year-based versioning
This commit is contained in:
Anthony Wilcox 2019-06-10 22:29:20 -04:00
parent d3210f352e
commit f64c5a3be8
7 changed files with 63 additions and 48 deletions

View file

@ -3,7 +3,7 @@
<PropertyGroup> <PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{A84252BE-A1C7-410D-A602-3EFBEFD17D7D}</ProjectGuid> <ProjectGuid>{64EE4F89-7A23-452A-8772-9E7C07A71ED9}</ProjectGuid>
<OutputType>Library</OutputType> <OutputType>Library</OutputType>
<OutputPath>.mono\temp\bin\$(Configuration)</OutputPath> <OutputPath>.mono\temp\bin\$(Configuration)</OutputPath>
<RootNamespace>NathansDressUp</RootNamespace> <RootNamespace>NathansDressUp</RootNamespace>
@ -49,13 +49,24 @@
<Reference Include="System" /> <Reference Include="System" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="Properties\AssemblyDynamicInfo.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>AssemblyDynamicInfo.tt</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="src\GameScn.cs" /> <Compile Include="src\GameScn.cs" />
<Compile Include="src\Soundtrack.cs" /> <Compile Include="src\Soundtrack.cs" />
<Compile Include="src\TitleScn.cs" /> <Compile Include="src\TitleScn.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include=".editorconfig" /> <Content Include="Properties\AssemblyDynamicInfo.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>AssemblyDynamicInfo.cs</LastGenOutput>
</Content>
</ItemGroup>
<ItemGroup>
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
</Project> </Project>

View file

@ -1,27 +1,19 @@
Microsoft Visual Studio Solution File, Format Version 12.00 Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16 # Visual Studio 2012
VisualStudioVersion = 16.0.29001.49 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nathan's Dress Up", "Nathan's Dress Up.csproj", "{64EE4F89-7A23-452A-8772-9E7C07A71ED9}"
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nathan's Dress Up", "Nathan's Dress Up.csproj", "{A84252BE-A1C7-410D-A602-3EFBEFD17D7D}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU Release|Any CPU = Release|Any CPU
Tools|Any CPU = Tools|Any CPU Tools|Any CPU = Tools|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A84252BE-A1C7-410D-A602-3EFBEFD17D7D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {64EE4F89-7A23-452A-8772-9E7C07A71ED9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A84252BE-A1C7-410D-A602-3EFBEFD17D7D}.Debug|Any CPU.Build.0 = Debug|Any CPU {64EE4F89-7A23-452A-8772-9E7C07A71ED9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A84252BE-A1C7-410D-A602-3EFBEFD17D7D}.Release|Any CPU.ActiveCfg = Release|Any CPU {64EE4F89-7A23-452A-8772-9E7C07A71ED9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A84252BE-A1C7-410D-A602-3EFBEFD17D7D}.Release|Any CPU.Build.0 = Release|Any CPU {64EE4F89-7A23-452A-8772-9E7C07A71ED9}.Release|Any CPU.Build.0 = Release|Any CPU
{A84252BE-A1C7-410D-A602-3EFBEFD17D7D}.Tools|Any CPU.ActiveCfg = Release|Any CPU {64EE4F89-7A23-452A-8772-9E7C07A71ED9}.Tools|Any CPU.ActiveCfg = Tools|Any CPU
{A84252BE-A1C7-410D-A602-3EFBEFD17D7D}.Tools|Any CPU.Build.0 = Release|Any CPU {64EE4F89-7A23-452A-8772-9E7C07A71ED9}.Tools|Any CPU.Build.0 = Tools|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {BAC5EB58-11A4-4789-8A8E-FDBB9973675A}
EndGlobalSection EndGlobalSection
EndGlobal EndGlobal

View file

@ -0,0 +1,5 @@
// This code was generated by a tool. Any changes made manually will be lost
// the next time this code is regenerated.
using System.Reflection;
[assembly: AssemblyVersion("0.0.1906.1102")]
[assembly: AssemblyFileVersion("0.0.1906.1102")]

View file

@ -0,0 +1,11 @@
<#@ template debug="false" hostspecific="false" language="C#" #>
<#@ output extension=".cs" #>
<#
var now = DateTime.UtcNow;
var version = $"0.0.{now.Year % 100:D2}{now.Month:D2}.{now.Day:D2}{now.Hour:D2}";
#>
// This code was generated by a tool. Any changes made manually will be lost
// the next time this code is regenerated.
using System.Reflection;
[assembly: AssemblyVersion("<#= version #>")]
[assembly: AssemblyFileVersion("<#= version #>")]

View file

@ -1,33 +1,25 @@
using System.Reflection; using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following // Information about this assembly is defined by the following attributes.
// set of attributes. Change these attribute values to modify the information // Change them to the values specific to your project.
// associated with an assembly.
[assembly: AssemblyTitle("NathansDressUp")] [assembly: AssemblyTitle("Nathan's Dress Up")]
[assembly: AssemblyDescription("")] [assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")] [assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("NathansDressUp")] [assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("Copyright © 2019")] [assembly: AssemblyCopyright("")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
// to COM components. If you need to access a type in this assembly from // The form "{Major}.{Minor}.*" will automatically update the build and revision,
// COM, set the ComVisible attribute to true on that type. // and "{Major}.{Minor}.{Build}.*" will update just the revision.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM // [assembly: AssemblyVersion("1.0.*")]
[assembly: Guid("63f751ea-ce80-486c-9b66-bd6de40d456e")]
// Version information for an assembly consists of the following four values: // The following attributes are used to specify the signing key for the assembly,
// // if desired. See the Mono documentation for more information about signing.
// Major Version
// Minor Version //[assembly: AssemblyDelaySign(false)]
// Build Number //[assembly: AssemblyKeyFile("")]
// Revision
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

4
project/packages.config Normal file
View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="12.0.2" targetFramework="net45" />
</packages>

View file

@ -40,14 +40,14 @@ public class GameScn : Node
switch (clothingType) switch (clothingType)
{ {
case ClothingType.Accessory: case ClothingType.Accessory:
return GetNode<TextureButton>($"Clothes/Wordrobe/AccsGrid/{path}"); return GetNode<TextureButton>($"Clothes/Wordrobe/Accessoires/AccsGrid/{path}");
case ClothingType.Undies: case ClothingType.Undies:
return GetNode<TextureButton>($"Clothes/Wordrobe/UndiesGrid/{path}"); return GetNode<TextureButton>($"Clothes/Wordrobe/Underwear/UndiesGrid/{path}");
default: default:
case ClothingType.Pants: case ClothingType.Pants:
return GetNode<TextureButton>($"Clothes/Wordrobe/PantsGrid/{path}"); return GetNode<TextureButton>($"Clothes/Wordrobe/Pants/PantsGrid/{path}");
case ClothingType.Shirts: case ClothingType.Shirts:
return GetNode<TextureButton>($"Clothes/Wordrobe/ShirtsGrid/{path}"); return GetNode<TextureButton>($"Clothes/Wordrobe/Shirts/ShirtsGrid/{path}");
} }
} }