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_2__
\r
13 //#define __DEBUG_CA__
\r
14 //#define __DEBUG_PM__
\r
15 //#define __DEBUG_MM__
\r
16 //#define __DEBUG_RF__
\r
17 #define __DEBUG_SPRI__
\r
22 extern boolean dbg_debugmm;
\r
25 //#define __DEBUG_PM_MAIN__
\r
26 extern boolean dbg_debugpm;
\r
29 extern boolean dbg_debugca;
\r
31 #ifdef __DEBUG_InputMgr__
\r
32 extern boolean dbg_testkeyin,dbg_testcontrolnoisy,dbg_nointest;
\r
34 #ifdef __DEBUG_MAP__
\r
35 extern boolean dbg_maptext;
\r
36 extern byte *dbg_mapdata;
\r
39 extern boolean dbg_pagenorendermap,dbg_pagedelayrendermap;
\r
41 #ifdef __DEBUG_SPRI__
\r
42 extern boolean dbg_delayanimation;
\r
48 # include <hw/8250/8250.h>
\r
50 void _DEBUGF(const char *fmt,...);
\r
51 void _DEBUG(const char *msg);
\r
54 static inline void _DEBUGF(const char *fmt,...) {
\r
57 static inline void _DEBUG(const char *msg) {
\r
61 static inline int _DEBUG_INIT() {
\r
68 void ShapeTest_(global_game_variables_t *gvar);
\r
70 #endif // _SRC_LIB_16_DBG
\r