Skip to content

Commit

Permalink
QuestLog sample updated with the new design
Browse files Browse the repository at this point in the history
  • Loading branch information
s-fernandez-v committed Mar 15, 2023
1 parent 5e7a818 commit f1f4435
Show file tree
Hide file tree
Showing 163 changed files with 5,823 additions and 5,535 deletions.
Binary file removed Samples/QuestLog/C++/Data/Aero Matics Regular.ttf
Binary file not shown.
Binary file added Samples/QuestLog/C++/Data/Dungeon.ttf
Binary file not shown.
Binary file added Samples/QuestLog/C++/Data/GentiumBookBasic.ttf
Binary file not shown.
Binary file added Samples/QuestLog/C++/Data/Images/Background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
543 changes: 326 additions & 217 deletions Samples/QuestLog/C++/Data/MainWindow.xaml

Large diffs are not rendered by default.

15 changes: 10 additions & 5 deletions Samples/QuestLog/C++/Data/QuestLog-blend.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>QuestLog</RootNamespace>
<AssemblyName>QuestLog</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FrameworkVersion>v4.7.2</FrameworkVersion>
<FrameworkVersion Condition="'$(VisualStudioVersion)' == '14.0'">v4.5.2</FrameworkVersion>
<FrameworkVersion Condition="'$(VisualStudioVersion)' == '15.0'">v4.6.1</FrameworkVersion>
<TargetFrameworkVersion>$(FrameworkVersion)</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel>
Expand All @@ -36,10 +39,10 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Xaml.Behaviors, Version=1.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>$(SolutionDir)packages\Microsoft.Xaml.Behaviors.Wpf.1.1.31\lib\net45\Microsoft.Xaml.Behaviors.dll</HintPath>
<HintPath>$(SolutionDir)packages\Microsoft.Xaml.Behaviors.Wpf.1.1.39\lib\net45\Microsoft.Xaml.Behaviors.dll</HintPath>
</Reference>
<Reference Include="Noesis.GUI.Extensions, Version=3.0.8.10607, Culture=neutral, processorArchitecture=MSIL">
<HintPath>$(SolutionDir)packages\Noesis.GUI.Extensions.3.0.8\lib\net45\Noesis.GUI.Extensions.dll</HintPath>
<Reference Include="Noesis.GUI.Extensions, Version=3.0.18.11825, Culture=neutral, processorArchitecture=MSIL">
<HintPath>$(SolutionDir)packages\Noesis.GUI.Extensions.3.0.18\lib\net45\Noesis.GUI.Extensions.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
Expand Down Expand Up @@ -97,7 +100,8 @@
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<Resource Include="Aero Matics Regular.ttf" />
<Resource Include="Dungeon.ttf" />
<Resource Include="GentiumBookBasic.ttf" />
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
Expand All @@ -109,6 +113,7 @@
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Resource Include="Images\Background.png" />
<Content Include="Sounds\WaterDropSmall.mp3">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
Expand Down
387 changes: 283 additions & 104 deletions Samples/QuestLog/C++/Data/Resources.xaml

Large diffs are not rendered by default.

172 changes: 86 additions & 86 deletions Samples/QuestLog/C++/Data/ViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,103 +41,103 @@ public ViewModel()

// Should be filled by application
Quests.Add(new Quest
{
Title = "Nature's Uprising",
Image = image0,
Difficulty = QuestDifficulty.Easy,
Description = "Lorem ipsum dolor sit amet, consectetur adipiscing elit.\nPellentesque molestie dolor ac leo convallis, non fermentum felis lobortis. Vivamus id turpis nibh.\n\nSed feugiat massa dolor, commodo hendrerit lectus dapibus sit amet.",
Completed = false
});
{
Title = "Nature's Uprising",
Image = image0,
Difficulty = QuestDifficulty.Easy,
Description = "\u201cThe timeless, tireless jaws of nature, which shaped our world since its inception, shall one day devour us all.\u201d",
Completed = false
});
Quests.Add(new Quest
{
Title = "Calming the Wake",
Image = image1,
Difficulty = QuestDifficulty.Normal,
Description = "Nullam volutpat felis eget lorem dictum sodales.\nNulla egestas porttitor ipsum ut tincidunt. Nullam varius justo quis mi pulvinar rutrum at a ligula.\n\nAenean efficitur dolor vel elit varius, sit amet convallis nulla rutrum.",
Completed = true
});
{
Title = "Calming the Wake",
Image = image1,
Difficulty = QuestDifficulty.Normal,
Description = "\u201cThe rangers warned us of reports of malevolent evil energy swelling and pouring out of the dark Marshes.\u201d",
Completed = true
});
Quests.Add(new Quest
{
Title = "Tomen's Curiosity",
Image = image2,
Difficulty = QuestDifficulty.Easy,
Description = "Quisque nec tortor in tortor.\nVestibulum tincidunt porttitor sit amet justo. Vestibulum vehicula, dui et vehicula finibus, est nunc efficitur sem, in tempus dolor dolor accumsan enim.\n\nUt rhoncus et orci quis vehicula. Nam bibendum at augue sit amet iaculis.",
Completed = false
});
{
Title = "Tomen's Curiosity",
Image = image2,
Difficulty = QuestDifficulty.Easy,
Description = "\u201cBack to camp from the battle, lieutenant Tomen awaits your return with the loot of last night's skirmish.\u201d",
Completed = false
});
Quests.Add(new Quest
{
Title = "Forest in Dispair",
Image = image0,
Difficulty = QuestDifficulty.Normal,
Description = "Lorem ipsum dolor sit amet, consectetur adipiscing elit.\nPellentesque molestie dolor ac leo convallis, non fermentum felis lobortis. Vivamus id turpis nibh.\n\nSed feugiat massa dolor, commodo hendrerit lectus dapibus sit amet.",
Completed = true
});
{
Title = "Forest of Dispair",
Image = image0,
Difficulty = QuestDifficulty.Normal,
Description = "\u201cWild animals are growing more and more aggressive near Eastburg, and our men suffers constant attacks from wolves!\u201d",
Completed = true
});
Quests.Add(new Quest
{
Title = "Retaliation",
Image = image1,
Difficulty = QuestDifficulty.Hard,
Description = "Nullam volutpat felis eget lorem dictum sodales.\nNulla egestas porttitor ipsum ut tincidunt. Nullam varius justo quis mi pulvinar rutrum at a ligula.\n\nAenean efficitur dolor vel elit varius, sit amet convallis nulla rutrum.",
Completed = true
});
{
Title = "Retaliation",
Image = image1,
Difficulty = QuestDifficulty.Hard,
Description = "\u201cThe goblins are among the most ancient and bitter rivals of the Dwarven brethen, and yet again we should clash.\u201d",
Completed = true
});
Quests.Add(new Quest
{
Title = "Living Hearts",
Image = image2,
Difficulty = QuestDifficulty.Easy,
Description = "Quisque nec tortor in tortor.\nVestibulum tincidunt porttitor sit amet justo. Vestibulum vehicula, dui et vehicula finibus, est nunc efficitur sem, in tempus dolor dolor accumsan enim.\n\nUt rhoncus et orci quis vehicula. Nam bibendum at augue sit amet iaculis.",
Completed = false
});
{
Title = "Living Hearts",
Image = image2,
Difficulty = QuestDifficulty.Easy,
Description = "\u201cVenture into the depths of this land, and old lover's curse may be a blessing in disguise near the BrokenHeart's Well.\u201d",
Completed = false
});
Quests.Add(new Quest
{
Title = "Scout their Defenses",
Image = image0,
Difficulty = QuestDifficulty.Easy,
Description = "Lorem ipsum dolor sit amet, consectetur adipiscing elit.\nPellentesque molestie dolor ac leo convallis, non fermentum felis lobortis. Vivamus id turpis nibh.\n\nSed feugiat massa dolor, commodo hendrerit lectus dapibus sit amet.",
Completed = false
});
{
Title = "Scout their Defenses",
Image = image0,
Difficulty = QuestDifficulty.Easy,
Description = "\u201cElwin believes that you can score a telling blow against the Black Ogres and their masters in the northern Amberwood.\u201d",
Completed = false
});
Quests.Add(new Quest
{
Title = "Rescue the Leader",
Image = image1,
Difficulty = QuestDifficulty.Hard,
Description = "Nullam volutpat felis eget lorem dictum sodales.\nNulla egestas porttitor ipsum ut tincidunt. Nullam varius justo quis mi pulvinar rutrum at a ligula.\n\nAenean efficitur dolor vel elit varius, sit amet convallis nulla rutrum.",
Completed = true
});
{
Title = "Rescue the Leader",
Image = image1,
Difficulty = QuestDifficulty.Hard,
Description = "\u201cEnter into their dwelling and release as many of the captives as possible. Find them quickly!\u201d",
Completed = true
});
Quests.Add(new Quest
{
Title = "Golden Oportunity",
Image = image2,
Difficulty = QuestDifficulty.Hard,
Description = "Quisque nec tortor in tortor.\nVestibulum tincidunt porttitor sit amet justo. Vestibulum vehicula, dui et vehicula finibus, est nunc efficitur sem, in tempus dolor dolor accumsan enim.\n\nUt rhoncus et orci quis vehicula. Nam bibendum at augue sit amet iaculis.",
Completed = false
});
{
Title = "Golden Oportunity",
Image = image2,
Difficulty = QuestDifficulty.Hard,
Description = "\u201cYou restored the good name of the Purple Guard, and master Proudbeard is delighted at what you have done.\u201d",
Completed = false
});
Quests.Add(new Quest
{
Title = "Loyal Subordinates",
Image = image2,
Difficulty = QuestDifficulty.Easy,
Description = "Lorem ipsum dolor sit amet, consectetur adipiscing elit.\nPellentesque molestie dolor ac leo convallis, non fermentum felis lobortis. Vivamus id turpis nibh.\n\nSed feugiat massa dolor, commodo hendrerit lectus dapibus sit amet.",
Completed = true
});
{
Title = "Loyal Subordinates",
Image = image2,
Difficulty = QuestDifficulty.Easy,
Description = "\u201cYou have helped us before, and if you continue to do so we will not forget it. Neither will the Orcs, to be sure.\u201d",
Completed = true
});
Quests.Add(new Quest
{
Title = "Legacy of the Past",
Image = image1,
Difficulty = QuestDifficulty.Normal,
Description = "Nullam volutpat felis eget lorem dictum sodales.\nNulla egestas porttitor ipsum ut tincidunt. Nullam varius justo quis mi pulvinar rutrum at a ligula.\n\nAenean efficitur dolor vel elit varius, sit amet convallis nulla rutrum.",
Completed = true
});
{
Title = "Legacy of the Past",
Image = image1,
Difficulty = QuestDifficulty.Normal,
Description = "\u201cWord of your deeds travelled far, and you became much sought-after by those who have need of such a champion!\u201d",
Completed = true
});
Quests.Add(new Quest
{
Title = "Purging the Dead",
Image = image2,
Difficulty = QuestDifficulty.Hard,
Description = "Quisque nec tortor in tortor.\nVestibulum tincidunt porttitor sit amet justo. Vestibulum vehicula, dui et vehicula finibus, est nunc efficitur sem, in tempus dolor dolor accumsan enim.\n\nUt rhoncus et orci quis vehicula. Nam bibendum at augue sit amet iaculis.",
Completed = false
});
SelectedQuest = Quests[0];
{
Title = "Purging the Dead",
Image = image2,
Difficulty = QuestDifficulty.Hard,
Description = "\u201cI think he said he hid it in a tall tree east of the River Falls in the Autumn Valley. Beware of the Necromancer!\u201d",
Completed = false
});

SelectedQuest = Quests[1];
}

public ObservableCollection<Quest> Quests { get; internal set; }
Expand Down
4 changes: 2 additions & 2 deletions Samples/QuestLog/C++/Data/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.Xaml.Behaviors.Wpf" version="1.1.31" targetFramework="net45" />
<package id="Noesis.GUI.Extensions" version="3.0.8" targetFramework="net45" />
<package id="Microsoft.Xaml.Behaviors.Wpf" version="1.1.39" targetFramework="net45" />
<package id="Noesis.GUI.Extensions" version="3.0.18" targetFramework="net45" />
</packages>
4 changes: 2 additions & 2 deletions Samples/QuestLog/C++/Projects/android_arm/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.noesis.Samples.QuestLog"
android:versionCode="10639"
android:versionName="3.1.0">
android:versionCode="12357"
android:versionName="3.2.0rc1">

<uses-sdk android:minSdkVersion="17" android:targetSdkVersion="29" />
<uses-permission android:name="android.permission.INTERNET" />
Expand Down
Loading

0 comments on commit f1f4435

Please sign in to comment.