Module_main_menu_LGSG_CheckingSlot.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. using Microsoft.Xna.Framework;
  2. using Microsoft.Xna.Framework.Graphics;
  3. using Microsoft.Xna.Framework.Input;
  4. using System;
  5. using System.Collections.Generic;
  6. namespace FF8
  7. {
  8. public static partial class Module_main_menu_debug
  9. {
  10. private static void DrawLGCheckSlot() => DrawLGSGCheckSlot(strLoadScreen[Litems.Load].Text);
  11. private static void DrawSGCheckSlot() => DrawLGSGCheckSlot(strLoadScreen[Litems.Save].Text);
  12. private static void DrawLGSGCheckSlot(FF8String topright)
  13. {
  14. DrawLGSGHeader(strLoadScreen[Litems.GameFolderSlot1 + SlotLoc].Text, topright, strLoadScreen[Litems.CheckGameFolder].Text);
  15. DrawLGSGLoadBar();
  16. }
  17. private static void UpdateLGCheckSlot()
  18. {
  19. if (PercentLoaded < 1.0f)
  20. {
  21. PercentLoaded += Memory.gameTime.ElapsedGameTime.Milliseconds / 1000.0f * 3;
  22. }
  23. else
  24. {
  25. State = MainMenuStates.LoadGameChooseGame;
  26. Memory.SuppressDraw = true;
  27. init_debugger_Audio.PlaySound(35);
  28. }
  29. }
  30. private static void UpdateSGCheckSlot() => throw new NotImplementedException();
  31. }
  32. }