1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-15 15:02:34 +02:00
openrw/framework/rwbinarystream.h
2013-06-30 00:05:04 +01:00

36 lines
597 B
C++

#ifndef _RWBINARYSTREAM_H_
#define _RWBINARYSTREAM_H_
#include "gtfwpre.h"
/**
* @file rwbinarystream.h
* Contains the structs for the shared Render Ware binary stream data.
* Many thanks to http://www.gtamodding.com/index.php?title=RenderWare_binary_stream_file
*/
namespace RW
{
enum {
SID_Struct = 0x0001,
SID_String = 0x0002,
SID_Extension = 0x0003,
SID_Clump = 0x0010
};
struct BSSectionHeader
{
uint32_t id;
uint32_t size;
uint32_t versionid;
};
struct BSClump
{
uint32_t numatomics;
uint32_t numlights;
uint32_t numcameras;
};
};
#endif