2014-12-20 14:05:34 +00:00
|
|
|
namespace Rw {
|
|
|
|
|
|
|
|
struct PS2InstanceData
|
|
|
|
{
|
|
|
|
uint32 noRefChain;
|
|
|
|
uint32 dataSize;
|
|
|
|
uint8 *data;
|
|
|
|
Material *material;
|
2014-12-20 17:13:45 +00:00
|
|
|
};
|
2014-12-20 14:05:34 +00:00
|
|
|
|
|
|
|
struct PS2InstanceDataHeader : InstanceDataHeader
|
|
|
|
{
|
|
|
|
uint32 numMeshes;
|
|
|
|
PS2InstanceData *instanceMeshes;
|
|
|
|
};
|
|
|
|
|
2014-12-20 19:18:41 +00:00
|
|
|
void *DestroyNativeDataPS2(void *object, int32, int32);
|
2014-12-20 17:13:45 +00:00
|
|
|
void ReadNativeDataPS2(std::istream &stream, int32 len, void *object, int32, int32);
|
|
|
|
void WriteNativeDataPS2(std::ostream &stream, int32 len, void *object, int32, int32);
|
|
|
|
int32 GetSizeNativeDataPS2(void *object, int32, int32);
|
|
|
|
|
2014-12-20 14:05:34 +00:00
|
|
|
}
|