diff --git a/FF7/Client/WPF/FF7-WPF/FF7-WPF/App.config b/FF7/Client/WPF/FF7-WPF/FF7-WPF/App.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/FF7/Client/WPF/FF7-WPF/FF7-WPF/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/FF7/Client/WPF/FF7-WPF/FF7-WPF/App.xaml b/FF7/Client/WPF/FF7-WPF/FF7-WPF/App.xaml new file mode 100644 index 0000000..3c53d86 --- /dev/null +++ b/FF7/Client/WPF/FF7-WPF/FF7-WPF/App.xaml @@ -0,0 +1,8 @@ + + + + + diff --git a/FF7/Client/WPF/FF7-WPF/FF7-WPF/App.xaml.cs b/FF7/Client/WPF/FF7-WPF/FF7-WPF/App.xaml.cs new file mode 100644 index 0000000..7c61905 --- /dev/null +++ b/FF7/Client/WPF/FF7-WPF/FF7-WPF/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace FF7_WPF +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/FF7/Client/WPF/FF7-WPF/FF7-WPF/MainWindow.xaml b/FF7/Client/WPF/FF7-WPF/FF7-WPF/MainWindow.xaml new file mode 100644 index 0000000..577a505 --- /dev/null +++ b/FF7/Client/WPF/FF7-WPF/FF7-WPF/MainWindow.xaml @@ -0,0 +1,8 @@ + + + + + diff --git a/FF7/Client/WPF/FF7-WPF/FF7-WPF/MainWindow.xaml.cs b/FF7/Client/WPF/FF7-WPF/FF7-WPF/MainWindow.xaml.cs new file mode 100644 index 0000000..d528f68 --- /dev/null +++ b/FF7/Client/WPF/FF7-WPF/FF7-WPF/MainWindow.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace FF7_WPF +{ + /// + /// Interaction logic for MainWindow.xaml + /// + public partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); + } + } +} diff --git a/FF7/Client/WPF/FF7-WPF/FF7-WPF/Properties/AssemblyInfo.cs b/FF7/Client/WPF/FF7-WPF/FF7-WPF/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..6d7cbc0 --- /dev/null +++ b/FF7/Client/WPF/FF7-WPF/FF7-WPF/Properties/AssemblyInfo.cs @@ -0,0 +1,55 @@ +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Windows; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("FF7-WPF")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("FF7-WPF")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +//In order to begin building localizable applications, set +//CultureYouAreCodingWith in your .csproj file +//inside a . For example, if you are using US english +//in your source files, set the to en-US. Then uncomment +//the NeutralResourceLanguage attribute below. Update the "en-US" in +//the line below to match the UICulture setting in the project file. + +//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] + + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] + + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/FF7/Client/WPF/FF7-WPF/FF7-WPF/Properties/Resources.Designer.cs b/FF7/Client/WPF/FF7-WPF/FF7-WPF/Properties/Resources.Designer.cs new file mode 100644 index 0000000..cecbec1 --- /dev/null +++ b/FF7/Client/WPF/FF7-WPF/FF7-WPF/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace FF7_WPF.Properties +{ + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("FF7_WPF.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/FF7/Client/WPF/FF7-WPF/FF7-WPF/Properties/Resources.resx b/FF7/Client/WPF/FF7-WPF/FF7-WPF/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/FF7/Client/WPF/FF7-WPF/FF7-WPF/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/FF7/Client/WPF/FF7-WPF/FF7-WPF/Properties/Settings.Designer.cs b/FF7/Client/WPF/FF7-WPF/FF7-WPF/Properties/Settings.Designer.cs new file mode 100644 index 0000000..5dc9884 --- /dev/null +++ b/FF7/Client/WPF/FF7-WPF/FF7-WPF/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace FF7_WPF.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/FF7/Client/WPF/FF7-WPF/FF7-WPF/Properties/Settings.settings b/FF7/Client/WPF/FF7-WPF/FF7-WPF/Properties/Settings.settings new file mode 100644 index 0000000..033d7a5 --- /dev/null +++ b/FF7/Client/WPF/FF7-WPF/FF7-WPF/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/FF7/Content/Guides/FFVII_Materia_Menu_expanded.png b/FF7/Content/Guides/FFVII_Materia_Menu_expanded.png new file mode 100644 index 0000000..38c3ff8 Binary files /dev/null and b/FF7/Content/Guides/FFVII_Materia_Menu_expanded.png differ diff --git a/FF7/Content/Guides/enemy-skills-pickup.png b/FF7/Content/Guides/enemy-skills-pickup.png new file mode 100644 index 0000000..b959b73 Binary files /dev/null and b/FF7/Content/Guides/enemy-skills-pickup.png differ diff --git a/FF7/Content/Guides/materia-pickup-guide.png b/FF7/Content/Guides/materia-pickup-guide.png new file mode 100644 index 0000000..4787c37 Binary files /dev/null and b/FF7/Content/Guides/materia-pickup-guide.png differ diff --git a/FF7/Content/Guides/maxresdefault-command-star.jpg b/FF7/Content/Guides/maxresdefault-command-star.jpg new file mode 100644 index 0000000..f0a47c3 Binary files /dev/null and b/FF7/Content/Guides/maxresdefault-command-star.jpg differ diff --git a/FF7/Content/Guides/maxresdefault-purple-star.jpg b/FF7/Content/Guides/maxresdefault-purple-star.jpg new file mode 100644 index 0000000..16ab2df Binary files /dev/null and b/FF7/Content/Guides/maxresdefault-purple-star.jpg differ diff --git a/FF7/Content/Images/Sprites/Equips/Accessories/accessory-icon-sm.gif b/FF7/Content/Images/Sprites/Equips/Accessories/accessory-icon-sm.gif new file mode 100644 index 0000000..d339427 Binary files /dev/null and b/FF7/Content/Images/Sprites/Equips/Accessories/accessory-icon-sm.gif differ diff --git a/FF7/Content/Images/Sprites/Equips/Slots/linked-materia-slots-sm.gif b/FF7/Content/Images/Sprites/Equips/Slots/linked-materia-slots-sm.gif new file mode 100644 index 0000000..f24a0c9 Binary files /dev/null and b/FF7/Content/Images/Sprites/Equips/Slots/linked-materia-slots-sm.gif differ diff --git a/FF7/Content/Images/Sprites/Equips/Slots/maxresdefault-hand_cursor-enemy_skill_stars_shaded-part2.jpg b/FF7/Content/Images/Sprites/Equips/Slots/maxresdefault-hand_cursor-enemy_skill_stars_shaded-part2.jpg new file mode 100644 index 0000000..0657d61 Binary files /dev/null and b/FF7/Content/Images/Sprites/Equips/Slots/maxresdefault-hand_cursor-enemy_skill_stars_shaded-part2.jpg differ diff --git a/FF7/Content/Images/Sprites/Equips/Slots/maxresdefault-hand_cursor-enemy_skill_stars_shaded.jpg b/FF7/Content/Images/Sprites/Equips/Slots/maxresdefault-hand_cursor-enemy_skill_stars_shaded.jpg new file mode 100644 index 0000000..0657d61 Binary files /dev/null and b/FF7/Content/Images/Sprites/Equips/Slots/maxresdefault-hand_cursor-enemy_skill_stars_shaded.jpg differ diff --git a/FF7/Content/Images/Sprites/Equips/Slots/maxresdefault-slots-materia_colors-limit_bars.jpg b/FF7/Content/Images/Sprites/Equips/Slots/maxresdefault-slots-materia_colors-limit_bars.jpg new file mode 100644 index 0000000..7743223 Binary files /dev/null and b/FF7/Content/Images/Sprites/Equips/Slots/maxresdefault-slots-materia_colors-limit_bars.jpg differ diff --git a/FF7/Content/Images/Sprites/Equips/Slots/maxresdefault-slots.jpg b/FF7/Content/Images/Sprites/Equips/Slots/maxresdefault-slots.jpg new file mode 100644 index 0000000..f0a47c3 Binary files /dev/null and b/FF7/Content/Images/Sprites/Equips/Slots/maxresdefault-slots.jpg differ diff --git a/FF7/Content/Images/Sprites/Equips/Slots/single-materia-slot-sm.gif b/FF7/Content/Images/Sprites/Equips/Slots/single-materia-slot-sm.gif new file mode 100644 index 0000000..79c479f Binary files /dev/null and b/FF7/Content/Images/Sprites/Equips/Slots/single-materia-slot-sm.gif differ diff --git a/FF7/Content/Images/Sprites/Equips/Weapons/aeris-weapon-icon-sm.gif b/FF7/Content/Images/Sprites/Equips/Weapons/aeris-weapon-icon-sm.gif new file mode 100644 index 0000000..e4a44b7 Binary files /dev/null and b/FF7/Content/Images/Sprites/Equips/Weapons/aeris-weapon-icon-sm.gif differ diff --git a/FF7/Content/Images/Sprites/Equips/Weapons/barret-weapon-icon-sm.gif b/FF7/Content/Images/Sprites/Equips/Weapons/barret-weapon-icon-sm.gif new file mode 100644 index 0000000..57bd987 Binary files /dev/null and b/FF7/Content/Images/Sprites/Equips/Weapons/barret-weapon-icon-sm.gif differ diff --git a/FF7/Content/Images/Sprites/Equips/Weapons/cait-sith-weapon-icon-sm.gif b/FF7/Content/Images/Sprites/Equips/Weapons/cait-sith-weapon-icon-sm.gif new file mode 100644 index 0000000..f483c9f Binary files /dev/null and b/FF7/Content/Images/Sprites/Equips/Weapons/cait-sith-weapon-icon-sm.gif differ diff --git a/FF7/Content/Images/Sprites/Equips/Weapons/cid-weapon-icon-sm.gif b/FF7/Content/Images/Sprites/Equips/Weapons/cid-weapon-icon-sm.gif new file mode 100644 index 0000000..1b5900e Binary files /dev/null and b/FF7/Content/Images/Sprites/Equips/Weapons/cid-weapon-icon-sm.gif differ diff --git a/FF7/Content/Images/Sprites/Equips/Weapons/cloud-weapon-icon-sm.gif b/FF7/Content/Images/Sprites/Equips/Weapons/cloud-weapon-icon-sm.gif new file mode 100644 index 0000000..8ae9e48 Binary files /dev/null and b/FF7/Content/Images/Sprites/Equips/Weapons/cloud-weapon-icon-sm.gif differ diff --git a/FF7/Content/Images/Sprites/Equips/Weapons/red-xiii-weapon-icon-sm.gif b/FF7/Content/Images/Sprites/Equips/Weapons/red-xiii-weapon-icon-sm.gif new file mode 100644 index 0000000..070b658 Binary files /dev/null and b/FF7/Content/Images/Sprites/Equips/Weapons/red-xiii-weapon-icon-sm.gif differ diff --git a/FF7/Content/Images/Sprites/Equips/Weapons/tifa-weapon-icon-sm.gif b/FF7/Content/Images/Sprites/Equips/Weapons/tifa-weapon-icon-sm.gif new file mode 100644 index 0000000..f9ce2e0 Binary files /dev/null and b/FF7/Content/Images/Sprites/Equips/Weapons/tifa-weapon-icon-sm.gif differ diff --git a/FF7/Content/Images/Sprites/Equips/Weapons/vincent-weapon-icon-sm.gif b/FF7/Content/Images/Sprites/Equips/Weapons/vincent-weapon-icon-sm.gif new file mode 100644 index 0000000..8311e30 Binary files /dev/null and b/FF7/Content/Images/Sprites/Equips/Weapons/vincent-weapon-icon-sm.gif differ diff --git a/FF7/Content/Images/Sprites/Equips/Weapons/yuffie-weapon-icon-sm.gif b/FF7/Content/Images/Sprites/Equips/Weapons/yuffie-weapon-icon-sm.gif new file mode 100644 index 0000000..0fb2707 Binary files /dev/null and b/FF7/Content/Images/Sprites/Equips/Weapons/yuffie-weapon-icon-sm.gif differ diff --git a/FF7/Content/Images/Sprites/Faces/Individuals/aeris-face-icon.jpg b/FF7/Content/Images/Sprites/Faces/Individuals/aeris-face-icon.jpg new file mode 100644 index 0000000..ba6e85e Binary files /dev/null and b/FF7/Content/Images/Sprites/Faces/Individuals/aeris-face-icon.jpg differ diff --git a/FF7/Content/Images/Sprites/Faces/Individuals/barret-face-icon.jpg b/FF7/Content/Images/Sprites/Faces/Individuals/barret-face-icon.jpg new file mode 100644 index 0000000..47dc3be Binary files /dev/null and b/FF7/Content/Images/Sprites/Faces/Individuals/barret-face-icon.jpg differ diff --git a/FF7/Content/Images/Sprites/Faces/Individuals/cait-sith-face-icon.jpg b/FF7/Content/Images/Sprites/Faces/Individuals/cait-sith-face-icon.jpg new file mode 100644 index 0000000..079feb3 Binary files /dev/null and b/FF7/Content/Images/Sprites/Faces/Individuals/cait-sith-face-icon.jpg differ diff --git a/FF7/Content/Images/Sprites/Faces/Individuals/cid-face-icon.jpg b/FF7/Content/Images/Sprites/Faces/Individuals/cid-face-icon.jpg new file mode 100644 index 0000000..420c5a5 Binary files /dev/null and b/FF7/Content/Images/Sprites/Faces/Individuals/cid-face-icon.jpg differ diff --git a/FF7/Content/Images/Sprites/Faces/Individuals/cloud-face-icon.jpg b/FF7/Content/Images/Sprites/Faces/Individuals/cloud-face-icon.jpg new file mode 100644 index 0000000..068f386 Binary files /dev/null and b/FF7/Content/Images/Sprites/Faces/Individuals/cloud-face-icon.jpg differ diff --git a/FF7/Content/Images/Sprites/Faces/Individuals/red-xiii-face-icon.jpg b/FF7/Content/Images/Sprites/Faces/Individuals/red-xiii-face-icon.jpg new file mode 100644 index 0000000..cf31282 Binary files /dev/null and b/FF7/Content/Images/Sprites/Faces/Individuals/red-xiii-face-icon.jpg differ diff --git a/FF7/Content/Images/Sprites/Faces/Individuals/tifa-face-icon.jpg b/FF7/Content/Images/Sprites/Faces/Individuals/tifa-face-icon.jpg new file mode 100644 index 0000000..303c3e4 Binary files /dev/null and b/FF7/Content/Images/Sprites/Faces/Individuals/tifa-face-icon.jpg differ diff --git a/FF7/Content/Images/Sprites/Faces/Individuals/vincent-face-icon.jpg b/FF7/Content/Images/Sprites/Faces/Individuals/vincent-face-icon.jpg new file mode 100644 index 0000000..908531e Binary files /dev/null and b/FF7/Content/Images/Sprites/Faces/Individuals/vincent-face-icon.jpg differ diff --git a/FF7/Content/Images/Sprites/Faces/Individuals/yuffie-face-icon.jpg b/FF7/Content/Images/Sprites/Faces/Individuals/yuffie-face-icon.jpg new file mode 100644 index 0000000..193fe7a Binary files /dev/null and b/FF7/Content/Images/Sprites/Faces/Individuals/yuffie-face-icon.jpg differ diff --git a/FF7/Content/Images/Sprites/Faces/ff7-faces-anime.jpg b/FF7/Content/Images/Sprites/Faces/ff7-faces-anime.jpg new file mode 100644 index 0000000..912ca92 Binary files /dev/null and b/FF7/Content/Images/Sprites/Faces/ff7-faces-anime.jpg differ diff --git a/FF7/Content/Images/Sprites/Faces/ff7-faces-before-crisis.jpg b/FF7/Content/Images/Sprites/Faces/ff7-faces-before-crisis.jpg new file mode 100644 index 0000000..5850d6f Binary files /dev/null and b/FF7/Content/Images/Sprites/Faces/ff7-faces-before-crisis.jpg differ diff --git a/FF7/Content/Images/Sprites/Full Body/ff7-chibi-bodies-all-playable-characters.jpg b/FF7/Content/Images/Sprites/Full Body/ff7-chibi-bodies-all-playable-characters.jpg new file mode 100644 index 0000000..8419292 Binary files /dev/null and b/FF7/Content/Images/Sprites/Full Body/ff7-chibi-bodies-all-playable-characters.jpg differ diff --git a/FF7/Content/Images/Sprites/Full Body/ff7-mobo-sttyle-bodies-all-playable-characters.jpg b/FF7/Content/Images/Sprites/Full Body/ff7-mobo-sttyle-bodies-all-playable-characters.jpg new file mode 100644 index 0000000..1a1f022 Binary files /dev/null and b/FF7/Content/Images/Sprites/Full Body/ff7-mobo-sttyle-bodies-all-playable-characters.jpg differ diff --git a/FF7/Content/Images/Sprites/Items/item-icon-sm.gif b/FF7/Content/Images/Sprites/Items/item-icon-sm.gif new file mode 100644 index 0000000..060e81f Binary files /dev/null and b/FF7/Content/Images/Sprites/Items/item-icon-sm.gif differ diff --git a/FF7/Content/Images/Sprites/Materia/@All/FFVII_Command_Materia_Icon.PNG b/FF7/Content/Images/Sprites/Materia/@All/FFVII_Command_Materia_Icon.PNG new file mode 100644 index 0000000..5599a99 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/@All/FFVII_Command_Materia_Icon.PNG differ diff --git a/FF7/Content/Images/Sprites/Materia/@All/FFVII_Independent_Materia_Icon.PNG b/FF7/Content/Images/Sprites/Materia/@All/FFVII_Independent_Materia_Icon.PNG new file mode 100644 index 0000000..d0fb7c2 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/@All/FFVII_Independent_Materia_Icon.PNG differ diff --git a/FF7/Content/Images/Sprites/Materia/@All/FFVII_Magic_Materia_Icon.PNG b/FF7/Content/Images/Sprites/Materia/@All/FFVII_Magic_Materia_Icon.PNG new file mode 100644 index 0000000..cd49403 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/@All/FFVII_Magic_Materia_Icon.PNG differ diff --git a/FF7/Content/Images/Sprites/Materia/@All/FFVII_Materia_Slot_Linked.png b/FF7/Content/Images/Sprites/Materia/@All/FFVII_Materia_Slot_Linked.png new file mode 100644 index 0000000..347a6c3 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/@All/FFVII_Materia_Slot_Linked.png differ diff --git a/FF7/Content/Images/Sprites/Materia/@All/FFVII_Materia_Slot_Single.png b/FF7/Content/Images/Sprites/Materia/@All/FFVII_Materia_Slot_Single.png new file mode 100644 index 0000000..4cf7433 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/@All/FFVII_Materia_Slot_Single.png differ diff --git a/FF7/Content/Images/Sprites/Materia/@All/FFVII_Summon_Materia_Icon.PNG b/FF7/Content/Images/Sprites/Materia/@All/FFVII_Summon_Materia_Icon.PNG new file mode 100644 index 0000000..73f700d Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/@All/FFVII_Summon_Materia_Icon.PNG differ diff --git a/FF7/Content/Images/Sprites/Materia/@All/FFVII_Support_Materia_Icon.PNG b/FF7/Content/Images/Sprites/Materia/@All/FFVII_Support_Materia_Icon.PNG new file mode 100644 index 0000000..f24790b Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/@All/FFVII_Support_Materia_Icon.PNG differ diff --git a/FF7/Content/Images/Sprites/Materia/@All/Materia-ffvii-field-Command.png b/FF7/Content/Images/Sprites/Materia/@All/Materia-ffvii-field-Command.png new file mode 100644 index 0000000..5014bfe Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/@All/Materia-ffvii-field-Command.png differ diff --git a/FF7/Content/Images/Sprites/Materia/@All/Materia-ffvii-field-Independent.png b/FF7/Content/Images/Sprites/Materia/@All/Materia-ffvii-field-Independent.png new file mode 100644 index 0000000..3fcb38d Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/@All/Materia-ffvii-field-Independent.png differ diff --git a/FF7/Content/Images/Sprites/Materia/@All/Materia-ffvii-field-Magic2.png b/FF7/Content/Images/Sprites/Materia/@All/Materia-ffvii-field-Magic2.png new file mode 100644 index 0000000..be847fc Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/@All/Materia-ffvii-field-Magic2.png differ diff --git a/FF7/Content/Images/Sprites/Materia/@All/Materia-ffvii-field-Summon.png b/FF7/Content/Images/Sprites/Materia/@All/Materia-ffvii-field-Summon.png new file mode 100644 index 0000000..367ebf2 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/@All/Materia-ffvii-field-Summon.png differ diff --git a/FF7/Content/Images/Sprites/Materia/@All/Materia-ffvii-field-Support.png b/FF7/Content/Images/Sprites/Materia/@All/Materia-ffvii-field-Support.png new file mode 100644 index 0000000..3025a60 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/@All/Materia-ffvii-field-Support.png differ diff --git a/FF7/Content/Images/Sprites/Materia/@All/command-materia-sm.gif b/FF7/Content/Images/Sprites/Materia/@All/command-materia-sm.gif new file mode 100644 index 0000000..324fb5e Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/@All/command-materia-sm.gif differ diff --git a/FF7/Content/Images/Sprites/Materia/@All/independent-materia-sm.gif b/FF7/Content/Images/Sprites/Materia/@All/independent-materia-sm.gif new file mode 100644 index 0000000..ba2746c Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/@All/independent-materia-sm.gif differ diff --git a/FF7/Content/Images/Sprites/Materia/@All/spell-materia-sm.gif b/FF7/Content/Images/Sprites/Materia/@All/spell-materia-sm.gif new file mode 100644 index 0000000..c1aa4da Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/@All/spell-materia-sm.gif differ diff --git a/FF7/Content/Images/Sprites/Materia/@All/summon-materia-sm.gif b/FF7/Content/Images/Sprites/Materia/@All/summon-materia-sm.gif new file mode 100644 index 0000000..56875a0 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/@All/summon-materia-sm.gif differ diff --git a/FF7/Content/Images/Sprites/Materia/@All/support-materia-sm.gif b/FF7/Content/Images/Sprites/Materia/@All/support-materia-sm.gif new file mode 100644 index 0000000..5852459 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/@All/support-materia-sm.gif differ diff --git a/FF7/Content/Images/Sprites/Materia/Command-Yellow/FFVII_Command_Materia_Icon.PNG b/FF7/Content/Images/Sprites/Materia/Command-Yellow/FFVII_Command_Materia_Icon.PNG new file mode 100644 index 0000000..5599a99 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Command-Yellow/FFVII_Command_Materia_Icon.PNG differ diff --git a/FF7/Content/Images/Sprites/Materia/Command-Yellow/FFVII_Command_Materia_Left_Slot.png b/FF7/Content/Images/Sprites/Materia/Command-Yellow/FFVII_Command_Materia_Left_Slot.png new file mode 100644 index 0000000..616fafe Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Command-Yellow/FFVII_Command_Materia_Left_Slot.png differ diff --git a/FF7/Content/Images/Sprites/Materia/Command-Yellow/FFVII_Command_Materia_Right_Slot.png b/FF7/Content/Images/Sprites/Materia/Command-Yellow/FFVII_Command_Materia_Right_Slot.png new file mode 100644 index 0000000..f49a355 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Command-Yellow/FFVII_Command_Materia_Right_Slot.png differ diff --git a/FF7/Content/Images/Sprites/Materia/Command-Yellow/FFVII_Command_Materia_Single_Slot.png b/FF7/Content/Images/Sprites/Materia/Command-Yellow/FFVII_Command_Materia_Single_Slot.png new file mode 100644 index 0000000..b5c8033 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Command-Yellow/FFVII_Command_Materia_Single_Slot.png differ diff --git a/FF7/Content/Images/Sprites/Materia/Command-Yellow/Materia-ffvii-field-Command.png b/FF7/Content/Images/Sprites/Materia/Command-Yellow/Materia-ffvii-field-Command.png new file mode 100644 index 0000000..5014bfe Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Command-Yellow/Materia-ffvii-field-Command.png differ diff --git a/FF7/Content/Images/Sprites/Materia/Command-Yellow/command-materia-sm.gif b/FF7/Content/Images/Sprites/Materia/Command-Yellow/command-materia-sm.gif new file mode 100644 index 0000000..324fb5e Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Command-Yellow/command-materia-sm.gif differ diff --git a/FF7/Content/Images/Sprites/Materia/FFVII_Materia_Menu_4.png b/FF7/Content/Images/Sprites/Materia/FFVII_Materia_Menu_4.png new file mode 100644 index 0000000..38c3ff8 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/FFVII_Materia_Menu_4.png differ diff --git a/FF7/Content/Images/Sprites/Materia/FFVII_Materia_Slot_Linked_Zero_Growth.png b/FF7/Content/Images/Sprites/Materia/FFVII_Materia_Slot_Linked_Zero_Growth.png new file mode 100644 index 0000000..347a6c3 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/FFVII_Materia_Slot_Linked_Zero_Growth.png differ diff --git a/FF7/Content/Images/Sprites/Materia/FFVII_Materia_Slot_Single_Zero_Growth.png b/FF7/Content/Images/Sprites/Materia/FFVII_Materia_Slot_Single_Zero_Growth.png new file mode 100644 index 0000000..4cf7433 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/FFVII_Materia_Slot_Single_Zero_Growth.png differ diff --git a/FF7/Content/Images/Sprites/Materia/Independent-Purple/FFVII_Independent_Materia_Icon.PNG b/FF7/Content/Images/Sprites/Materia/Independent-Purple/FFVII_Independent_Materia_Icon.PNG new file mode 100644 index 0000000..d0fb7c2 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Independent-Purple/FFVII_Independent_Materia_Icon.PNG differ diff --git a/FF7/Content/Images/Sprites/Materia/Independent-Purple/FFVII_Independent_Materia_Left_Slot.png b/FF7/Content/Images/Sprites/Materia/Independent-Purple/FFVII_Independent_Materia_Left_Slot.png new file mode 100644 index 0000000..fb2c3c8 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Independent-Purple/FFVII_Independent_Materia_Left_Slot.png differ diff --git a/FF7/Content/Images/Sprites/Materia/Independent-Purple/FFVII_Independent_Materia_Right_Slot.png b/FF7/Content/Images/Sprites/Materia/Independent-Purple/FFVII_Independent_Materia_Right_Slot.png new file mode 100644 index 0000000..909a71d Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Independent-Purple/FFVII_Independent_Materia_Right_Slot.png differ diff --git a/FF7/Content/Images/Sprites/Materia/Independent-Purple/FFVII_Independent_Materia_Single_Slot.png b/FF7/Content/Images/Sprites/Materia/Independent-Purple/FFVII_Independent_Materia_Single_Slot.png new file mode 100644 index 0000000..b83c4a3 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Independent-Purple/FFVII_Independent_Materia_Single_Slot.png differ diff --git a/FF7/Content/Images/Sprites/Materia/Independent-Purple/Materia-ffvii-field-Independent.png b/FF7/Content/Images/Sprites/Materia/Independent-Purple/Materia-ffvii-field-Independent.png new file mode 100644 index 0000000..3fcb38d Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Independent-Purple/Materia-ffvii-field-Independent.png differ diff --git a/FF7/Content/Images/Sprites/Materia/Independent-Purple/independent-materia-sm.gif b/FF7/Content/Images/Sprites/Materia/Independent-Purple/independent-materia-sm.gif new file mode 100644 index 0000000..ba2746c Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Independent-Purple/independent-materia-sm.gif differ diff --git a/FF7/Content/Images/Sprites/Materia/Lacking.txt b/FF7/Content/Images/Sprites/Materia/Lacking.txt new file mode 100644 index 0000000..5626f5c --- /dev/null +++ b/FF7/Content/Images/Sprites/Materia/Lacking.txt @@ -0,0 +1,3 @@ +green-left +green-right + diff --git a/FF7/Content/Images/Sprites/Materia/Magic-Green/FFVII_Magic_Materia_Icon.PNG b/FF7/Content/Images/Sprites/Materia/Magic-Green/FFVII_Magic_Materia_Icon.PNG new file mode 100644 index 0000000..cd49403 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Magic-Green/FFVII_Magic_Materia_Icon.PNG differ diff --git a/FF7/Content/Images/Sprites/Materia/Magic-Green/FFVII_Magic_Materia_Single_Slot.png b/FF7/Content/Images/Sprites/Materia/Magic-Green/FFVII_Magic_Materia_Single_Slot.png new file mode 100644 index 0000000..0604115 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Magic-Green/FFVII_Magic_Materia_Single_Slot.png differ diff --git a/FF7/Content/Images/Sprites/Materia/Magic-Green/Materia-ffvii-field-Magic2.png b/FF7/Content/Images/Sprites/Materia/Magic-Green/Materia-ffvii-field-Magic2.png new file mode 100644 index 0000000..be847fc Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Magic-Green/Materia-ffvii-field-Magic2.png differ diff --git a/FF7/Content/Images/Sprites/Materia/Magic-Green/spell-materia-sm.gif b/FF7/Content/Images/Sprites/Materia/Magic-Green/spell-materia-sm.gif new file mode 100644 index 0000000..c1aa4da Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Magic-Green/spell-materia-sm.gif differ diff --git a/FF7/Content/Images/Sprites/Materia/Summon-Red/FFVII_Summon_Materia_Icon.PNG b/FF7/Content/Images/Sprites/Materia/Summon-Red/FFVII_Summon_Materia_Icon.PNG new file mode 100644 index 0000000..73f700d Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Summon-Red/FFVII_Summon_Materia_Icon.PNG differ diff --git a/FF7/Content/Images/Sprites/Materia/Summon-Red/FFVII_Summon_Materia_Left_Slot.png b/FF7/Content/Images/Sprites/Materia/Summon-Red/FFVII_Summon_Materia_Left_Slot.png new file mode 100644 index 0000000..09693ec Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Summon-Red/FFVII_Summon_Materia_Left_Slot.png differ diff --git a/FF7/Content/Images/Sprites/Materia/Summon-Red/FFVII_Summon_Materia_Right_Slot.png b/FF7/Content/Images/Sprites/Materia/Summon-Red/FFVII_Summon_Materia_Right_Slot.png new file mode 100644 index 0000000..9f97f84 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Summon-Red/FFVII_Summon_Materia_Right_Slot.png differ diff --git a/FF7/Content/Images/Sprites/Materia/Summon-Red/FFVII_Summon_Materia_Single_Slot.png b/FF7/Content/Images/Sprites/Materia/Summon-Red/FFVII_Summon_Materia_Single_Slot.png new file mode 100644 index 0000000..87a2730 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Summon-Red/FFVII_Summon_Materia_Single_Slot.png differ diff --git a/FF7/Content/Images/Sprites/Materia/Summon-Red/Materia-ffvii-field-Summon.png b/FF7/Content/Images/Sprites/Materia/Summon-Red/Materia-ffvii-field-Summon.png new file mode 100644 index 0000000..367ebf2 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Summon-Red/Materia-ffvii-field-Summon.png differ diff --git a/FF7/Content/Images/Sprites/Materia/Summon-Red/summon-materia-sm.gif b/FF7/Content/Images/Sprites/Materia/Summon-Red/summon-materia-sm.gif new file mode 100644 index 0000000..56875a0 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Summon-Red/summon-materia-sm.gif differ diff --git a/FF7/Content/Images/Sprites/Materia/Support-Blue/FFVII_Support_Materia_Icon.PNG b/FF7/Content/Images/Sprites/Materia/Support-Blue/FFVII_Support_Materia_Icon.PNG new file mode 100644 index 0000000..f24790b Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Support-Blue/FFVII_Support_Materia_Icon.PNG differ diff --git a/FF7/Content/Images/Sprites/Materia/Support-Blue/FFVII_Support_Materia_Left_Slot.png b/FF7/Content/Images/Sprites/Materia/Support-Blue/FFVII_Support_Materia_Left_Slot.png new file mode 100644 index 0000000..6685608 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Support-Blue/FFVII_Support_Materia_Left_Slot.png differ diff --git a/FF7/Content/Images/Sprites/Materia/Support-Blue/FFVII_Support_Materia_Right_Slot.png b/FF7/Content/Images/Sprites/Materia/Support-Blue/FFVII_Support_Materia_Right_Slot.png new file mode 100644 index 0000000..03fffff Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Support-Blue/FFVII_Support_Materia_Right_Slot.png differ diff --git a/FF7/Content/Images/Sprites/Materia/Support-Blue/FFVII_Support_Materia_Single_Slot.png b/FF7/Content/Images/Sprites/Materia/Support-Blue/FFVII_Support_Materia_Single_Slot.png new file mode 100644 index 0000000..5aee3b3 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Support-Blue/FFVII_Support_Materia_Single_Slot.png differ diff --git a/FF7/Content/Images/Sprites/Materia/Support-Blue/Materia-ffvii-field-Support.png b/FF7/Content/Images/Sprites/Materia/Support-Blue/Materia-ffvii-field-Support.png new file mode 100644 index 0000000..3025a60 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Support-Blue/Materia-ffvii-field-Support.png differ diff --git a/FF7/Content/Images/Sprites/Materia/Support-Blue/support-materia-sm.gif b/FF7/Content/Images/Sprites/Materia/Support-Blue/support-materia-sm.gif new file mode 100644 index 0000000..5852459 Binary files /dev/null and b/FF7/Content/Images/Sprites/Materia/Support-Blue/support-materia-sm.gif differ diff --git a/FF7/Content/Links.txt b/FF7/Content/Links.txt new file mode 100644 index 0000000..2dc9349 --- /dev/null +++ b/FF7/Content/Links.txt @@ -0,0 +1,5 @@ +http://www.ffmages.com/final-fantasy-vii/characters/ + +https://steamcommunity.com/sharedfiles/filedetails/?id=180660361 + + diff --git a/SharedLibraries/SeriusSoft/MVVM/BaseClasses/BaseViewModel.cs b/SharedLibraries/SeriusSoft/MVVM/BaseClasses/BaseViewModel.cs new file mode 100644 index 0000000..a3d867c --- /dev/null +++ b/SharedLibraries/SeriusSoft/MVVM/BaseClasses/BaseViewModel.cs @@ -0,0 +1,34 @@ +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace SeriusSoft.Frameworks.MVVM.ViewModels +{ + public abstract class BaseViewModel : INotifyPropertyChanged, IBackedByModel + { + public virtual bool IsNew { get { return true; } } + public virtual bool IsBacked { get; set; } + + /// + /// if you are having trouble with the [CallerMemberName] attribute due to versioning, + /// you can check out http://stackoverflow.com/questions/301809/workarounds-for-nameof-operator-in-c-typesafe-databinding for supplying a name to this method + /// as well as the inner workings of new'ing up an Exception to determine how they use the call-stack to find out who called the method or which method call it is on or just finished + /// + protected virtual void RaisePropertyChanged([CallerMemberName] string member = "") + { + var copy = PropertyChanged; + if ( copy != null ) + { + var changedEvent = new PropertyChangedEventArgs(member); + copy(this, changedEvent); + } + } + + protected abstract void RaiseAllBackedPropertiesChanged(); + + #region INotifyPropertyChanged Members + + public event PropertyChangedEventHandler PropertyChanged; + + #endregion + } +} diff --git a/SharedLibraries/SeriusSoft/MVVM/Exceptions/AlreadyInBatchModeException.cs b/SharedLibraries/SeriusSoft/MVVM/Exceptions/AlreadyInBatchModeException.cs new file mode 100644 index 0000000..2dd9ec8 --- /dev/null +++ b/SharedLibraries/SeriusSoft/MVVM/Exceptions/AlreadyInBatchModeException.cs @@ -0,0 +1,16 @@ +using System; +using System.Runtime.Serialization; + +namespace SeriusSoft.Frameworks.MVVM.Exceptions +{ + public class AlreadyInBatchModeException : Exception + { + public AlreadyInBatchModeException() : base() { } + + public AlreadyInBatchModeException(string message) : base(message) { } + + public AlreadyInBatchModeException(string message, Exception innerException) : base(message, innerException) { } + + public AlreadyInBatchModeException(SerializationInfo info, StreamingContext context) : base(info, context) { } + } +} diff --git a/SharedLibraries/SeriusSoft/MVVM/Exceptions/NotInBatchModeException.cs b/SharedLibraries/SeriusSoft/MVVM/Exceptions/NotInBatchModeException.cs new file mode 100644 index 0000000..66478a4 --- /dev/null +++ b/SharedLibraries/SeriusSoft/MVVM/Exceptions/NotInBatchModeException.cs @@ -0,0 +1,16 @@ +using System; +using System.Runtime.Serialization; + +namespace SeriusSoft.Frameworks.MVVM.Exceptions +{ + public class NotInBatchModeException : Exception + { + public NotInBatchModeException() : base() { } + + public NotInBatchModeException(string message) : base(message) { } + + public NotInBatchModeException(string message, Exception innerException) : base(message, innerException) { } + + public NotInBatchModeException(SerializationInfo info, StreamingContext context) : base(info, context) { } + } +} diff --git a/SharedLibraries/SeriusSoft/MVVM/Interfaces/IBackedByModel.cs b/SharedLibraries/SeriusSoft/MVVM/Interfaces/IBackedByModel.cs new file mode 100644 index 0000000..9b2be10 --- /dev/null +++ b/SharedLibraries/SeriusSoft/MVVM/Interfaces/IBackedByModel.cs @@ -0,0 +1,8 @@ +namespace SeriusSoft.Frameworks.MVVM.ViewModels +{ + public interface IBackedByModel + { + bool IsNew { get; } + bool IsBacked { get; set; } + } +} diff --git a/SharedLibraries/SeriusSoft/MVVM/Interfaces/IBatchable.cs b/SharedLibraries/SeriusSoft/MVVM/Interfaces/IBatchable.cs new file mode 100644 index 0000000..17de723 --- /dev/null +++ b/SharedLibraries/SeriusSoft/MVVM/Interfaces/IBatchable.cs @@ -0,0 +1,9 @@ +namespace SeriusSoft.Frameworks.MVVM.Core +{ + public interface IBatchable + { + bool IsInBatchMode { get; set; } + void Begin_ViewModelUpdates(); + void End_ViewModelUpdates(); + } +} diff --git a/SharedLibraries/SeriusSoft/MVVM/IntermediateClasses/BatchableBaseViewModel.cs b/SharedLibraries/SeriusSoft/MVVM/IntermediateClasses/BatchableBaseViewModel.cs new file mode 100644 index 0000000..ea87f81 --- /dev/null +++ b/SharedLibraries/SeriusSoft/MVVM/IntermediateClasses/BatchableBaseViewModel.cs @@ -0,0 +1,45 @@ +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; +using SeriusSoft.Frameworks.MVVM.Core; +using SeriusSoft.Frameworks.MVVM.Exceptions; + +namespace SeriusSoft.Frameworks.MVVM.ViewModels +{ + /// + /// Note that this is almost the same as the BaseViewModel. + /// The difference is that if you use the Begin_ViewModelUpdates() and End_ViewModelUpdates() methods, calls to RaisePropertyChanged will be ignored so long as: + /// - this.IsInBatchMode is false + /// - OR this.OverrideBatchModeLock is true + /// - Note that this means that the RaiseAllBackedPropertiesChanged will essentially do nothing even when overridden because you will be unable to trigger the PropertyChanged events w/o overriding the RaisePropertyChanged method. + /// + public abstract class BatchableBaseViewModel : BaseViewModel, IBatchable, INotifyPropertyChanged, IBackedByModel + { + public bool IsInBatchMode { get; set; } + public bool OverrideBatchModeLock { get; set; } + + public void Begin_ViewModelUpdates() + { + if ( this.IsInBatchMode ) + throw new AlreadyInBatchModeException(this.GetType().FullName); + + this.IsInBatchMode = true; + } + + public void End_ViewModelUpdates() + { + if (!this.IsInBatchMode) + throw new NotInBatchModeException(this.GetType().FullName); + + this.IsInBatchMode = false; + } + + protected override void RaisePropertyChanged([CallerMemberName] string member = "") + { + if ( !this.OverrideBatchModeLock && this.IsInBatchMode ) + return; + + base.RaisePropertyChanged(member); + } + } +} diff --git a/SharedLibraries/SeriusSoft/MVVM/Properties/AssemblyInfo.cs b/SharedLibraries/SeriusSoft/MVVM/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..f7452e1 --- /dev/null +++ b/SharedLibraries/SeriusSoft/MVVM/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("MVVM")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("MVVM")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("ed5aedba-82a6-4493-b3f3-bda525c75d15")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")]