Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.13 #20

Merged
merged 49 commits into from
Sep 26, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
353bc0d
Default Online setting for OnsetDetector to false
opcon Aug 29, 2016
dc47376
Change analysing song wording
opcon Aug 29, 2016
bdf851f
Change geometry builder to have a percentage chance of producing large
opcon Aug 29, 2016
e3dc33b
Remove extra rotation on beat
opcon Aug 29, 2016
de94557
Add chance to swap foreground and background colours
opcon Aug 29, 2016
a6204a0
Sey minimum time delta for onset detection to 5 milliseconds
opcon Aug 29, 2016
0c520c2
Bump version number to 0.13
opcon Aug 31, 2016
f55354b
Update packages
opcon Aug 31, 2016
5ca03eb
Remove debugging print in StageGeometryBuilder
opcon Aug 31, 2016
a747427
Add async error reporting methods
opcon Aug 31, 2016
a8d1b58
Reset Player to Play position for main menu
opcon Aug 31, 2016
79b96b2
Remove mouse control from main menu
opcon Aug 31, 2016
b42009e
Remove unused code
opcon Aug 31, 2016
1dfb2c7
Remap keypad enter to regular enter
opcon Aug 31, 2016
619af5e
Use proper font in Loading Scene
opcon Aug 31, 2016
2670d08
Use proper font in End Game Scene
opcon Aug 31, 2016
3e31271
Add key repeat to backspace key in Choose Song Scene
opcon Aug 31, 2016
842e018
Change LocalFileSystem friendly name to Local songs
opcon Aug 31, 2016
445d7fe
Add new method for choosing filesystems
opcon Aug 31, 2016
51b6cae
Add privatePath for assembly probing
opcon Sep 1, 2016
b5a1023
Update build script
opcon Sep 1, 2016
c6075b5
Update build script to use new folder structure
opcon Sep 1, 2016
36fcef9
Copy OpenTK.dll.config to output directory
opcon Sep 1, 2016
c5480f6
Fix crash on SDL and Linux
opcon Sep 1, 2016
1b25192
Last commit of options scene before the downfal
opcon Sep 1, 2016
9d0ba58
Add methods for Enter/Exit focus to all Scene subclasses
opcon Sep 1, 2016
2798d24
Fix analysing song wording
opcon Sep 1, 2016
4921075
Improved directory browser layout
opcon Sep 1, 2016
90937cf
Use Wasapi on windows, rather than old WaveOut
opcon Sep 1, 2016
7e144ac
increase background polygon size
opcon Sep 1, 2016
bd602d6
whitespace
opcon Sep 1, 2016
a243662
remove unused code
opcon Sep 1, 2016
2c9554b
Tweak level generation to have chance to swap skip pattern
opcon Sep 1, 2016
29b4515
Tweak skip function to produce less of single skip hexagons
opcon Sep 1, 2016
789d4b5
FirstRun scene now requires Enter to opt-in, Escape to opt-out
opcon Sep 1, 2016
5634302
Fix disposing resources that aren't ours in LoadingScene
opcon Sep 1, 2016
d2c4529
Add redesigned Options menu
opcon Sep 1, 2016
8960743
Use a better font choice in UpdateScene
opcon Sep 1, 2016
aee33a6
don't show recent file system first if it is empty
opcon Sep 3, 2016
bc441b9
Improve Options Scene scaling
opcon Sep 3, 2016
c02b8d0
Decrease onset threshold to 2.5
opcon Sep 3, 2016
c5e1426
Fix enum settings not saving correctly
opcon Sep 3, 2016
698ab66
Increase minimum onset delta to 7.5f
opcon Sep 3, 2016
25d938f
Update MathNet.Numerics from 3.13 to 3.13.1
opcon Sep 25, 2016
f684aef
Update project file
opcon Sep 25, 2016
1a32839
Add new colourmode setting
opcon Sep 25, 2016
f33b5d3
Add black and white mode
opcon Sep 25, 2016
10d85b7
change overall background colour them to black and white
opcon Sep 26, 2016
6b69098
Only swap colours if more than 300ms has passed since last swap
opcon Sep 26, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 39 additions & 11 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ let substructioDir = parentDir + substructioFolder + "/"
let substructioBuildDir = substructioDir + buildDirBase + mode + "/"
let contentDirDeployName = "Content"
let licenseDirDeployName = "Licenses"
let dllDirDeployName = "Dependencies"

// MonoKickStart properties
let monoKickStartRepo = @"https://github.com/MonoGame/MonoKickstart"
Expand All @@ -47,6 +48,9 @@ let deployName =
let tempDirName = lazy
tempDirBase + deployName.Value + "/"

let tempDirZipName = lazy
tempDirBase + deployName.Value + "-zip/"

let tempMergedDirName = lazy
tempDirBase + deployName.Value + "-merged/"

Expand All @@ -60,7 +64,7 @@ let deployZipMergedPath = lazy
deployDir + deployZipMergedName.Value

// Tool names
let squirrelToolName = "squirrel.exe"
let squirrelToolName = "Squirrel.exe"
let ILMergeToolName = "ILRepack.exe"

// Targets
Expand Down Expand Up @@ -124,17 +128,27 @@ Target "CleanDeploy" (fun _ ->
CleanDir deployDir
)

Target "DeployZip" (fun _ ->
Target "CopyToTemp" (fun _ ->
ensureDirectory deployDir

let mainFiles = !! (sprintf "%s*.dll" buildDir) ++ (sprintf "%s*.config" buildDir) ++ (sprintf "%s*.exe" buildDir) -- (sprintf "%s*vshost*" buildDir)

CopyFiles tempDirName.Value mainFiles
CopyDir (tempDirName.Value + contentDirDeployName) "src/TurntNinja/Content/" (fun x -> true)
CopyDir (tempDirName.Value + licenseDirDeployName) "docs/licenses" (fun x-> true)
)

let dInfo = new System.IO.DirectoryInfo(tempDirName.Value)
Zip tempDirName.Value deployZipPath.Value [ for f in dInfo.EnumerateFiles("*", System.IO.SearchOption.AllDirectories) do yield f.FullName]
Target "DeployZip" (fun _ ->
CopyDir tempDirZipName.Value tempDirName.Value (fun x -> true)

let filesToMove = !! (sprintf "%s*.dll" tempDirZipName.Value) ++ (sprintf "%s*.dll.config" tempDirZipName.Value)

Copy (tempDirZipName.Value + dllDirDeployName) filesToMove

DeleteFiles filesToMove

let dInfo = new System.IO.DirectoryInfo(tempDirZipName.Value)
Zip tempDirZipName.Value deployZipPath.Value [ for f in dInfo.EnumerateFiles("*", System.IO.SearchOption.AllDirectories) do yield f.FullName]
//ArchiveHelper.Tar.GZip.CompressWithDefaults (directoryInfo artifactTempDir) (fileInfo (deployDir + deployName + ".tar.gz")) (dInfo.EnumerateFiles("*", System.IO.SearchOption.AllDirectories))
)

Expand All @@ -154,15 +168,16 @@ Target "DeploySquirrel" (fun _ ->
("**/*.*", Some @"lib/net45", None)
]
OutputPath = deployDir
WorkingDir = tempDirName.Value
WorkingDir = tempDirZipName.Value
})
"src\TurntNinja\TurntNinja.nuspec"
"src/TurntNinja/TurntNinja.nuspec"

let squirrelPath = findToolInSubPath squirrelToolName ""
// Create squirrel package
Squirrel.SquirrelPack (fun p ->
{p with
ReleaseDir = squirrelDeployDir
ToolPath = findToolInSubPath squirrelToolName ""
ToolPath = squirrelPath
})
packagePath
)
Expand Down Expand Up @@ -201,6 +216,7 @@ Target "DeployKickStart" (fun _ ->
)

Target "Deploy" (fun _ -> ())
Target "DeployAll" (fun _ -> ())

Target "PushArtifacts" (fun _ ->
match buildServer with
Expand Down Expand Up @@ -237,23 +253,35 @@ Target "Default" (fun _ ->
==> "CleanSubstructio"

"CleanTemp"
==> "CopyToTemp"

"CopyToTemp"
==> "DeployZip"

"DeployZip"
==> "PushArtifacts"

"DeployZip"
"CopyToTemp"
==> "DeployMerged"

"DeployZip"
==> "DeploySquirrel"

"DeploySquirrel"
"DeployZip"
==> "Deploy"

"DeployZip"
==> "DeployAll"

"DeployMerged"
==> "DeployAll"

"DeploySquirrel"
==> "DeployAll"

// Deploy zip conditional target to ensure that we are built
// CopyToTemp conditional target to ensure that we are built
"Build"
=?> ("DeployZip", not (fileExists appPath))
=?> ("CopyToTemp", not (fileExists appPath))

// start build
RunTargetOrDefault "Default"
2 changes: 1 addition & 1 deletion paket.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ nuget Microsoft.Data.Services.Client = 5.6.1
group Build

source https://www.nuget.org/api/v2/
nuget FAKE
nuget FAKE
18 changes: 9 additions & 9 deletions paket.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ NUGET
ColorMine (1.1.3) - framework: >= net45
DeltaCompressionDotNet (1.0) - framework: >= net45
HUSL (1.0.1) - framework: >= net45
LiteDB (2.0) - framework: >= net45
MathNet.Numerics (3.13) - framework: >= net45
LiteDB (2.0.2) - framework: >= net45
MathNet.Numerics (3.13.1) - framework: >= net45
Mono.Cecil (0.9.6.1) - framework: >= net45
Newtonsoft.Json (9.0.1)
NuGet.CommandLine (3.4.3)
SharpFont (4.0.1) - framework: >= net45
SharpFont.Dependencies
SharpRaven (2.1)
Newtonsoft.Json (>= 6.0.6)
Splat (1.6.2) - framework: >= net45
Expand All @@ -19,9 +21,9 @@ NUGET
Splat (>= 1.6.2)
TagLib.Portable (1.0.4) - framework: >= net45
remote: https://ci.appveyor.com/nuget/cscore-lt381sf5ht3e
CSCore (1.1.24)
CSCore.OSX (1.1.24)
CSCore (>= 1.1.24)
CSCore (1.1.29)
CSCore.OSX (1.1.29)
CSCore (>= 1.1.29)
remote: https://ci.appveyor.com/nuget/gwen-nolegacy-opentk-renderer-y8bf4l8s9nxo
Gwen (3.0.6026.7037) - framework: >= net45
OpenTK.Next (>= 1.1.1616.8959)
Expand All @@ -41,19 +43,17 @@ NUGET
OpenTK.Next (>= 1.1.1616.8959)
SharpFont (>= 3.1)
SharpFont.Dependencies (>= 2.6)
SharpFont (3.1.0) - framework: >= net45
SharpFont.Dependencies
SharpFont.Dependencies (2.6) - framework: >= net45

GROUP Build
NUGET
remote: https://www.nuget.org/api/v2
FAKE (4.38)
FAKE (4.39)

GROUP Deploy
NUGET
remote: https://www.nuget.org/api/v2
ILRepack (2.0.10)
ILRepack (2.0.11)
Microsoft.Data.Edm (5.6.1)
Microsoft.Data.OData (5.6.1)
Microsoft.Data.Edm (5.6.1)
Expand Down
Loading