/*
+------+
|Music |
+------+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
| Scratch                                      Http://www.admdev.com/scratch |
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
| Entities that are put in a level to play music.           		     |
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
*/

void() entity_music1 =
{
	precache_sound ("music/dmarena1.wav");
	// this is a hack to prevent music from being more powerful in one speaker then the other
	ambientsound ('-4096 -4096 -4096', "music/dmarena1.wav", 0.5, ATTN_NONE);
	ambientsound ('4096 4096 4096', "music/dmarena1.wav", 0.5, ATTN_NONE);
};

void() entity_music2 =
{
	precache_sound ("music/dmarena2.wav");
	ambientsound ('-4096 -4096 -4096', "music/dmarena2.wav", 0.5, ATTN_NONE);
	ambientsound ('4096 4096 4096', "music/dmarena2.wav", 0.5, ATTN_NONE);
};

void() entity_music3 =
{
	precache_sound ("music/dmarena3.wav");
	ambientsound ('-4096 -4096 -4096', "music/dmarena3.wav", 0.5, ATTN_NONE);
	ambientsound ('4096 4096 4096', "music/dmarena3.wav", 0.5, ATTN_NONE);
};

void() entity_music4 =
{
	precache_sound ("music/dmarena4.wav");
	ambientsound ('-4096 -4096 -4096', "music/dmarena4.wav", 0.5, ATTN_NONE);
	ambientsound ('4096 4096 4096', "music/dmarena4.wav", 0.5, ATTN_NONE);
};

void() entity_music5 =
{
	precache_sound ("music/dmarena5.wav");
	ambientsound ('-4096 -4096 -4096', "music/dmarena5.wav", 0.5, ATTN_NONE);
	ambientsound ('4096 4096 4096', "music/dmarena5.wav", 0.5, ATTN_NONE);
};