2014-12-20 15:05:34 +01:00
|
|
|
namespace Rw {
|
2014-12-30 17:39:39 +01:00
|
|
|
namespace Ps2 {
|
2014-12-20 15:05:34 +01:00
|
|
|
|
2014-12-30 17:39:39 +01:00
|
|
|
struct InstanceData
|
2014-12-20 15:05:34 +01:00
|
|
|
{
|
|
|
|
uint32 noRefChain;
|
|
|
|
uint32 dataSize;
|
|
|
|
uint8 *data;
|
|
|
|
Material *material;
|
2014-12-20 18:13:45 +01:00
|
|
|
};
|
2014-12-20 15:05:34 +01:00
|
|
|
|
2014-12-30 17:39:39 +01:00
|
|
|
struct InstanceDataHeader : Rw::InstanceDataHeader
|
2014-12-20 15:05:34 +01:00
|
|
|
{
|
|
|
|
uint32 numMeshes;
|
2014-12-30 17:39:39 +01:00
|
|
|
InstanceData *instanceMeshes;
|
2014-12-20 15:05:34 +01:00
|
|
|
};
|
|
|
|
|
2014-12-30 17:39:39 +01:00
|
|
|
void *DestroyNativeData(void *object, int32, int32);
|
|
|
|
void ReadNativeData(Stream *stream, int32 len, void *object, int32, int32);
|
|
|
|
void WriteNativeData(Stream *stream, int32 len, void *object, int32, int32);
|
|
|
|
int32 GetSizeNativeData(void *object, int32, int32);
|
|
|
|
void registerNativeDataPlugin(void);
|
2014-12-20 18:13:45 +01:00
|
|
|
|
2014-12-20 15:05:34 +01:00
|
|
|
}
|
2014-12-30 17:39:39 +01:00
|
|
|
}
|