-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
1,830 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# 2021.05.04.1640 | ||
## Launcher | ||
+ Launcher Visual overhaul (work in progress) | ||
+ Added Settings pages | ||
+ Updates are now not downloaded automatically, the users need to manually click on a notification to download it. | ||
+ Update Channels (release, beta) | ||
|
||
## Game | ||
+ Masterserver connection added throught the launcher (work in progress) | ||
• (Temporary) Removed 64 Yarida gamemode to have a simple gamemode with simple enemies and destructible stuff. | ||
|
||
## Client | ||
+ The client is now integrated in the game window. (there are still some optimizations to make since the launcher is also getting rendered along with the client) | ||
|
||
## Framework | ||
+ Upgraded to NET 5.0 |
24 changes: 24 additions & 0 deletions
24
PataNext.Export.Desktop.Tests/PataNext.Export.Desktop.Tests.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net5.0</TargetFramework> | ||
|
||
<IsPackable>false</IsPackable> | ||
|
||
<OutputType>WinExe</OutputType> | ||
<TargetFramework>net5.0</TargetFramework> | ||
<GenerateProgramFile>false</GenerateProgramFile> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="NUnit" Version="3.13.1" /> | ||
<PackageReference Include="NUnit3TestAdapter" Version="3.16.1" /> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" /> | ||
<PackageReference Include="ppy.osu.Framework" Version="2021.424.1" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\PataNext.Export.Desktop\PataNext.Export.Desktop.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System.Threading; | ||
using System.Threading.Tasks; | ||
using osu.Framework; | ||
using osu.Framework.Platform; | ||
|
||
namespace PataNext.Export.Desktop.Tests | ||
{ | ||
public static class Program | ||
{ | ||
public static void Main() | ||
{ | ||
using (osu.Framework.Platform.GameHost host = Host.GetSuitableHost("visual-tests")) | ||
using (var game = new TestGameBrowser()) | ||
host.Run(game); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
using System; | ||
using System.Linq; | ||
using System.Reflection; | ||
using osu.Framework.Allocation; | ||
using osu.Framework.Graphics; | ||
using osu.Framework.Graphics.Containers; | ||
using osu.Framework.Graphics.Cursor; | ||
using osu.Framework.IO.Stores; | ||
using osu.Framework.Platform; | ||
using osu.Framework.Testing; | ||
using osuTK; | ||
using PataNext.Export.Desktop.Visual; | ||
|
||
namespace PataNext.Export.Desktop.Tests | ||
{ | ||
public class TestGameBrowser : VisualGameBase | ||
{ | ||
protected override Container<Drawable> Content { get; } | ||
|
||
public TestGameBrowser() | ||
{ | ||
// Ensure game and tests scale with window size and screen DPI. | ||
base.Content.Add(Content = new DrawSizePreservingFillContainer | ||
{ | ||
// You may want to change TargetDrawSize to your "default" resolution, which will decide how things scale and position when using absolute coordinates. | ||
TargetDrawSize = new Vector2(1366, 768) | ||
}); | ||
} | ||
|
||
protected override void LoadComplete() | ||
{ | ||
base.LoadComplete(); | ||
|
||
AddRange(new Drawable[] | ||
{ | ||
new TestBrowser("PataNext"), | ||
new CursorContainer() | ||
}); | ||
|
||
/*Assembly wA = null; | ||
foreach (var assembly in AppDomain.CurrentDomain.GetAssemblies()) | ||
{ | ||
Console.WriteLine(assembly.FullName); | ||
if (assembly.FullName?.Contains("Win32") == true) | ||
wA = assembly; | ||
} | ||
if (wA != null) | ||
{ | ||
Console.WriteLine("WindowsAssembly Found: " + wA.FullName); | ||
foreach (var assembly in AppDomain.CurrentDomain.GetAssemblies()) | ||
{ | ||
if (assembly != wA) | ||
{ | ||
foreach (var asm in assembly.GetReferencedAssemblies()) | ||
if (asm.Name.Contains(wA.GetName().Name) || asm.Name.Contains("Windows") || asm.Name.Contains("Win32")) | ||
Console.WriteLine($"\t{assembly.FullName} contains wA ({asm.Name})"); | ||
} | ||
} | ||
foreach (var refe in wA.GetReferencedAssemblies()) | ||
Console.WriteLine("reference to " + refe.FullName); | ||
}*/ | ||
} | ||
|
||
public override void SetHost(osu.Framework.Platform.GameHost host) | ||
{ | ||
base.SetHost(host); | ||
host.Window.CursorState |= CursorState.Hidden; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using NUnit.Framework; | ||
|
||
namespace PataNext.Export.Desktop.Tests | ||
{ | ||
public class Tests | ||
{ | ||
[SetUp] | ||
public void Setup() | ||
{ | ||
} | ||
|
||
[Test] | ||
public void Test1() | ||
{ | ||
Assert.Pass(); | ||
} | ||
} | ||
} |
Oops, something went wrong.