Fix broken things

This commit is contained in:
LolHacksRule
2023-02-20 12:11:22 -08:00
parent 56d502fac2
commit ba808b63c2
5 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -66,4 +66,4 @@ struct FCharInf
};
#endif// _CCHARINFO
#endif// _CCHARINFO
+2 -2
View File
@@ -110,7 +110,7 @@ typedef struct CCollisionTree(uint64 size, CollisionPrimitiveType type) {
}
if (idx == 0) {
local int i = 0;
//Hack, do this so DCLN doesn't break the printouts
//Hack, do this so DCLN doesn't break the printouts, seems to work on MP1R DCLN but haven't tested CLSN
local int vertChunk = 0;
local int triangleChunk = 2;
local int materialChunk = 1;
@@ -173,4 +173,4 @@ typedef struct CCollisionTree(uint64 size, CollisionPrimitiveType type) {
++idx;
} CCollisionTree;
#endif // _CAABOXCOLLISIONTREE
#endif // _CAABOXCOLLISIONTREE
+1 -1
View File
@@ -43,7 +43,7 @@ string AssetDirectoryEntryName(AssetDirectoryEntry& entry)
{
if (isDKCTF) {
// Read the chunk ver and subver from form descriptor
return Str("%s v%d.%d %s", entry.type, entry.data.form.readerVersion, entry.data.form.writerVersion, GUIDToString(entry.id));
return Str("%s v%d.%d %s", entry.type, entry.data.form.readerVersion, entry.data.form.writerVersion, GUIDToString(entry.id)); //Fix broken DKCTF version display
} else {
return Str("%s v%d.%d %s", entry.type, entry.versionA, entry.versionB, GUIDToString(entry.id));
}
+2 -2
View File
@@ -5,9 +5,9 @@
typedef struct CReflectionProbeData {
ChunkDescriptor chunkHeader;
uint unk1;
uint unused;
GUID textureId;
float unk2;
float intensity;
} CReflectionProbeData;
#endif// _CREFLECTIONPROBE
+1
View File
@@ -127,6 +127,7 @@ enum<uint32> EMaterialDataId {
DATA_ID_RAIN = 113,
DATA_ID_XCH0 = 114,
DATA_ID_XCH1 = 115,
DATA_ID_BLND = 116, //Maybe move this idk
};
// NMaterialFeatures::is_debug_material_data_id