librw/src/rwps2.h

23 lines
501 B
C
Raw Normal View History

2014-12-20 15:05:34 +01:00
namespace Rw {
struct PS2InstanceData
{
uint32 noRefChain;
uint32 dataSize;
uint8 *data;
Material *material;
};
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);
void ReadNativeDataPS2(Stream *stream, int32 len, void *object, int32, int32);
void WriteNativeDataPS2(Stream *stream, int32 len, void *object, int32, int32);
int32 GetSizeNativeDataPS2(void *object, int32, int32);
2014-12-20 15:05:34 +01:00
}