More curve types

Catmull curves
Line Curves(half assed)
Curve refactor
#73 near 0 length sliders
This commit is contained in:
fd
2015-04-12 10:25:03 -04:00
parent 13d383463f
commit 12e70002d6
11 changed files with 444 additions and 182 deletions

View File

@@ -1043,6 +1043,16 @@ public class Game extends BasicGameState {
// reset game data
resetGameData();
// load the first timingPoint
timingPointIndex = 0;
beatLengthBase = beatLength = 1;
if (!osu.timingPoints.isEmpty()) {
OsuTimingPoint timingPoint = osu.timingPoints.get(0);
if (!timingPoint.isInherited()) {
setBeatLength(timingPoint, true);
timingPointIndex++;
}
}
// initialize object maps
for (int i = 0; i < osu.objects.length; i++) {
OsuHitObject hitObject = osu.objects[i];