added some thread safty ... much more still needed
[physics.git] / src / debug.h
index 1fb0131..c9c5e7a 100644 (file)
 #ifndef DEBUG_H
 #define DEBUG_H
 
+#include <iostream>
+using std::cout;
+using std::cerr;
+using std::endl;
+
 void DPF(int level, const char* pstr);
 
+namespace debug
+{
+    void init();
+    void clean();
+}
+
 // comment out when not debugging
 #define DEBUGGING
 
@@ -27,7 +38,7 @@ void DPF(int level, const char* pstr);
 #define WARNINGS
 
 // comment out to prevent FPS and UPS printing
-//#define FPSUPS
+#define FPSUPS
 
 
 #endif // DEBUG_H