]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/mapq3/parse.h
reformat code! now the code is only ugly on the *inside*
[xonotic/netradiant.git] / plugins / mapq3 / parse.h
index 1523c6ad2b4bef64fbdab11165aa6299184d3d54..50424f2eba278db7aaf4b70f495834a347bbf0b9 100644 (file)
 #include "imap.h"
 
 class BrushCreator;
+
 class PatchCreator;
 
-class PrimitiveParser
-{
+class PrimitiveParser {
 public:
-virtual scene::Node& parsePrimitive( Tokeniser& tokeniser ) const = 0;
+    virtual scene::Node &parsePrimitive(Tokeniser &tokeniser) const = 0;
 };
 
-void Map_Read( scene::Node& root, Tokeniser& tokeniser, EntityCreator& entityTable, const PrimitiveParser& parser );
+void Map_Read(scene::Node &root, Tokeniser &tokeniser, EntityCreator &entityTable, const PrimitiveParser &parser);
 
-namespace scene
-{
-class Node;
+namespace scene {
+    class Node;
 }
 
 #include "generic/referencecounted.h"
+
 typedef SmartReference<scene::Node, IncRefDecRefCounter<scene::Node> > NodeSmartReference;
 
 extern NodeSmartReference g_nullNode;