source: binary-improvements2/MapRendering/src/Constants.cs@ 405

Last change on this file since 405 was 391, checked in by alloc, 2 years ago

Major refactoring/cleanup

File size: 526 bytes
RevLine 
[331]1using UnityEngine;
2
[391]3namespace MapRendering {
4 public static class Constants {
5 public static readonly TextureFormat DefaultTextureFormat = TextureFormat.ARGB32;
6 public static int MapBlockSize = 128;
7 public const int MapChunkSize = 16;
8 public const int MapRegionSize = 512;
9 public static int Zoomlevels = 5;
10 public static string MapDirectory = string.Empty;
[325]11
[391]12 public static int MAP_BLOCK_TO_CHUNK_DIV => MapBlockSize / MapChunkSize;
[325]13
[391]14 public static int MAP_REGION_TO_CHUNK_DIV => MapRegionSize / MapChunkSize;
[224]15 }
[325]16}
Note: See TracBrowser for help on using the repository browser.