mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 23:08:05 -05:00
IW4 dump simple menu file fields
This commit is contained in:
23
src/ObjWriting/Menu/MenuDumper.h
Normal file
23
src/ObjWriting/Menu/MenuDumper.h
Normal file
@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <ostream>
|
||||
|
||||
class MenuDumper
|
||||
{
|
||||
protected:
|
||||
std::ostream& m_stream;
|
||||
size_t m_indent;
|
||||
|
||||
void IncIndent();
|
||||
void DecIndent();
|
||||
void Indent() const;
|
||||
|
||||
public:
|
||||
explicit MenuDumper(std::ostream& stream);
|
||||
|
||||
void Start();
|
||||
void End();
|
||||
|
||||
void IncludeMenu(const std::string& menuPath) const;
|
||||
};
|
Reference in New Issue
Block a user