2 #ifndef _SRC_LIB_16_DBG
\r
3 #define _SRC_LIB_16_DBG
\r
5 #include "src/lib/16_head.h"
\r
6 #include "src/lib/16_pm.h"
\r
7 #include "src/lib/16_tdef.h"
\r
10 #define __DEBUG_InputMgr__
\r
11 #define __DEBUG_MAP__
\r
12 //#define __DEBUG_CA__
\r
13 //#define __DEBUG_PM__
\r
14 //#define __DEBUG_MM__
\r
19 extern boolean dbg_debugmm;
\r
22 extern boolean dbg_debugpm;
\r
25 extern boolean dbg_debugca;
\r
27 #ifdef __DEBUG_InputMgr__
\r
28 extern boolean dbg_testkeyin,dbg_testcontrolnoisy,dbg_nointest;
\r
30 #ifdef __DEBUG_MAP__
\r
31 extern boolean dbg_maptext;
\r
32 extern byte *dbg_mapdata;
\r
38 # include <hw/8250/8250.h>
\r
40 void _DEBUGF(const char *fmt,...);
\r
41 void _DEBUG(const char *msg);
\r
44 static inline void _DEBUGF(const char *fmt,...) {
\r
47 static inline void _DEBUG(const char *msg) {
\r
51 static inline int _DEBUG_INIT() {
\r
58 void ShapeTest (global_game_variables_t *gvar);
\r
60 #endif // _SRC_LIB_16_DBG
\r