TONY: Match consistency with other engines & move enums to new header.
This commit is contained in:
parent
f3b9477893
commit
274b8a51a1
4 changed files with 41 additions and 4 deletions
|
@ -25,6 +25,7 @@
|
||||||
#include "engines/advancedDetector.h"
|
#include "engines/advancedDetector.h"
|
||||||
|
|
||||||
#include "tony/detection/detection.h"
|
#include "tony/detection/detection.h"
|
||||||
|
#include "tony/detection/detection_enums.h"
|
||||||
|
|
||||||
static const PlainGameDescriptor tonyGames[] = {
|
static const PlainGameDescriptor tonyGames[] = {
|
||||||
{"tony", "Tony Tough and the Night of Roasted Moths"},
|
{"tony", "Tony Tough and the Night of Roasted Moths"},
|
||||||
|
|
|
@ -20,14 +20,15 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Tony {
|
#ifndef TONY_DETECTION_H
|
||||||
|
#define TONY_DETECTION_H
|
||||||
|
|
||||||
enum {
|
namespace Tony {
|
||||||
GF_COMPRESSED = (1 << 0)
|
|
||||||
};
|
|
||||||
|
|
||||||
struct TonyGameDescription {
|
struct TonyGameDescription {
|
||||||
ADGameDescription desc;
|
ADGameDescription desc;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // End of namespace Tony
|
} // End of namespace Tony
|
||||||
|
|
||||||
|
#endif // TONY_DETECTION_H
|
||||||
|
|
34
engines/tony/detection/detection_enums.h
Normal file
34
engines/tony/detection/detection_enums.h
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
/* 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.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef TONY_DETECTION_ENUMS_H
|
||||||
|
#define TONY_DETECTION_ENUMS_H
|
||||||
|
|
||||||
|
namespace Tony {
|
||||||
|
|
||||||
|
enum {
|
||||||
|
GF_COMPRESSED = (1 << 0)
|
||||||
|
};
|
||||||
|
|
||||||
|
} // End of namespace Tony
|
||||||
|
|
||||||
|
#endif // TONY_DETECTION_ENUMS_H
|
|
@ -30,6 +30,7 @@
|
||||||
#include "tony/tony.h"
|
#include "tony/tony.h"
|
||||||
#include "tony/game.h"
|
#include "tony/game.h"
|
||||||
#include "tony/detection/detection.h"
|
#include "tony/detection/detection.h"
|
||||||
|
#include "tony/detection/detection_enums.h"
|
||||||
|
|
||||||
namespace Tony {
|
namespace Tony {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue