somewhat unclean code, sorry... but it allows opening brushPrimitives maps in nonBrushPrimitives mode (experimental) by temp toggling to the correct mode

This commit is contained in:
Rudolf Polzer
2010-10-10 10:47:16 +02:00
parent 652a2d36fb
commit 2b0a97c814
5 changed files with 30 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ class MapFormat
public:
INTEGER_CONSTANT(Version, 2);
STRING_CONSTANT(Name, "map");
mutable bool wrongFormat;
/// \brief Read a map graph into \p root from \p outputStream, using \p entityTable to create entities.
virtual void readGraph(scene::Node& root, TextInputStream& inputStream, EntityCreator& entityTable) const = 0;