]> git.mxchange.org Git - simgear.git/blob - simgear/debug/debug_types.h
#includes based off of srcdir rather than builddir.
[simgear.git] / simgear / debug / debug_types.h
1 // NB: To add a dbg_class, add it here, and add it to the structure in
2 // fg_debug.c
3
4 typedef enum {
5     FG_NONE      = 0x00000000,
6
7     FG_TERRAIN   = 0x00000001,
8     FG_ASTRO     = 0x00000002,
9     FG_FLIGHT    = 0x00000004,
10     FG_INPUT     = 0x00000008,
11     FG_GL        = 0x00000010,
12     FG_VIEW      = 0x00000020,
13     FG_COCKPIT   = 0x00000040,
14     FG_GENERAL   = 0x00000080,
15     FG_MATH      = 0x00000100,
16     FG_EVENT     = 0x00000200,
17     FG_AIRCRAFT  = 0x00000400,
18     FG_AUTOPILOT = 0x00000800,
19     FG_IO        = 0x00001000,
20     FG_CLIPPER   = 0x00002000,
21     FG_NETWORK   = 0x00004000,
22     FG_UNDEFD    = 0x00008000, // For range checking
23
24     FG_ALL     = 0xFFFFFFFF
25 } fgDebugClass;
26
27
28 // NB: To add a priority, add it here.
29 typedef enum {
30     FG_BULK,        // For frequent messages
31     FG_DEBUG,       // Less frequent debug type messages
32     FG_INFO,        // Informatory messages
33     FG_WARN,        // Possible impending problem
34     FG_ALERT       // Very possible impending problem
35     // FG_EXIT,        // Problem (no core)
36     // FG_ABORT        // Abandon ship (core)
37 } fgDebugPriority;
38