ACCESS: Move common enum to detection_enums.h

This commit is contained in:
aryanrawlani28 2020-08-04 22:31:39 +05:30 committed by Eugene Sandulenko
parent 4ef8eab545
commit 48751160f9
2 changed files with 35 additions and 6 deletions

View File

@ -30,8 +30,11 @@
#include "common/savefile.h"
#include "common/serializer.h"
#include "common/util.h"
#include "engines/engine.h"
#include "graphics/surface.h"
#include "access/animation.h"
#include "access/bubble_box.h"
#include "access/char.h"
@ -47,6 +50,7 @@
#include "access/scripts.h"
#include "access/sound.h"
#include "access/video.h"
#include "access/detection_enums.h"
/**
* This is the namespace of the Access engine.
@ -58,12 +62,6 @@
*/
namespace Access {
enum {
GType_Amazon = 1,
GType_MartianMemorandum = 2,
GType_Noctropolis = 3
};
enum AccessDebugChannels {
kDebugPath = 1 << 0,
kDebugScripts = 1 << 1,

View File

@ -0,0 +1,31 @@
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
namespace Access {
enum {
GType_Amazon = 1,
GType_MartianMemorandum = 2,
GType_Noctropolis = 3
};
} // End of namespace Access