20 lines
662 B
Plaintext
20 lines
662 B
Plaintext
#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_;
|
|
description = description_;
|
|
maps = maps_;
|
|
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]); |