mirror of
https://gitlab.com/Syroot/Worms.git
synced 2025-01-13 15:27:59 +03:00
Fix layout of ST1 files.
This commit is contained in:
parent
21b48ad76b
commit
ec3e79f8e1
@ -61,38 +61,6 @@ namespace Syroot.Worms.Gen2.Worms2
|
||||
/// </summary>
|
||||
public string Worm8Name;
|
||||
|
||||
/// <summary>
|
||||
/// The number of games lost.
|
||||
/// </summary>
|
||||
public int GamesLost;
|
||||
|
||||
/// <summary>
|
||||
/// The number of games won.
|
||||
/// </summary>
|
||||
public int GamesWon;
|
||||
|
||||
/// <summary>
|
||||
/// The number of opponent worms killed by this team.
|
||||
/// </summary>
|
||||
public int WormsKilled;
|
||||
|
||||
/// <summary>
|
||||
/// The number of worms which got killed in this team.
|
||||
/// </summary>
|
||||
public int WormsLost;
|
||||
|
||||
/// <summary>
|
||||
/// The AI intelligence, from 0-64, where 0 is human-controlled.
|
||||
/// </summary>
|
||||
public int CpuLevel;
|
||||
|
||||
public int KillsKilled;
|
||||
|
||||
/// <summary>
|
||||
/// The number of games played, always being 0 for AI controlled teams.
|
||||
/// </summary>
|
||||
public int GamesPlayed;
|
||||
|
||||
public int Unknown2;
|
||||
public int Unknown3;
|
||||
public int Unknown4;
|
||||
@ -114,26 +82,52 @@ namespace Syroot.Worms.Gen2.Worms2
|
||||
public int Unknown20;
|
||||
public int Unknown21;
|
||||
public int Unknown22;
|
||||
|
||||
/// <summary>
|
||||
/// The number of hits goaled by this team.
|
||||
/// </summary>
|
||||
public int Hits;
|
||||
|
||||
/// <summary>
|
||||
/// The number of hits by others on this team.
|
||||
/// </summary>
|
||||
public int HitsByOthers;
|
||||
|
||||
public int Unknown23;
|
||||
public int Unknown24;
|
||||
public int Unknown25;
|
||||
|
||||
/// <summary>
|
||||
/// The number of games lost.
|
||||
/// </summary>
|
||||
public int GamesLost;
|
||||
|
||||
/// <summary>
|
||||
/// The number of games won.
|
||||
/// </summary>
|
||||
public int GamesWon;
|
||||
|
||||
public int Unknown26;
|
||||
|
||||
public int Difference;
|
||||
|
||||
public int Unknown27;
|
||||
|
||||
/// <summary>
|
||||
/// The number of opponent worms killed by this team.
|
||||
/// </summary>
|
||||
public int WormsKilled;
|
||||
|
||||
/// <summary>
|
||||
/// The number of worms which got killed in this team.
|
||||
/// </summary>
|
||||
public int WormsLost;
|
||||
|
||||
/// <summary>
|
||||
/// The AI intelligence difficulty level, from 0-100, where 0 is human-controlled.
|
||||
/// </summary>
|
||||
public int CpuLevel;
|
||||
|
||||
public int Unknown28;
|
||||
public int Unknown29;
|
||||
public int Unknown30;
|
||||
|
||||
/// <summary>
|
||||
/// The "difference" statistics value.
|
||||
/// </summary>
|
||||
public int Difference;
|
||||
|
||||
/// <summary>
|
||||
/// The number of games played, always being 0 for AI controlled teams.
|
||||
/// </summary>
|
||||
public int GamesPlayed;
|
||||
|
||||
/// <summary>
|
||||
/// The points gained by this team.
|
||||
/// </summary>
|
||||
|
@ -80,13 +80,6 @@ namespace Syroot.Worms.Gen2.Worms2
|
||||
Worm6Name = ReadFixedString(reader, 20),
|
||||
Worm7Name = ReadFixedString(reader, 20),
|
||||
Worm8Name = ReadFixedString(reader, 20),
|
||||
GamesLost = reader.ReadInt32(),
|
||||
GamesWon = reader.ReadInt32(),
|
||||
WormsKilled = reader.ReadInt32(),
|
||||
WormsLost = reader.ReadInt32(),
|
||||
CpuLevel = reader.ReadInt32(),
|
||||
KillsKilled = reader.ReadInt32(),
|
||||
GamesPlayed = reader.ReadInt32(),
|
||||
Unknown2 = reader.ReadInt32(),
|
||||
Unknown3 = reader.ReadInt32(),
|
||||
Unknown4 = reader.ReadInt32(),
|
||||
@ -108,15 +101,22 @@ namespace Syroot.Worms.Gen2.Worms2
|
||||
Unknown20 = reader.ReadInt32(),
|
||||
Unknown21 = reader.ReadInt32(),
|
||||
Unknown22 = reader.ReadInt32(),
|
||||
Hits = reader.ReadInt32(),
|
||||
HitsByOthers = reader.ReadInt32(),
|
||||
Unknown23 = reader.ReadInt32(),
|
||||
Unknown24 = reader.ReadInt32(),
|
||||
Unknown25 = reader.ReadInt32(),
|
||||
GamesLost = reader.ReadInt32(),
|
||||
GamesWon = reader.ReadInt32(),
|
||||
Unknown26 = reader.ReadInt32(),
|
||||
Difference = reader.ReadInt32(),
|
||||
Unknown27 = reader.ReadInt32(),
|
||||
Points = reader.ReadInt32()
|
||||
WormsKilled = reader.ReadInt32(),
|
||||
WormsLost = reader.ReadInt32(),
|
||||
CpuLevel = reader.ReadInt32(),
|
||||
Unknown28 = reader.ReadInt32(),
|
||||
Unknown29 = reader.ReadInt32(),
|
||||
Unknown30 = reader.ReadInt32(),
|
||||
Difference = reader.ReadInt32(),
|
||||
GamesPlayed = reader.ReadInt32(),
|
||||
Points = reader.ReadInt32(),
|
||||
});
|
||||
}
|
||||
}
|
||||
@ -155,13 +155,6 @@ namespace Syroot.Worms.Gen2.Worms2
|
||||
WriteFixedString(writer, team.Worm6Name, 20);
|
||||
WriteFixedString(writer, team.Worm7Name, 20);
|
||||
WriteFixedString(writer, team.Worm8Name, 20);
|
||||
writer.Write(team.GamesLost);
|
||||
writer.Write(team.GamesWon);
|
||||
writer.Write(team.WormsKilled);
|
||||
writer.Write(team.WormsLost);
|
||||
writer.Write(team.CpuLevel);
|
||||
writer.Write(team.KillsKilled);
|
||||
writer.Write(team.GamesPlayed);
|
||||
writer.Write(team.Unknown2);
|
||||
writer.Write(team.Unknown3);
|
||||
writer.Write(team.Unknown4);
|
||||
@ -183,14 +176,23 @@ namespace Syroot.Worms.Gen2.Worms2
|
||||
writer.Write(team.Unknown20);
|
||||
writer.Write(team.Unknown21);
|
||||
writer.Write(team.Unknown22);
|
||||
writer.Write(team.Hits);
|
||||
writer.Write(team.HitsByOthers);
|
||||
writer.Write(team.Unknown23);
|
||||
writer.Write(team.Unknown24);
|
||||
writer.Write(team.Unknown25);
|
||||
writer.Write(team.GamesLost);
|
||||
writer.Write(team.GamesWon);
|
||||
writer.Write(team.Unknown26);
|
||||
writer.Write(team.Difference);
|
||||
writer.Write(team.Unknown27);
|
||||
writer.Write(team.WormsKilled);
|
||||
writer.Write(team.WormsLost);
|
||||
writer.Write(team.CpuLevel);
|
||||
writer.Write(team.Unknown28);
|
||||
writer.Write(team.Unknown29);
|
||||
writer.Write(team.Unknown30);
|
||||
writer.Write(team.WormsKilled);
|
||||
writer.Write(team.WormsLost);
|
||||
writer.Write(team.Difference);
|
||||
writer.Write(team.GamesPlayed);
|
||||
writer.Write(team.Points);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user