- Timestamp:
- Sep 10, 2014, 8:09:28 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/MapRendering/Constants.cs
r144 r187 3 3 namespace AllocsFixes.MapRendering 4 4 { 5 public staticclass Constants5 public class Constants 6 6 { 7 public constint MAP_BLOCK_SIZE = 128;8 public constint MAP_CHUNK_SIZE = 16;9 public constint MAP_REGION_SIZE = 512;10 public const int MAP_BLOCK_TO_CHUNK_DIV = MAP_BLOCK_SIZE / MAP_CHUNK_SIZE;11 public const int MAP_REGION_TO_CHUNK_DIV = MAP_REGION_SIZE / MAP_CHUNK_SIZE;12 public constint ZOOMLEVELS = 5;7 public static int MAP_BLOCK_SIZE = 128; 8 public static int MAP_CHUNK_SIZE = 16; 9 public static int MAP_REGION_SIZE = 512; 10 public static int MAP_BLOCK_TO_CHUNK_DIV { get { return MAP_BLOCK_SIZE / MAP_CHUNK_SIZE; } } 11 public static int MAP_REGION_TO_CHUNK_DIV { get { return MAP_REGION_SIZE / MAP_CHUNK_SIZE; } } 12 public static int ZOOMLEVELS = 5; 13 13 public static string MAP_DIRECTORY = string.Empty; 14 14 }
Note:
See TracChangeset
for help on using the changeset viewer.