Beispiel #1
0
 public static void Init(GameTypes gameType, string interroot)
 {
     GameType      = gameType;
     InterrootPath = interroot;
     if (gameType != lastGameType)
     {
         ParamManager.LoadParamBND(forceReload: false);
         FmgManager.LoadAllFMG(forceReload: false);
         LoadSystex();
     }
     lastGameType = GameType;
 }
 public static void Init(GameTypes gameType, string interroot, bool forceReload = false)
 {
     GameType      = gameType;
     InterrootPath = interroot;
     if (gameType != lastGameType || forceReload)
     {
         ParamManager.LoadParamBND(forceReload);
         FmgManager.LoadAllFMG(forceReload);
         LoadSystex();
         LoadMTDBND();
         FmodManager.Purge();
         //FmodManager.UpdateInterrootForFile(null);
         FmodManager.LoadFloorMaterialNamesFromInterroot();
     }
     lastGameType = GameType;
 }
Beispiel #3
0
 public static void ReloadFmgs()
 {
     FmgManager.LoadAllFMG(forceReload: true);
 }