Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Phys File Type, Added more M2 chunks (some unfinished), changed some smaller things #11

Merged
merged 17 commits into from
Sep 22, 2024

Conversation

gul4sch
Copy link
Contributor

@gul4sch gul4sch commented Aug 10, 2024

No description provided.

Warcraft.NET/Files/phys/Physics.cs Outdated Show resolved Hide resolved
Warcraft.NET/Files/phys/Physics.cs Outdated Show resolved Hide resolved
Warcraft.NET/Files/phys/Entries/SHP2Entry.cs Outdated Show resolved Hide resolved
Warcraft.NET/Files/phys/Entries/SHP2Entry.cs Outdated Show resolved Hide resolved
Warcraft.NET/Files/phys/Entries/SHP2Entry.cs Outdated Show resolved Hide resolved
Warcraft.NET/Files/phys/Entries/SHJ2Entry.cs Outdated Show resolved Hide resolved
Warcraft.NET/Files/phys/Entries/SHOJEntry.cs Outdated Show resolved Hide resolved
Warcraft.NET/Files/phys/Entries/SHP2Entry.cs Outdated Show resolved Hide resolved
Warcraft.NET/Files/phys/Entries/SPHJEntry.cs Outdated Show resolved Hide resolved
Warcraft.NET/Files/phys/Entries/WLJ3Entry.cs Outdated Show resolved Hide resolved
@@ -0,0 +1,54 @@
using System;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove Mat3x4 because we now have a Matrix3x4 class

{
public enum BodyType : ushort
{
root = 0,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All keys in a Enum need to be started with a upper letter

{
public enum JointType : ushort
{
sphericalJoint = 0,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All keys in a Enum need to be started with a upper letter

{
public enum ShapeType : short
{
box = 0,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All keys in a Enum need to be started with a upper letter

bw.Write((uint)PLYTEntries.Count);
foreach (PLYTEntry obj in PLYTEntries)
{
Console.WriteLine("Writing Plyt Header Length: " + obj.SerializeHeader().Length);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove Console.WriteLine the lib dont write anything into the console

/// <summary>
/// Holds the binary chunk signature.
/// </summary>
public const string Signature = "EXP2";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong Signature need to be EXPT

/// </summary>
public byte[] Unk0;

public bool Wotlk = false;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implement versioning via one file per version and inheritance, maybe check how WDL is versioned.

Copy link
Member

@Luzifix Luzifix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Luzifix Luzifix merged commit ade199a into ModernWoWTools:master Sep 22, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants