Loaded sounds are properly freed, ObjectProperty optimization, expanded skill effects (rangedweapon accuracy, welding efficiency, electrical shocks), armored wearables + ballistic vest & helmet

This commit is contained in:
Regalis
2015-09-28 19:48:31 +03:00
parent 97c3ac1412
commit cc16bb3ad7
34 changed files with 411 additions and 183 deletions

View File

@@ -49,7 +49,7 @@ namespace Subsurface
graphicsDevice = graphics;
sounds = new Sound[2];
sounds[0] = Sound.Load("Content/Sounds/UI/UImsg.ogg");
sounds[0] = Sound.Load("Content/Sounds/UI/UImsg.ogg", false);
// create 1x1 texture for line drawing
t = new Texture2D(graphicsDevice, 1, 1);