Esempio n. 1
0
        public static void reloadLevelParamsData()
        {
            LevelData.LoadOffsetsFromConfig();
            DoorData.LoadOffsetsFromConfig();

            levelData.Clear();
            doorsData.Clear();
            for (int i = 0; i < levelsCount; i++)
            {
                levelData.Add(LevelData.readFromFile(Globals.romdata, i));
            }
            for (int i = 0; i < doorsCount; i++)
            {
                doorsData.Add(DoorData.readFromFile(Globals.romdata, i));
            }
        }
Esempio n. 2
0
 private void loadLevelData()
 {
     LevelData.LoadOffsetsFromConfig();
     DoorData.LoadOffsetsFromConfig();
     GlobalsCad.reloadLevelParamsData();
 }