Sounds and LightManager
This commit is contained in:
@@ -11,6 +11,14 @@ for key, value in pairs(localizedStrings) do
|
|||||||
defaultLib[value] = CreateStatic("Barotrauma." .. value, true)
|
defaultLib[value] = CreateStatic("Barotrauma." .. value, true)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
defaultLib["Sounds.LowpassFilter"] = CreateStatic("Barotrauma.Sounds.LowpassFilter")
|
||||||
|
defaultLib["Sounds.HighpassFilter"] = CreateStatic("Barotrauma.Sounds.HighpassFilter")
|
||||||
|
defaultLib["Sounds.BandpassFilter"] = CreateStatic("Barotrauma.Sounds.BandpassFilter")
|
||||||
|
defaultLib["Sounds.NotchFilter"] = CreateStatic("Barotrauma.Sounds.NotchFilter")
|
||||||
|
defaultLib["Sounds.LowShelfFilter"] = CreateStatic("Barotrauma.Sounds.LowShelfFilter")
|
||||||
|
defaultLib["Sounds.HighShelfFilter"] = CreateStatic("Barotrauma.Sounds.HighShelfFilter")
|
||||||
|
defaultLib["Sounds.PeakFilter"] = CreateStatic("Barotrauma.Sounds.PeakFilter")
|
||||||
|
|
||||||
defaultLib["Sprite"] = CreateStatic("Barotrauma.Sprite", true)
|
defaultLib["Sprite"] = CreateStatic("Barotrauma.Sprite", true)
|
||||||
defaultLib["PlayerInput"] = CreateStatic("Barotrauma.PlayerInput", true)
|
defaultLib["PlayerInput"] = CreateStatic("Barotrauma.PlayerInput", true)
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,24 @@ end
|
|||||||
RegisterBarotrauma("Networking.ClientPeer")
|
RegisterBarotrauma("Networking.ClientPeer")
|
||||||
RegisterBarotrauma("Networking.GameClient")
|
RegisterBarotrauma("Networking.GameClient")
|
||||||
|
|
||||||
|
RegisterBarotrauma("Sounds.SoundManager")
|
||||||
|
RegisterBarotrauma("Sounds.OggSound")
|
||||||
|
RegisterBarotrauma("Sounds.VideoSound")
|
||||||
|
RegisterBarotrauma("Sounds.VoipSound")
|
||||||
|
RegisterBarotrauma("Sounds.SoundChannel")
|
||||||
|
|
||||||
|
RegisterBarotrauma("Sounds.LowpassFilter")
|
||||||
|
RegisterBarotrauma("Sounds.HighpassFilter")
|
||||||
|
RegisterBarotrauma("Sounds.BandpassFilter")
|
||||||
|
RegisterBarotrauma("Sounds.NotchFilter")
|
||||||
|
RegisterBarotrauma("Sounds.LowShelfFilter")
|
||||||
|
RegisterBarotrauma("Sounds.HighShelfFilter")
|
||||||
|
RegisterBarotrauma("Sounds.PeakFilter")
|
||||||
|
|
||||||
|
RegisterBarotrauma("Lights.LightManager")
|
||||||
|
RegisterBarotrauma("Lights.LightSource")
|
||||||
|
RegisterBarotrauma("Lights.LightSourceParams")
|
||||||
|
|
||||||
RegisterBarotrauma("ChatBox")
|
RegisterBarotrauma("ChatBox")
|
||||||
RegisterBarotrauma("GUICanvas")
|
RegisterBarotrauma("GUICanvas")
|
||||||
RegisterBarotrauma("Anchor")
|
RegisterBarotrauma("Anchor")
|
||||||
|
|||||||
@@ -232,6 +232,8 @@ RegisterBarotrauma("SubmarineInfo")
|
|||||||
RegisterBarotrauma("MapCreatures.Behavior.BallastFloraBehavior")
|
RegisterBarotrauma("MapCreatures.Behavior.BallastFloraBehavior")
|
||||||
RegisterBarotrauma("MapCreatures.Behavior.BallastFloraBranch")
|
RegisterBarotrauma("MapCreatures.Behavior.BallastFloraBranch")
|
||||||
|
|
||||||
|
RegisterBarotrauma("PetBehavior")
|
||||||
|
|
||||||
Register("Microsoft.Xna.Framework.Vector2")
|
Register("Microsoft.Xna.Framework.Vector2")
|
||||||
Register("Microsoft.Xna.Framework.Vector3")
|
Register("Microsoft.Xna.Framework.Vector3")
|
||||||
Register("Microsoft.Xna.Framework.Vector4")
|
Register("Microsoft.Xna.Framework.Vector4")
|
||||||
|
|||||||
@@ -31,6 +31,22 @@ namespace Barotrauma
|
|||||||
return GameMain.Client.ChatBox;
|
return GameMain.Client.ChatBox;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Sounds.SoundManager SoundManager
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return GameMain.SoundManager;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public Lights.LightManager LightManager
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return GameMain.LightManager;
|
||||||
|
}
|
||||||
|
}
|
||||||
#else
|
#else
|
||||||
|
|
||||||
public bool IsDedicated
|
public bool IsDedicated
|
||||||
|
|||||||
Reference in New Issue
Block a user