SAGA: Move some shared defines between engine/game detection to a new header

This commit is contained in:
aryanrawlani28 2020-08-07 04:53:22 +05:30 committed by Eugene Sandulenko
parent 30794432ab
commit a4739197da
3 changed files with 34 additions and 6 deletions

View File

@ -22,6 +22,10 @@
// Game detection information and MD5s
// From sage/scene.h, these are some defines that also
// help with detection.
#include "saga/shared_detection_defines.h"
namespace Saga {
static const GameResourceDescription ITE_Resources = {

View File

@ -31,6 +31,9 @@
#include "saga/puzzle.h"
#include "saga/events.h"
// Some defines used for detection.
#include "saga/shared_detection_defines.h"
namespace Saga {
//#define SCENE_DEBUG // for scene debugging
@ -45,12 +48,6 @@ namespace Saga {
#define ITE_SCENE_ENDCREDIT1 295
#define ITE_SCENE_OVERMAP 226
// Default scenes
#define ITE_DEFAULT_SCENE 32
#define IHNM_DEFAULT_SCENE 151
#define ITEDEMO_DEFAULT_SCENE 68
#define IHNMDEMO_DEFAULT_SCENE 144
class ObjectMap;
enum SceneFlags {

View File

@ -0,0 +1,27 @@
/* 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.
*
*/
// Default scenes
#define ITE_DEFAULT_SCENE 32
#define IHNM_DEFAULT_SCENE 151
#define ITEDEMO_DEFAULT_SCENE 68
#define IHNMDEMO_DEFAULT_SCENE 144