mapeditor changes

This commit is contained in:
niczkx
2012-07-14 16:20:38 -07:00
parent 8f492f7e06
commit 992cbf9d1d
20 changed files with 461 additions and 260 deletions

View File

@@ -59,6 +59,8 @@ public:
void addU32(uint32 v);
void addU64(uint64 v);
void addString(const std::string& v);
void startNode(uint8 nodeType) { addU8(0xFE); addU8(nodeType); }
void endNode() { addU8(0xFF); }
FileStreamPtr asFileStream() { return std::static_pointer_cast<FileStream>(shared_from_this()); }