(KiriKiri): SenrenCxCrypt moved to YuzCrypt.

This commit is contained in:
morkt
2018-04-03 02:00:26 +04:00
parent 927d335a61
commit b1e59f6b0d
2 changed files with 53 additions and 48 deletions

View File

@@ -1035,12 +1035,20 @@ namespace GameRes.Formats.KiriKiri
}
[Serializable]
public class SenrenCxCrypt : CxEncryption
public class NanaCxCrypt : CxEncryption
{
uint m_random_seed;
public string FileMapName { get; set; }
public SenrenCxCrypt (CxScheme scheme) : base (scheme)
public NanaCxCrypt (CxScheme scheme, uint seed) : base (scheme)
{
m_random_seed = seed;
}
internal override CxProgram NewProgram (uint seed)
{
return new CxProgramNana (seed, m_random_seed, ControlBlock);
}
public override string ReadName (BinaryReader header)
@@ -1088,22 +1096,6 @@ namespace GameRes.Formats.KiriKiri
Dictionary<string, string> KnownNames = null;
}
[Serializable]
public class NanaCxCrypt : SenrenCxCrypt
{
uint m_random_seed;
public NanaCxCrypt (CxScheme scheme, uint seed) : base (scheme)
{
m_random_seed = seed;
}
internal override CxProgram NewProgram (uint seed)
{
return new CxProgramNana (seed, m_random_seed, ControlBlock);
}
}
[Serializable]
public class KissCrypt : CzCrypt
{