-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from Jorolf/vitaruRemake
Vitaru Base, Rewrite Incoming
- Loading branch information
Showing
65 changed files
with
654 additions
and
183 deletions.
There are no files selected for viewing
Submodule osu-framework
updated
20 files
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
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
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
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
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
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
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,15 @@ | ||
using osu.Framework.Graphics.Containers; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace osu.Game.Modes.Vitaru.UI | ||
{ | ||
class Character : Container | ||
{ | ||
|
||
|
||
} | ||
} |
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,8 @@ | ||
using osu.Game.Modes.Objects; | ||
|
||
namespace osu.Game.Modes.Vitaru.UI | ||
{ | ||
public class VitaruHitObject : HitObject | ||
{ | ||
} | ||
} |
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,29 @@ | ||
<!-- | ||
Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE | ||
--> | ||
|
||
<configuration> | ||
<dllmap os="linux" dll="opengl32.dll" target="libGL.so.1"/> | ||
<dllmap os="linux" dll="glu32.dll" target="libGLU.so.1"/> | ||
<dllmap os="linux" dll="openal32.dll" target="libopenal.so.1"/> | ||
<dllmap os="linux" dll="alut.dll" target="libalut.so.0"/> | ||
<dllmap os="linux" dll="opencl.dll" target="libOpenCL.so"/> | ||
<dllmap os="linux" dll="libX11" target="libX11.so.6"/> | ||
<dllmap os="linux" dll="libXi" target="libXi.so.6"/> | ||
<dllmap os="linux" dll="SDL2.dll" target="libSDL2-2.0.so.0"/> | ||
<dllmap os="osx" dll="opengl32.dll" target="/System/Library/Frameworks/OpenGL.framework/OpenGL"/> | ||
<dllmap os="osx" dll="openal32.dll" target="/System/Library/Frameworks/OpenAL.framework/OpenAL" /> | ||
<dllmap os="osx" dll="alut.dll" target="/System/Library/Frameworks/OpenAL.framework/OpenAL" /> | ||
<dllmap os="osx" dll="libGLES.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" /> | ||
<dllmap os="osx" dll="libGLESv1_CM.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" /> | ||
<dllmap os="osx" dll="libGLESv2.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" /> | ||
<dllmap os="osx" dll="opencl.dll" target="/System/Library/Frameworks/OpenCL.framework/OpenCL"/> | ||
<dllmap os="osx" dll="SDL2.dll" target="libSDL2.dylib"/> | ||
<!-- XQuartz compatibility (X11 on Mac) --> | ||
<dllmap os="osx" dll="libGL.so.1" target="/usr/X11/lib/libGL.dylib"/> | ||
<dllmap os="osx" dll="libX11" target="/usr/X11/lib/libX11.dylib"/> | ||
<dllmap os="osx" dll="libXcursor.so.1" target="/usr/X11/lib/libXcursor.dylib"/> | ||
<dllmap os="osx" dll="libXi" target="/usr/X11/lib/libXi.dylib"/> | ||
<dllmap os="osx" dll="libXinerama" target="/usr/X11/lib/libXinerama.dylib"/> | ||
<dllmap os="osx" dll="libXrandr.so.2" target="/usr/X11/lib/libXrandr.dylib"/> | ||
</configuration> |
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,39 @@ | ||
//Copyright (c) 2007-2016 ppy Pty Ltd <[email protected]>. | ||
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE | ||
|
||
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("osu.Game.Modes.Vitaru")] | ||
[assembly: AssemblyDescription("")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("")] | ||
[assembly: AssemblyProduct("osu.Game.Modes.Vitaru")] | ||
[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("58f6c80c-1253-4a0e-a465-b8c85ebeadf3")] | ||
|
||
// 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")] |
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,14 @@ | ||
//Copyright (c) 2007-2017 ppy Pty Ltd <[email protected]>. | ||
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE | ||
|
||
|
||
|
||
using osu.Framework.Graphics.Containers; | ||
|
||
namespace osu.Game.Modes.Vitaru.UI | ||
{ | ||
public class VitaruComboCounter : Container | ||
{ | ||
|
||
} | ||
} |
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 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using osu.Game.Beatmaps; | ||
using osu.Game.Modes.Objects; | ||
using osu.Game.Modes.Vitaru.UI; | ||
|
||
namespace osu.Game.Modes.Vitaru.UI | ||
{ | ||
internal class VitaruHitObjectConverter : HitObjectConverter<VitaruHitObject> | ||
{ | ||
public override List<VitaruHitObject> Convert(Beatmap beatmap) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
} | ||
} |
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,13 @@ | ||
using System; | ||
using osu.Game.Modes.Objects.Drawables; | ||
|
||
namespace osu.Game.Modes.Vitaru.UI | ||
{ | ||
internal class VitaruJudgementInfo | ||
{ | ||
public static explicit operator VitaruJudgementInfo(JudgementInfo v) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
} | ||
} |
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,27 @@ | ||
//Copyright (c) 2007-2017 ppy Pty Ltd <[email protected]>. | ||
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE | ||
|
||
using System; | ||
using osu.Game.Modes.Objects; | ||
using osu.Game.Modes.Objects.Drawables; | ||
using osu.Game.Modes.Vitaru.UI; | ||
using osu.Game.Modes.Vitaru.UI; | ||
using osu.Game.Modes.UI; | ||
using System.Collections.Generic; | ||
|
||
namespace osu.Game.Modes.Vitaru.UI | ||
{ | ||
/*public class VitaruObjectRenderer : HitRenderer<VitaruHitObject> | ||
{ | ||
public List<HitObject> Character { get; internal set; } | ||
protected override HitObjectConverter<VitaruHitObject> Converter => new VitaruHitObjectConverter(); | ||
protected override Playfield CreatePlayfield() => new VitaruPlayfield(); | ||
protected override DrawableHitObject GetVisualRepresentation(VitaruHitObject h) | ||
{ | ||
} | ||
}*/ | ||
} |
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,78 @@ | ||
//Copyright (c) 2007-2017 ppy Pty Ltd <[email protected]>. | ||
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE | ||
|
||
using osu.Framework.Graphics; | ||
using osu.Framework.Graphics.Containers; | ||
using osu.Game.Modes.Objects.Drawables; | ||
using osu.Game.Modes.Vitaru.UI; | ||
using osu.Game.Modes.UI; | ||
using System; | ||
|
||
namespace osu.Game.Modes.Vitaru.UI | ||
{ | ||
public class VitaruPlayfield | ||
{/* | ||
private Container PlayArea; | ||
private Container EnemyArea; | ||
private Container JudgementLayer; | ||
public override Vector2 Size | ||
{ | ||
get | ||
{ | ||
var parentSize = Parent.DrawSize; | ||
var aspectSize = parentSize.X * 0.75f < parentSize.Y ? new Vector2(parentSize.X, parentSize.X * 0.75f) : new Vector2(parentSize.Y * 4f / 3f, parentSize.Y); | ||
return new Vector2(aspectSize.X / parentSize.X, aspectSize.Y / parentSize.Y) * base.Size; | ||
} | ||
} | ||
public VitaruPlayfield() | ||
{ | ||
Anchor = Anchor.Centre; | ||
Origin = Anchor.Centre; | ||
RelativeSizeAxes = Axes.Both; | ||
Size = new Vector2(0.75f); | ||
Add(new Drawable[] | ||
{ | ||
PlayArea = new Container | ||
{ | ||
RelativeSizeAxes = Axes.Both, | ||
Depth = 1, | ||
}, | ||
EnemyArea = new Container | ||
{ | ||
RelativeSizeAxes = Axes.Both, | ||
Depth = 1, | ||
}, | ||
JudgementLayer = new Container | ||
{ | ||
RelativeSizeAxes = Axes.Both, | ||
Depth = 1 | ||
} | ||
}); | ||
} | ||
public override void Add(DrawableHitObject h) | ||
{ | ||
h.Depth = (float)h.HitObject.StartTime; | ||
DrawableEnemy c = h as DrawableEnemy; | ||
h.OnJudgement += judgement; | ||
base.Add(h); | ||
} | ||
private void judgement(DrawableHitObject arg1, JudgementInfo arg2) | ||
{ | ||
throw new NotImplementedException(); | ||
}*/ | ||
|
||
/*private void judgement(DrawableHitObject h, JudgementInfo j) | ||
{ | ||
DeathSprite explosion = new DeathSprite((VitaruJudgementInfo)j, (VitaruHitObject)h.HitObject); | ||
}*/ | ||
} | ||
} |
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,11 @@ | ||
using System.Collections.Generic; | ||
using osu.Game.Modes.Objects; | ||
using osu.Game.Modes.UI; | ||
|
||
namespace osu.Game.Modes.Vitaru | ||
{ | ||
internal class VitaruHitRenderer : HitRenderer | ||
{ | ||
public List<HitObject> Enemy { get; set; } | ||
} | ||
} |
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,13 @@ | ||
using System; | ||
using osu.Game.Modes.Objects; | ||
|
||
namespace osu.Game.Modes.Vitaru | ||
{ | ||
internal class VitaruObjectParser : HitObjectParser | ||
{ | ||
public override HitObject Parse(string text) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
} | ||
} |
Oops, something went wrong.