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 extern boolean dbg_debugpm;
\r
28 extern boolean dbg_debugca;
\r
30 #ifdef __DEBUG_InputMgr__
\r
31 extern boolean dbg_testkeyin,dbg_testcontrolnoisy,dbg_nointest;
\r
33 #ifdef __DEBUG_MAP__
\r
34 extern boolean dbg_maptext;
\r
35 extern byte *dbg_mapdata;
\r
38 extern boolean dbg_pagenorendermap,dbg_pagedelayrendermap;
\r
40 #ifdef __DEBUG_SPRI__
\r
41 extern boolean dbg_delayanimation;
\r
47 # include <hw/8250/8250.h>
\r
49 void _DEBUGF(const char *fmt,...);
\r
50 void _DEBUG(const char *msg);
\r
53 static inline void _DEBUGF(const char *fmt,...) {
\r
56 static inline void _DEBUG(const char *msg) {
\r
60 static inline int _DEBUG_INIT() {
\r
67 void ShapeTest (global_game_variables_t *gvar);
\r
69 #endif // _SRC_LIB_16_DBG
\r