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
18 #define __DEBUG_VL__
\r
23 extern boolean dbg_debugmm;
\r
26 //#define __DEBUG_PM_MAIN__
\r
27 extern boolean dbg_debugpm;
\r
30 extern boolean dbg_debugca;
\r
32 #ifdef __DEBUG_InputMgr__
\r
33 extern boolean dbg_testkeyin,dbg_testcontrolnoisy,dbg_nointest;
\r
35 #ifdef __DEBUG_MAP__
\r
36 extern boolean dbg_maptext;
\r
37 extern byte *dbg_mapdata;
\r
40 extern boolean dbg_pagenorendermap,dbg_pagedelayrendermap;
\r
42 #ifdef __DEBUG_SPRI__
\r
43 extern boolean dbg_delayanimation;
\r
55 # include <hw/8250/8250.h>
\r
57 void _DEBUGF(const char *fmt,...);
\r
58 void _DEBUG(const char *msg);
\r
61 static inline void _DEBUGF(const char *fmt,...) {
\r
64 static inline void _DEBUG(const char *msg) {
\r
68 static inline int _DEBUG_INIT() {
\r
75 void ShapeTest_(global_game_variables_t *gvar);
\r
78 spv_t ShowPalVarSync (spv_t *spv);
\r
79 void ShowPalVal (global_game_variables_t *gvar);
\r
83 #endif // _SRC_LIB_16_DBG
\r