- Timestamp:
- Sep 22, 2014, 11:15:14 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/MapRendering/MapRendering.cs
r192 r199 29 29 public static bool renderingEnabled = true; 30 30 private MicroStopwatch msw = new MicroStopwatch (); 31 private AllocsFixes.FileCache.MapTileCache cache = new AllocsFixes.FileCache.MapTileCache (); 32 33 public AllocsFixes.FileCache.MapTileCache TileCache { 34 get { return cache; } 35 } 31 36 32 37 private MapRendering () … … 39 44 } 40 45 46 cache.SetZoomCount (Constants.ZOOMLEVELS); 47 41 48 zoomLevelBuffers = new MapRenderBlockBuffer[Constants.ZOOMLEVELS]; 42 49 for (int i = 0; i < Constants.ZOOMLEVELS; i++) { 43 zoomLevelBuffers [i] = new MapRenderBlockBuffer (i );50 zoomLevelBuffers [i] = new MapRenderBlockBuffer (i, cache); 44 51 } 45 52
Note:
See TracChangeset
for help on using the changeset viewer.