public GalacticMapping()
        {
            galacticMapTypes = GalMapType.GetTypes();          // we always have the types.

            int sel = EliteDangerousCore.DB.UserDatabase.Instance.GetSettingInt("GalObjectsEnable", int.MaxValue);

            foreach (GalMapType tp in galacticMapTypes)
            {
                tp.Enabled = (sel & 1) != 0;
                sel      >>= 1;
            }
        }
예제 #2
0
        public GalacticMapping()
        {
            galacticMapTypes = GalMapType.GetTypes();          // we always have the types.

            int sel = SQLiteDBClass.GetSettingInt("GalObjectsEnable", int.MaxValue);

            foreach (GalMapType tp in galacticMapTypes)
            {
                tp.Enabled = (sel & 1) != 0;
                sel      >>= 1;
            }
        }
 public GalacticMapping()
 {
     galacticMapTypes = GalMapType.GetTypes();          // we always have the types.
 }