mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 23:08:05 -05:00
Declare BrushWrapper as todo
This commit is contained in:
@ -65,6 +65,12 @@ void MapFileDumper::Init() const
|
||||
m_stream << "\"The Map\" flags\n";
|
||||
}
|
||||
|
||||
void MapFileDumper::WriteComment(const std::string& key) const
|
||||
{
|
||||
Indent();
|
||||
m_stream << "// " << key << "\n";
|
||||
}
|
||||
|
||||
void MapFileDumper::BeginEntity()
|
||||
{
|
||||
assert(!m_flags.m_in_entity);
|
||||
|
@ -58,6 +58,7 @@ public:
|
||||
explicit MapFileDumper(std::ostream& stream);
|
||||
|
||||
void Init() const;
|
||||
void WriteComment(const std::string& key) const;
|
||||
|
||||
void BeginEntity();
|
||||
void EndEntity();
|
||||
|
@ -47,6 +47,8 @@ void AssetDumperPhysCollmap::DumpAsset(AssetDumpingContext& context, XAssetInfo<
|
||||
switch (geom.type)
|
||||
{
|
||||
case PHYS_GEOM_NONE:
|
||||
// TODO: Dump BrushWrapper (probably GJK related)
|
||||
mapFileDumper.WriteComment("TODO: Brush data");
|
||||
break;
|
||||
case PHYS_GEOM_BOX:
|
||||
mapFileDumper.WritePhysicsBox({
|
||||
@ -73,6 +75,7 @@ void AssetDumperPhysCollmap::DumpAsset(AssetDumpingContext& context, XAssetInfo<
|
||||
case PHYS_GEOM_CAPSULE:
|
||||
case PHYS_GEOM_GLASS:
|
||||
default:
|
||||
// These do not seem to appear inside any collmap assets
|
||||
assert(false);
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user