Added an entry for AUTOPILOT.
This commit is contained in:
parent
2df317eb49
commit
b26263c62d
2 changed files with 33 additions and 28 deletions
Debug
|
@ -59,21 +59,22 @@ static struct {
|
||||||
char *str;
|
char *str;
|
||||||
fgDebugClass dbg_class;
|
fgDebugClass dbg_class;
|
||||||
} fg_DebugClasses[] = {
|
} fg_DebugClasses[] = {
|
||||||
{ "FG_NONE", 0x00000000 },
|
{ "FG_NONE", 0x00000000 },
|
||||||
{ "FG_TERRAIN", 0x00000001 },
|
{ "FG_TERRAIN", 0x00000001 },
|
||||||
{ "FG_ASTRO", 0x00000002 },
|
{ "FG_ASTRO", 0x00000002 },
|
||||||
{ "FG_FLIGHT", 0x00000004 },
|
{ "FG_FLIGHT", 0x00000004 },
|
||||||
{ "FG_INPUT", 0x00000008 },
|
{ "FG_INPUT", 0x00000008 },
|
||||||
{ "FG_GL", 0x00000010 },
|
{ "FG_GL", 0x00000010 },
|
||||||
{ "FG_VIEW", 0x00000020 },
|
{ "FG_VIEW", 0x00000020 },
|
||||||
{ "FG_COCKPIT", 0x00000040 },
|
{ "FG_COCKPIT", 0x00000040 },
|
||||||
{ "FG_GENERAL", 0x00000080 },
|
{ "FG_GENERAL", 0x00000080 },
|
||||||
{ "FG_MATH", 0x00000100 },
|
{ "FG_MATH", 0x00000100 },
|
||||||
{ "FG_EVENT", 0x00000200 },
|
{ "FG_EVENT", 0x00000200 },
|
||||||
{ "FG_AIRCRAFT",0x00000400 },
|
{ "FG_AIRCRAFT", 0x00000400 },
|
||||||
|
{ "FG_AUTOPILOT", 0x00000800 },
|
||||||
|
|
||||||
/* Do not edit below here, last entry should be null */
|
/* Do not edit below here, last entry should be null */
|
||||||
{ "FG_ALL", 0xFFFFFFFF },
|
{ "FG_ALL", 0xFFFFFFFF },
|
||||||
{ NULL, 0 }
|
{ NULL, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -272,9 +273,12 @@ int fgPrintf( fgDebugClass dbg_class, fgDebugPriority prio, char *fmt, ... ) {
|
||||||
|
|
||||||
|
|
||||||
/* $Log$
|
/* $Log$
|
||||||
/* Revision 1.2 1998/04/21 17:03:45 curt
|
/* Revision 1.3 1998/05/07 23:03:54 curt
|
||||||
/* Prepairing for C++ integration.
|
/* Added an entry for AUTOPILOT.
|
||||||
/*
|
/*
|
||||||
|
* Revision 1.2 1998/04/21 17:03:45 curt
|
||||||
|
* Prepairing for C++ integration.
|
||||||
|
*
|
||||||
* Revision 1.1 1998/04/18 03:52:04 curt
|
* Revision 1.1 1998/04/18 03:52:04 curt
|
||||||
* Moved to Lib directory and created a libDebug.
|
* Moved to Lib directory and created a libDebug.
|
||||||
*
|
*
|
||||||
|
|
|
@ -38,20 +38,21 @@ extern "C" {
|
||||||
/* NB: To add a dbg_class, add it here, and add it to the structure in
|
/* NB: To add a dbg_class, add it here, and add it to the structure in
|
||||||
fg_debug.c */
|
fg_debug.c */
|
||||||
typedef enum {
|
typedef enum {
|
||||||
FG_NONE = 0x00000000,
|
FG_NONE = 0x00000000,
|
||||||
|
|
||||||
FG_TERRAIN = 0x00000001,
|
FG_TERRAIN = 0x00000001,
|
||||||
FG_ASTRO = 0x00000002,
|
FG_ASTRO = 0x00000002,
|
||||||
FG_FLIGHT = 0x00000004,
|
FG_FLIGHT = 0x00000004,
|
||||||
FG_INPUT = 0x00000008,
|
FG_INPUT = 0x00000008,
|
||||||
FG_GL = 0x00000010,
|
FG_GL = 0x00000010,
|
||||||
FG_VIEW = 0x00000020,
|
FG_VIEW = 0x00000020,
|
||||||
FG_COCKPIT = 0x00000040,
|
FG_COCKPIT = 0x00000040,
|
||||||
FG_GENERAL = 0x00000080,
|
FG_GENERAL = 0x00000080,
|
||||||
FG_MATH = 0x00000100,
|
FG_MATH = 0x00000100,
|
||||||
FG_EVENT = 0x00000200,
|
FG_EVENT = 0x00000200,
|
||||||
FG_AIRCRAFT= 0x00000400,
|
FG_AIRCRAFT = 0x00000400,
|
||||||
FG_UNDEFD = 0x00001000, // For range checking
|
FG_AUTOPILOT = 0x00000800,
|
||||||
|
FG_UNDEFD = 0x00001000, // For range checking
|
||||||
|
|
||||||
FG_ALL = 0xFFFFFFFF
|
FG_ALL = 0xFFFFFFFF
|
||||||
} fgDebugClass;
|
} fgDebugClass;
|
||||||
|
|
Loading…
Add table
Reference in a new issue