(svn r925) Use sound enums

Also play the correct sound when a toyland road vehicle breaks down
This commit is contained in:
tron
2004-12-04 09:26:39 +00:00
parent d036559e0e
commit e56c3cddd8
24 changed files with 118 additions and 106 deletions

View File

@@ -382,8 +382,11 @@ static void AnimateTile_Trees(uint tile)
/* not used */
}
static byte _desert_sounds[] = {
66,67,68,72
static SoundFx _desert_sounds[] = {
SND_42_LOON_BIRD,
SND_43_LION,
SND_44_MONKEYS,
SND_48_DISTANT_BIRD
};
static void TileLoopTreesDesert(uint tile)
@@ -440,7 +443,7 @@ static void TileLoopTreesAlps(uint tile)
if (tmp == 0xC0) {
uint32 r;
if (CHANCE16I(1,200,r=Random())) {
SndPlayTileFx( (r&0x80000000) ? 57 : 52, tile);
SndPlayTileFx((r & 0x80000000) ? SND_39_HEAVY_WIND : SND_34_WIND, tile);
}
return;
} else {