2014-12-20 15:05:34 +01:00
|
|
|
namespace Rw {
|
|
|
|
|
|
|
|
struct PS2InstanceData
|
|
|
|
{
|
|
|
|
uint32 noRefChain;
|
|
|
|
uint32 dataSize;
|
|
|
|
uint8 *data;
|
|
|
|
Material *material;
|
2014-12-20 18:13:45 +01:00
|
|
|
};
|
2014-12-20 15:05:34 +01:00
|
|
|
|
|
|
|
struct PS2InstanceDataHeader : InstanceDataHeader
|
|
|
|
{
|
|
|
|
uint32 numMeshes;
|
|
|
|
PS2InstanceData *instanceMeshes;
|
|
|
|
};
|
|
|
|
|
2014-12-20 20:18:41 +01:00
|
|
|
void *DestroyNativeDataPS2(void *object, int32, int32);
|
2014-12-27 23:18:10 +01:00
|
|
|
void ReadNativeDataPS2(Stream *stream, int32 len, void *object, int32, int32);
|
|
|
|
void WriteNativeDataPS2(Stream *stream, int32 len, void *object, int32, int32);
|
2014-12-20 18:13:45 +01:00
|
|
|
int32 GetSizeNativeDataPS2(void *object, int32, int32);
|
|
|
|
|
2014-12-20 15:05:34 +01:00
|
|
|
}
|