GUIStyle improvements & some simple UI graphics, networking bugfixes, separate Random class, some StyleCop cleanup

This commit is contained in:
Regalis
2015-07-02 22:24:50 +03:00
parent b493ed2b39
commit d836a99515
119 changed files with 8842 additions and 1277 deletions
+4 -4
View File
@@ -5,16 +5,16 @@ namespace Subsurface.Lights
{
class LightManager
{
public static Vector2 viewPos;
public static Vector2 ViewPos;
public static bool fowEnabled = true;
public static bool FowEnabled = true;
public static void DrawFow(GraphicsDevice graphics, Camera cam)
{
if (!fowEnabled) return;
if (!FowEnabled) return;
foreach (ConvexHull convexHull in ConvexHull.list)
{
convexHull.DrawShadows(graphics, cam, viewPos);
convexHull.DrawShadows(graphics, cam, ViewPos);
}
}
}