forked from usineur/hode
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathutil.h
More file actions
32 lines (25 loc) · 628 Bytes
/
util.h
File metadata and controls
32 lines (25 loc) · 628 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
* Heart of Darkness engine rewrite
* Copyright (C) 2009-2011 Gregory Montoir (cyx@users.sourceforge.net)
*/
#ifndef UTIL_H__
#define UTIL_H__
#include "intern.h"
enum {
kDebug_GAME = 1 << 0,
kDebug_RESOURCE = 1 << 1,
kDebug_ANDY = 1 << 2,
kDebug_SOUND = 1 << 3,
kDebug_PAF = 1 << 4,
kDebug_MONSTER = 1 << 5,
kDebug_SWITCHES = 1 << 6, // 'lar1' and 'lar2' levels
kDebug_MENU = 1 << 7
};
extern int g_debugMask;
void debug(int mask, const char *msg, ...);
void error(const char *msg, ...);
void warning(const char *msg, ...);
#ifdef NDEBUG
#define debug(x, ...)
#endif
#endif // UTIL_H__