removed all the sound junk from Game; removed spurious loose files

This commit is contained in:
Chris Forbes
2009-12-05 18:27:00 +13:00
parent 522bf234b8
commit 3ff9c2383a
20 changed files with 124 additions and 1674 deletions

View File

@@ -43,8 +43,8 @@ namespace OpenRa.Game
Game.world.Add( new Actor( building.Name, order.TargetLocation - GameRules.Footprint.AdjustForBuildingSize( building ), order.Player ) );
if (order.Player == Game.LocalPlayer)
{
Game.PlaySound("placbldg.aud", false);
Game.PlaySound("build5.aud", false);
Sound.Play("placbldg.aud");
Sound.Play("build5.aud");
}
order.Player.FinishProduction(Rules.UnitCategory[building.Name]);
@@ -75,7 +75,7 @@ namespace OpenRa.Game
var isBuilding = group == "Building" || group == "Defense";
if (!hasPlayedSound && order.Player == Game.LocalPlayer)
{
Game.PlaySound(isBuilding ? "conscmp1.aud" : "unitrdy1.aud", false);
Sound.Play(isBuilding ? "conscmp1.aud" : "unitrdy1.aud");
hasPlayedSound = true;
}
if (!isBuilding)