Ignore:
Timestamp:
Sep 10, 2014, 8:09:28 PM (10 years ago)
Author:
alloc
Message:

fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/7dtd-server-fixes/src/MapRendering/Constants.cs

    r144 r187  
    33namespace AllocsFixes.MapRendering
    44{
    5         public static class Constants
     5        public class Constants
    66        {
    7                 public const int MAP_BLOCK_SIZE = 128;
    8                 public const int MAP_CHUNK_SIZE = 16;
    9                 public const int 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 const int 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;
    1313                public static string MAP_DIRECTORY = string.Empty;
    1414        }
Note: See TracChangeset for help on using the changeset viewer.