Magazine.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System.Collections.Generic;
  2. namespace OpenVIII
  3. {
  4. public sealed partial class Magazine : SP2
  5. {
  6. #region Constructors
  7. /// <summary>
  8. /// Contains Magazines and parts of tutorials; some tutorial images are in Icons.
  9. /// </summary>
  10. /// TODO test this.
  11. public Magazine() { }
  12. #endregion Constructors
  13. #region Methods
  14. public static Magazine Load() => Load<Magazine>();
  15. protected override void DefaultValues()
  16. {
  17. base.DefaultValues();
  18. Props = new List<TexProps>()
  19. {
  20. new TexProps{Filename = "mag{0:00}.tex",Count =20 },
  21. new TexProps{Filename="magita.TEX",Count =1},
  22. };
  23. TextureStartOffset = 0;
  24. IndexFilename = "";
  25. EntriesPerTexture = -1;
  26. }
  27. /// <summary>
  28. /// not used in magzine there is no sp2 file.
  29. /// </summary>
  30. /// <param name="aw"></param>
  31. protected override void InitEntries(ArchiveBase aw = null) { }
  32. #endregion Methods
  33. }
  34. }