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
12 //#define __DEBUG_InputMgr__
\r
13 #define __DEBUG_MAP__
\r
14 //#define __DEBUG_2__
\r
15 //#define __DEBUG_CA__
\r
16 //#define __DEBUG_PM__
\r
17 //#define __DEBUG_MM__
\r
18 //#define __DEBUG_RF__
\r
19 #define __DEBUG_SPRI__
\r
20 #define __DEBUG_VL__
\r
26 extern boolean dbg_debugmm;
\r
29 //#define __DEBUG_PM_MAIN__
\r
30 extern boolean dbg_debugpm;
\r
33 extern boolean dbg_debugca;
\r
35 #ifdef __DEBUG_InputMgr__
\r
36 extern boolean dbg_testkeyin,dbg_testcontrolnoisy,dbg_nointest;
\r
38 #ifdef __DEBUG_MAP__
\r
39 extern boolean dbg_maptext;
\r
40 extern byte *dbg_mapdata;
\r
43 extern boolean dbg_pagenorendermap,dbg_pagedelayrendermap;
\r
45 #ifdef __DEBUG_SPRI__
\r
46 extern boolean dbg_delayanimation;
\r
58 # include <hw/8250/8250.h>
\r
60 void _DEBUGF(const char *fmt,...);
\r
61 void _DEBUG(const char *msg);
\r
64 static inline void _DEBUGF(const char *fmt,...) {
\r
67 static inline void _DEBUG(const char *msg) {
\r
71 static inline int _DEBUG_INIT() {
\r
78 void ShapeTest_(global_game_variables_t *gvar);
\r
81 spv_t ShowPalVarSync (spv_t *spv);
\r
82 void ShowPalVal (global_game_variables_t *gvar);
\r
86 #endif // _SRC_LIB_16_DBG
\r