]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/camera/renderer.h
Revert partially (auto) "reformat code! now the code is only ugly on the *inside*"
[xonotic/netradiant.git] / contrib / camera / renderer.h
index 059ad6045cb98b9dcccfb159f06317323ecff6c0..b84680ba7a6d79e0fe038ae4edebdc97900890e1 100644 (file)
 
 class CRenderer : public IGL2DWindow, public IGL3DWindow {
 public:
-    CRenderer();
-
-    virtual ~CRenderer();
+CRenderer();
+virtual ~CRenderer();
 
 protected:
-    int refCount;
+int refCount;
 
 public:
-    void Register();
-
-    void UnRegister();
-
-    void Initialize();
-
-    void Draw2D(VIEWTYPE vt);
-
-    void Draw3D();
-
-    void IncRef()
-    { refCount++; }
-
-    void DecRef()
-    {
-        refCount--;
-        if (refCount <= 0) {
-            delete this;
-        }
-    }
-
-    bool m_bHooked;
+void Register();
+void UnRegister();
+void Initialize();
+void Draw2D( VIEWTYPE vt );
+void Draw3D();
+
+void IncRef() { refCount++; }
+void DecRef() {
+       refCount--; if ( refCount <= 0 ) {
+               delete this;
+       }
+}
+
+bool m_bHooked;
 };