]> git.mxchange.org Git - simgear.git/blob - Debug/debug_types.h
Cygnus tools compatibility tweaks.
[simgear.git] / 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_SERIAL    = 0x00001000,
20     FG_UNDEFD    = 0x00002000, // For range checking
21
22     FG_ALL     = 0xFFFFFFFF
23 } fgDebugClass;
24
25
26 // NB: To add a priority, add it here.
27 typedef enum {
28     FG_BULK,        // For frequent messages
29     FG_DEBUG,       // Less frequent debug type messages
30     FG_INFO,        // Informatory messages
31     FG_WARN,        // Possible impending problem
32     FG_ALERT       // Very possible impending problem
33     // FG_EXIT,        // Problem (no core)
34     // FG_ABORT        // Abandon ship (core)
35 } fgDebugPriority;
36