water ambience sounds change according to speed, oxygengenerator fills oxygen tanks even if their condition is 0, submarine refactoring & bugfixes, wire node editing bugfixes

This commit is contained in:
Regalis
2015-09-24 15:21:10 +03:00
parent f6966f06c3
commit bf7619bcc4
33 changed files with 635 additions and 490 deletions

View File

@@ -41,9 +41,10 @@ namespace Subsurface
public static bool DisableSelect
{
get { return disableSelect; }
set {
set
{
disableSelect = value;
if (disableSelect==true)
if (disableSelect)
{
startMovingPos = Vector2.Zero;
selectionSize = Vector2.Zero;
@@ -52,6 +53,12 @@ namespace Subsurface
}
}
public static bool SelectedAny
{
get { return selectedList.Count > 0; }
}
public bool MoveWithLevel
{
get;