-
-#ifndef _SRC_LIB_16_DBG
-#define _SRC_LIB_16_DBG
-
-# ifdef DEBUGSERIAL
-# include <hw/8250/8250.h>
-
-void _DEBUGF(const char *fmt,...);
-void _DEBUG(const char *msg);
-int _DEBUG_INIT();
-# else
-static inline void _DEBUGF(const char *fmt,...) {
- // NOTHING
-}
-static inline void _DEBUG(const char *msg) {
- // NOTHING
-}
-
-static inline int _DEBUG_INIT() {
- // NOTHING
- return -1;
-}
-# endif
-#endif // _SRC_LIB_16_DBG
-
+\r
+#ifndef _SRC_LIB_16_DBG\r
+#define _SRC_LIB_16_DBG\r
+\r
+#include "src/lib/16_head.h"\r
+#include "src/lib/16_tdef.h"\r
+\r
+#define __DEBUG__\r
+#define __DEBUG_InputMgr__\r
+#define __DEBUG_MAP__\r
+//#define __DEBUG_PM__\r
+//#define __DEBUG_MM__\r
+\r
+\r
+#ifdef __DEBUG__\r
+#ifdef __DEBUG_PM__\r
+extern boolean dbg_debugpm;\r
+#endif\r
+#ifdef __DEBUG_InputMgr__\r
+extern boolean dbg_testkeyin,dbg_testcontrolnoisy,dbg_nointest;\r
+#endif\r
+#ifdef __DEBUG_MAP__\r
+extern boolean dbg_maptext;\r
+extern byte *dbg_mapdata;\r
+#endif\r
+#endif\r
+\r
+# ifdef DEBUGSERIAL\r
+# include <hw/8250/8250.h>\r
+\r
+void _DEBUGF(const char *fmt,...);\r
+void _DEBUG(const char *msg);\r
+int _DEBUG_INIT();\r
+# else\r
+static inline void _DEBUGF(const char *fmt,...) {\r
+ // NOTHING\r
+}\r
+static inline void _DEBUG(const char *msg) {\r
+ // NOTHING\r
+}\r
+\r
+static inline int _DEBUG_INIT() {\r
+ // NOTHING\r
+ return -1;\r
+}\r
+# endif\r
+#endif // _SRC_LIB_16_DBG\r
+\r