Skip to content

Commit

Permalink
WAIT
Browse files Browse the repository at this point in the history
one more change, this also leaks weekend 1 coming in 1.38.0 because i couldnt be bothered to take that out
  • Loading branch information
JordanSantiagoYT committed Oct 31, 2024
1 parent 09130b2 commit 4ac31be
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions source/editors/ChartingState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1451,6 +1451,21 @@ class ChartingState extends MusicBeatState
noteTypeIntMap.set(key, noteTypeList[key]);
key++;
}
var notetypeFiles:Array<String> = Paths.mergeAllTextsNamed('data/' + Paths.formatToSongPath(_song.song) + '/notetypes.txt', '', true);
if(notetypeFiles.length > 0)
{
for (ntTyp in notetypeFiles)
{
var name:String = ntTyp.trim();
if(!displayNameList.contains(name))
{
displayNameList.push(name);
noteTypeMap.set(name, key);
noteTypeIntMap.set(key, name);
key++;
}
}
}

#if LUA_ALLOWED
var directories:Array<String> = [];
Expand Down Expand Up @@ -4140,6 +4155,7 @@ class ChartingState extends MusicBeatState
undos.splice(0, 1);
trace("Performed an Undo! Undos remaining: " + undos.length);
if (!unsavedChanges) unsavedChanges = true;
if (curSection > _song.notes.length) changeSection(_song.notes.length-1);
updateGrid();
}
}
Expand Down

2 comments on commit 4ac31be

@SyncGit12
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add a note combo mechanic

Image

oops leak-

@JordanSantiagoYT
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note combo sprite isnt rlly needed thoughhhhhhhgtjfgjmhgn

Please sign in to comment.