source: TFP-WebServer/MapRendering/src/Constants.cs@ 442

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

Major refactoring/cleanup

File size: 526 bytes
Line 
1using UnityEngine;
2
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;
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.