voicepool to avoid annoying me with the same sound over and over... and units now have a voice assigned.
This commit is contained in:
@@ -5,7 +5,9 @@ using OpenRa.TechTree;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using IrrKlang;
|
||||
using IjwFramework.Collections;
|
||||
using IjwFramework.Collections;
|
||||
using System;
|
||||
using IjwFramework.Types;
|
||||
|
||||
namespace OpenRa.Game
|
||||
{
|
||||
@@ -170,6 +172,14 @@ namespace OpenRa.Game
|
||||
return int.MaxValue;
|
||||
|
||||
return BuildingInfluence.GetDistanceToBuilding(b);
|
||||
}
|
||||
}
|
||||
|
||||
public static Random SharedRandom = new Random(); /* for things that require sync */
|
||||
public static Random CosmeticRandom = new Random(); /* for things that are just fluff */
|
||||
|
||||
public static readonly Pair<VoicePool, VoicePool> SovietVoices =
|
||||
Pair.New(
|
||||
new VoicePool("ackno", "affirm1", "noprob", "overout", "ritaway", "roger", "ugotit"),
|
||||
new VoicePool("await1", "ready", "report1", "yessir1"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user