This commit is contained in:
Glenn Maynard
2005-06-17 00:49:10 +00:00
parent 361eff0205
commit 7b184e6f7f
+17
View File
@@ -1,3 +1,20 @@
/*
* This class handles two things: auto-play preload, and runtime auto-play sounds.
*
* On song start, all autoplay sounds and the main BGM track (if any) are combined
* into a single chain, which is used as the song background. Sounds added this way
* are removed from the NoteData.
*
* Any sounds not added to the sound chain and any autoplay sounds added to the NoteData
* during play (usually due to battle mode mods) are played dynamically, via Update().
*
* Note that autoplay sounds which are played before the BGM starts will never be
* placed in the sound chain, since the sound chain becomes the BGM; the BGM can't
* play sound before it starts. These sounds will be left in the NoteData, and played
* as dynamic sounds; this means that they don't get robust sync. This isn't a problem
* for imported BMS files, which don't have an offset value, but it's annoying.
*/
#include "global.h"
#include "AutoKeysounds.h"
#include "GameState.h"