Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
mcagabe19 committed Oct 21, 2024
2 parents b7cc9ab + a76b05d commit 7394aba
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions source/editors/ChartingState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -3129,15 +3129,19 @@ class ChartingState extends MusicBeatState
opponentVocals.pitch = playbackSpeed;
#end

if (bpmTxt != null) bpmTxt.text =
CoolUtil.formatTime(Conductor.songPosition, 2) + ' / ' + CoolUtil.formatTime(FlxG.sound.music.length, 2) +
"\nSection: " + curSec +
"\n\nBeat: " + Std.string(curDecBeat).substring(0,4) +
"\nStep: " + curStep +
"\nBeat Snap: " + quantization + "th" +
"\n\n" + FlxStringUtil.formatMoney(CoolUtil.getNoteAmount(_song), false) + ' Notes' +
"\n\nRendered Notes: " + FlxStringUtil.formatMoney(Math.abs(curRenderedNotes.length + nextRenderedNotes.length), false) +
"\n\nSection Notes: " + FlxStringUtil.formatMoney(_song.notes[curSec].sectionNotes.length, false);
if (bpmTxt != null)
{
bpmTxt.text =
CoolUtil.formatTime(Conductor.songPosition, 2) + ' / ' + CoolUtil.formatTime(FlxG.sound.music.length, 2) +
"\nSection: " + curSec +
"\n\nBeat: " + Std.string(curDecBeat).substring(0,4) +
"\nStep: " + curStep +
"\nBeat Snap: " + quantization + "th" +
"\n\n" + FlxStringUtil.formatMoney(CoolUtil.getNoteAmount(_song), false) + ' Notes' +
"\n\nRendered Notes: " + FlxStringUtil.formatMoney(Math.abs(curRenderedNotes.length + nextRenderedNotes.length), false);

if (_song.notes[curSec] != null) bpmTxt.text += "\n\nSection Notes: " + FlxStringUtil.formatMoney(_song.notes[curSec].sectionNotes.length, false);
}

var playedSound:Array<Bool> = [false, false, false, false]; //Prevents ouchy GF sex sounds
curRenderedNotes.forEachAlive(function(note:Note) {
Expand Down

0 comments on commit 7394aba

Please sign in to comment.