mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-14 23:15:27 +08:00
Collisions editing progress
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -648,6 +648,11 @@ namespace CodeWalker.GameFiles
|
||||
this.Unknown_140h_Pointer // offset
|
||||
);
|
||||
|
||||
if (Bound != null)
|
||||
{
|
||||
Bound.Owner = this;
|
||||
}
|
||||
|
||||
if (Unknown_70h?.data_items?.Length > 0)
|
||||
{ }
|
||||
if (Unknown_80h?.data_items?.Length > 0)
|
||||
@@ -1132,6 +1137,11 @@ namespace CodeWalker.GameFiles
|
||||
this.BoundPointer // offset
|
||||
);
|
||||
|
||||
if (Bound != null)
|
||||
{
|
||||
Bound.Owner = this;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -2768,6 +2768,12 @@ namespace CodeWalker.GameFiles
|
||||
this.Bound = reader.ReadBlockAt<Bounds>(
|
||||
this.BoundPointer // offset
|
||||
);
|
||||
|
||||
if (Bound != null)
|
||||
{
|
||||
Bound.Owner = this;
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception ex) //sometimes error here for loading particles! different drawable type? base only?
|
||||
{
|
||||
|
||||
@@ -453,6 +453,11 @@ namespace CodeWalker.GameFiles
|
||||
FragMatrices = reader.ReadStructsAt<Matrix>(FragMatricesPointer, FragMatricesCount);
|
||||
Name = reader.ReadStringAt(NamePointer);
|
||||
|
||||
if (Bound != null)
|
||||
{
|
||||
Bound.Owner = this;
|
||||
}
|
||||
|
||||
if ((Count3 != Count4)&&(Count4!=1)&&(Count3!=0))
|
||||
{ }
|
||||
if (FragMatricesInds != null)
|
||||
@@ -1272,6 +1277,11 @@ namespace CodeWalker.GameFiles
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (Bound != null)
|
||||
{
|
||||
Bound.Owner = this;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -2123,6 +2133,11 @@ namespace CodeWalker.GameFiles
|
||||
this.Bound = reader.ReadBlockAt<Bounds>(
|
||||
this.BoundPointer // offset
|
||||
);
|
||||
|
||||
if (Bound != null)
|
||||
{
|
||||
Bound.Owner = this;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -828,7 +828,7 @@ namespace CodeWalker.GameFiles
|
||||
public uint EntriesCapacity { get; private set; }
|
||||
|
||||
// reference data
|
||||
public T[] data_items { get; private set; }
|
||||
public T[] data_items { get; set; }
|
||||
|
||||
private ResourceSystemStructBlock<T> data_block;//used for saving.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user