mirror of
https://github.com/aap/librw.git
synced 2024-11-25 13:15:43 +00:00
fixed some structures
This commit is contained in:
parent
39ff5b6288
commit
aed3fefd01
@ -169,13 +169,13 @@ struct RslMaterialList {
|
||||
|
||||
struct RslGeometry {
|
||||
RslObject object;
|
||||
uint16 locked; // ?
|
||||
int16 refCount; // ?
|
||||
int16 refCount;
|
||||
int16 pad1;
|
||||
|
||||
RslMaterialList matList;
|
||||
|
||||
RslSkin *skin;
|
||||
uint32 pad; // 0xAAAAAAAA
|
||||
uint32 pad2; // 0xAAAAAAAA
|
||||
};
|
||||
|
||||
struct RslMatFXEnv {
|
||||
@ -194,8 +194,7 @@ struct RslMatFX {
|
||||
struct RslMaterial {
|
||||
char *texname;
|
||||
uint32 color;
|
||||
uint16 refCount;
|
||||
uint16 pad;
|
||||
uint32 refCount;
|
||||
RslMatFX *matfx;
|
||||
};
|
||||
|
||||
|
@ -64,14 +64,14 @@ RslGeometryForAllMaterials(RslGeometry *geometry, RslMaterialCallBack fpCallBack
|
||||
|
||||
RslFrame *dumpFrameCB(RslFrame *frame, void *data)
|
||||
{
|
||||
printf(" frm: %x %s %x\n", frame->nodeId, frame->name, frame->unk3);
|
||||
printf(" frm: %x %s %x\n", frame->nodeId, frame->name, frame->hierId);
|
||||
RslFrameForAllChildren(frame, dumpFrameCB, data);
|
||||
return frame;
|
||||
}
|
||||
|
||||
RslMaterial *dumpMaterialCB(RslMaterial *material, void*)
|
||||
{
|
||||
printf(" mat: %s %x %x\n", material->texname, material->pad, material->refCount);
|
||||
printf(" mat: %s %x\n", material->texname, material->refCount);
|
||||
if(material->matfx){
|
||||
RslMatFX *fx = material->matfx;
|
||||
printf(" matfx: ", fx->effectType);
|
||||
|
Loading…
Reference in New Issue
Block a user