fixed bug in make file wrt INCDIRS
[physics.git] / src / debug.h
index d639b8e..6085003 100644 (file)
 #define DEBUG_H
 
 #include <iostream>
-using std::cerr;
 using std::cout;
+using std::cerr;
 using std::endl;
 
+void DPF(int level, const char* pstr);
 
-// comment out when not debugging
-#define DEBUGGING
+namespace debug
+{
+    void init();
+    void clean();
+}
 
-// comment out to suppress warnings
-#define WARNINGS
+void DASSERT(bool fBreak);
 
-// comment out to prevent FPS and UPS printing
-#define FPSUPS
+// comment out when not debugging
+#define DEBUGGING
 
 
 #endif // DEBUG_H