You've already forked PrimeRemasterStructs
mirror of
https://github.com/PrimeDecomp/PrimeRemasterStructs.git
synced 2026-07-12 18:18:58 -07:00
More CCharInfo progress, almost done with animations
This commit is contained in:
+61
-1
@@ -158,7 +158,63 @@ struct SBaseInfo {
|
||||
uint16 unk2;
|
||||
ubyte unk3;
|
||||
ubyte unk4;
|
||||
|
||||
if (unk4) {
|
||||
ubyte unk5;
|
||||
}
|
||||
ubyte unk6;
|
||||
if (unk6) {
|
||||
ubyte unk7;
|
||||
}
|
||||
CPooledName pooledName;
|
||||
};
|
||||
|
||||
struct CAnimCompStream {
|
||||
uint32 unk1;
|
||||
uint16 unk2;
|
||||
uint16 unk3;
|
||||
uint32 unk4;
|
||||
float unk5;
|
||||
uint16 unk6;
|
||||
uint32 unk7;
|
||||
uint16 unk8;
|
||||
char data[unk1 - unk2];
|
||||
};
|
||||
|
||||
struct CAnimSequence {
|
||||
uint32 unk1;
|
||||
uint32 unk2;
|
||||
ubyte unk3;
|
||||
ubyte unk4;
|
||||
struct {
|
||||
ubyte unk1;
|
||||
ubyte unk2;
|
||||
ubyte unk3;
|
||||
ushort unk4;
|
||||
uint unk5;
|
||||
} unk5[unk1];
|
||||
if (unk2) {
|
||||
char unk6[unk2];
|
||||
}
|
||||
float unk7;
|
||||
};
|
||||
|
||||
struct CAnimGrid {
|
||||
|
||||
};
|
||||
|
||||
struct CAnim {
|
||||
SBaseInfo baseInfo;
|
||||
switch(baseInfo.type) {
|
||||
case 0:
|
||||
CAnimCompStream anim;
|
||||
break;
|
||||
case 1:
|
||||
CAnimSequence anim;
|
||||
break;
|
||||
case 2:
|
||||
CAnimGrid anim;
|
||||
break;
|
||||
}
|
||||
};
|
||||
|
||||
struct CCharInfo
|
||||
@@ -218,6 +274,10 @@ struct CCharInfo
|
||||
if (unk6 != 0) {
|
||||
|
||||
}
|
||||
|
||||
if (unk6) {
|
||||
CAnim anims[unk6] <optimize = false>;
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user