| Line |  | 
|---|
| 1 | using UnityEngine; | 
|---|
| 2 |  | 
|---|
| 3 | namespace 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; | 
|---|
| 11 |  | 
|---|
| 12 | public static int MAP_BLOCK_TO_CHUNK_DIV => MapBlockSize / MapChunkSize; | 
|---|
| 13 |  | 
|---|
| 14 | public static int MAP_REGION_TO_CHUNK_DIV => MapRegionSize / MapChunkSize; | 
|---|
| 15 | } | 
|---|
| 16 | } | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.