Moved all GameFiles to CodeWalker.Core

This commit is contained in:
dexyfex
2018-02-25 00:59:00 +11:00
Unverified
parent 375db771ee
commit cbd242b8cc
86 changed files with 1194 additions and 1085 deletions
+5 -2
View File
@@ -27,7 +27,7 @@ namespace CodeWalker.Rendering
public ShaderManager shaders;
public Camera camera = new Camera();
public Camera camera;
private double currentRealTime = 0;
private float currentElapsedTime = 0;
@@ -154,9 +154,12 @@ namespace CodeWalker.Rendering
gameFileCache = cache;
if (gameFileCache == null)
{
gameFileCache = new GameFileCache();
gameFileCache = GameFileCacheFactory.Create();
}
renderableCache = new RenderableCache();
var s = Settings.Default;
camera = new Camera(s.CameraSmoothing, s.CameraSensitivity, s.CameraFieldOfView);
}