15 typedef std::vector< ref_ptr<XFileDataObject> > XFileDataObject_list_type;
17 std::string m_sTemplateName;
19 std::vector<char> m_buffer;
20 XFileDataObject_list_type m_children;
24 void Init(
XFileParser& parser,
const std::string& objectname);
29 const std::string& GetType();
30 const std::string& GetName();
33 bool Lock(DWORD* dwSize,
const char** pBuffer);
36 inline char* GetBuffer() {
return (
char*)(&m_buffer[0]); };
37 void ResizeBuffer(uint32 nSize);
68 inline size_t GetSize() {
return m_buffer.size(); };
73 void WriteParaXHeader(ofstream& strm,
XFileExporter& exporter);
75 void WriteXDWORDArray(ofstream& strm,
XFileExporter& exporter);
78 void WriteXAttachments(ofstream& strm,
XFileExporter& exporter);
79 void WriteXTransparency(ofstream& strm,
XFileExporter& exporter);
83 void WriteXRenderPass(ofstream& strm,
XFileExporter& exporter);
86 void WriteXParticleEmitters(ofstream& strm,
XFileExporter& exporter);
87 void WriteXRibbonEmitters(ofstream& strm,
XFileExporter& exporter);
91 void WriteXAnimations(ofstream& strm,
XFileExporter& exporter);
different physics engine has different winding order.
Definition: EventBinding.h:32
bool Lock(DWORD *dwSize, const char **pBuffer)
get buffer for reading
Definition: XFileDataObject.cpp:228
The XFileParser reads a XFile either in text or binary form and builds a temporary data structure out...
Definition: XFileParser.h:19
data object in binary format
Definition: XFileDataObject.h:10
Definition: XFileExporter.h:18
Definition: XFileCharModelExporter.h:116
Definition: modelheaders.h:186
bool ReadParaXBody(XFileParser &parser)
read all sub data
Definition: XFileDataObject.cpp:158