Rev | Line | |
---|
[331] | 1 | using UnityEngine;
|
---|
| 2 |
|
---|
[391] | 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;
|
---|
[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.