Skip to content

Commit

Permalink
v0.5.0.1 + re-enabled the black wall damage indicators, client permis…
Browse files Browse the repository at this point in the history
…sions disabled
  • Loading branch information
Regalis committed Aug 29, 2016
1 parent ca5ad3e commit a0a5e2d
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Subsurface/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.5.0.3")]
[assembly: AssemblyFileVersion("0.5.0.3")]
[assembly: AssemblyVersion("0.5.1.0")]
[assembly: AssemblyFileVersion("0.5.1.0")]
8 changes: 4 additions & 4 deletions Subsurface/Source/Map/Structure.cs
Original file line number Diff line number Diff line change
Expand Up @@ -401,10 +401,10 @@ public override void Draw(SpriteBatch spriteBatch, bool editing, bool back = tru
s.isHighLighted = false;

if (s.damage < 0.01f) continue;
/* GUI.DrawRectangle(spriteBatch,
new Vector2(s.rect.X + drawOffset.X, -(s.rect.Y + drawOffset.Y)), new Vector2(s.rect.Width, s.rect.Height),
Color.Black * (s.damage / prefab.MaxHealth), true);*/

GUI.DrawRectangle(spriteBatch,
new Vector2(s.rect.X + drawOffset.X, -(s.rect.Y + drawOffset.Y)), new Vector2(s.rect.Width, s.rect.Height),
Color.Black * (s.damage / prefab.MaxHealth), true);
}
/*
if(_convexHulls == null) return;
Expand Down
4 changes: 2 additions & 2 deletions Subsurface/Source/Networking/Client.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ public void RemovePermission(ClientPermissions permission)
}

public bool HasPermission(ClientPermissions permission)
{
return Permissions.HasFlag(permission);
{
return false; //Permissions.HasFlag(permission);
}

public T GetVote<T>(VoteType voteType)
Expand Down
4 changes: 2 additions & 2 deletions Subsurface/Source/Networking/GameClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -832,8 +832,8 @@ public IEnumerable<object> EndGame(string endMessage)
}

public bool HasPermission(ClientPermissions permission)
{
return permissions.HasFlag(permission);
{
return false;// permissions.HasFlag(permission);
}

public override void Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch)
Expand Down
21 changes: 21 additions & 0 deletions Subsurface/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
---------------------------------------------------------------------------------------------------------
v0.5.1.0
---------------------------------------------------------------------------------------------------------

- getting attacked by a husk will slowly turn the victim into a husk

- spam filter
- added server options to the ingame HUD
- fixed tiger thresher spawning on Linux
- a more secure password authentication method (again)
- ingame players can't receive messages from lobby players anymore
- more server-side security checks

- medical doctors always have a high enough medical skill to fabricate any drug
- ai-controlled crew can be spawned using the console in multiplayer
- it's possible to manually attack when controlling a creature
- randomly spawned artifacts are spread out better throughout the level
- characters won't let go of a person they're dragging when entering/exiting the sub
- respawned players get the same ID card tags they would've gotten if they had spawned inside the main sub
- highlighted characters glow in the dark

---------------------------------------------------------------------------------------------------------
v0.5.0.3
---------------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit a0a5e2d

Please sign in to comment.