NANCY: Move debug channels in detection.h to avoid pulling whole nancy.h

This one includes C++11 constructs which are not accepted by older
compilers
This commit is contained in:
Le Philousophe 2021-05-22 13:42:55 +02:00
parent d52c918bbc
commit 42e45f6769
3 changed files with 6 additions and 7 deletions

View File

@ -23,7 +23,6 @@
#include "common/config-manager.h"
#include "engines/nancy/detection.h"
#include "engines/nancy/nancy.h"
//#include "engines/nancy/dialogs.h"
const char *const directoryGlobs[] = {

View File

@ -44,6 +44,12 @@ struct NancyGameDescription {
GameType gameType;
};
enum NancyDebugChannels {
kDebugEngine = 1 << 0,
kDebugActionRecord = 1 << 1,
kDebugScene = 1 << 2
};
} // End of namespace Nancy
#endif // NANCY_DETECTION_H

View File

@ -55,12 +55,6 @@ namespace Nancy {
static const int kSavegameVersion = 1;
enum NancyDebugChannels {
kDebugEngine = 1 << 0,
kDebugActionRecord = 1 << 1,
kDebugScene = 1 << 2
};
struct NancyGameDescription;
class ResourceManager;