kikeru
This commit is contained in:
parent
62f4ba5f5f
commit
54f1b7c75d
15 changed files with 186 additions and 4 deletions
|
@ -1,4 +1,10 @@
|
|||
function song(name_="among us trap remix", shortname="autr", audio_=[m_null], bpm_=100, description_="when the im.ogg", maps_=[sm_null], loopstart=0,loopend=audio_sound_length(audio_[0])) constructor {
|
||||
#macro mus global.tracklist
|
||||
global.tracklist = {};
|
||||
global.playingmusic = new song();
|
||||
global.playingmusicdata = 0;
|
||||
global.playingmusictime = 0;
|
||||
|
||||
function song(name_="among us trap remix", shortname="autr", audio_=[m_null], bpm_=100, description_="when the im.ogg", maps_=[c_null], loopstart=0,loopend=audio_sound_length(audio_[0])) constructor {
|
||||
name = name_;
|
||||
audio = audio_;
|
||||
bpm = bpm_;
|
||||
|
@ -7,4 +13,8 @@ function song(name_="among us trap remix", shortname="autr", audio_=[m_null], bp
|
|||
self.loopStart = loopstart;
|
||||
self.loopEnd = loopend;
|
||||
variable_struct_set(global.tracklist, shortname, self);
|
||||
}
|
||||
}
|
||||
|
||||
nu song("menu", "menu", [m_menu]);
|
||||
nu song("map", "map", [m_map]);
|
||||
nu song("cutscene", "cutscene", [m_cutscene]);
|
Loading…
Add table
Add a link
Reference in a new issue