Mid-round chat messages have a limited range, headset item which can be used to communicate with players further away, new inventory slot for items like masks and headsets
This commit is contained in:
@@ -18,8 +18,10 @@ namespace Barotrauma
|
||||
|
||||
public enum GUISoundType
|
||||
{
|
||||
Message = 0,
|
||||
Click = 1
|
||||
Message,
|
||||
RadioMessage,
|
||||
DeadMessage,
|
||||
Click
|
||||
}
|
||||
|
||||
public class GUI
|
||||
@@ -75,8 +77,10 @@ namespace Barotrauma
|
||||
|
||||
if (loadSounds)
|
||||
{
|
||||
sounds = new Sound[2];
|
||||
sounds = new Sound[4];
|
||||
sounds[(int)GUISoundType.Message] = Sound.Load("Content/Sounds/UI/UImsg.ogg", false);
|
||||
sounds[(int)GUISoundType.RadioMessage] = Sound.Load("Content/Sounds/UI/radiomsg.ogg", false);
|
||||
sounds[(int)GUISoundType.DeadMessage] = Sound.Load("Content/Sounds/UI/deadmsg.ogg", false);
|
||||
sounds[(int)GUISoundType.Click] = Sound.Load("Content/Sounds/UI/beep-shinymetal.ogg", false);
|
||||
}
|
||||
|
||||
|
||||
@@ -72,6 +72,12 @@ namespace Barotrauma
|
||||
}
|
||||
}
|
||||
|
||||
public Color TextColor
|
||||
{
|
||||
get { return textBlock.TextColor; }
|
||||
set { textBlock.TextColor = value; }
|
||||
}
|
||||
|
||||
public override Color HoverColor
|
||||
{
|
||||
get
|
||||
|
||||
Reference in New Issue
Block a user