ADL: Add skeleton for hires4
This commit is contained in:
parent
92cea7ab35
commit
c1671b5d32
5 changed files with 117 additions and 0 deletions
|
@ -76,6 +76,7 @@ static const PlainGameDescriptor adlGames[] = {
|
|||
{ "hires0", "Hi-Res Adventure #0: Mission Asteroid" },
|
||||
{ "hires1", "Hi-Res Adventure #1: Mystery House" },
|
||||
{ "hires2", "Hi-Res Adventure #2: Wizard and the Princess" },
|
||||
{ "hires4", "Hi-Res Adventure #4: Ulysses and the Golden Fleece" },
|
||||
{ "hires6", "Hi-Res Adventure #6: The Dark Crystal" },
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
@ -139,6 +140,21 @@ static const AdlGameDescription gameDescriptions[] = {
|
|||
},
|
||||
GAME_TYPE_HIRES0
|
||||
},
|
||||
{ // Hi-Res Adventure #4: Ulysses and the Golden Fleece - Atari 8-bit - Re-release
|
||||
{
|
||||
"hires4", 0,
|
||||
{
|
||||
{ "ULYS1A.XFD", 0, "26365d2b06509fd21e7a7919e33f7199", 92160 },
|
||||
// FIXME: Add sides 1B and 2C
|
||||
AD_LISTEND
|
||||
},
|
||||
Common::EN_ANY,
|
||||
Common::kPlatformAtariST, // FIXME
|
||||
ADGF_UNSTABLE,
|
||||
GUIO2(GAMEOPTION_COLOR_DEFAULT_ON, GAMEOPTION_SCANLINES)
|
||||
},
|
||||
GAME_TYPE_HIRES4
|
||||
},
|
||||
{ // Hi-Res Adventure #6: The Dark Crystal - Apple II - Roberta Williams Anthology
|
||||
{
|
||||
"hires6", 0,
|
||||
|
@ -297,6 +313,7 @@ void AdlMetaEngine::removeSaveState(const char *target, int slot) const {
|
|||
Engine *HiRes1Engine_create(OSystem *syst, const AdlGameDescription *gd);
|
||||
Engine *HiRes2Engine_create(OSystem *syst, const AdlGameDescription *gd);
|
||||
Engine *HiRes0Engine_create(OSystem *syst, const AdlGameDescription *gd);
|
||||
Engine *HiRes4Engine_create(OSystem *syst, const AdlGameDescription *gd);
|
||||
Engine *HiRes6Engine_create(OSystem *syst, const AdlGameDescription *gd);
|
||||
|
||||
bool AdlMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGameDescription *gd) const {
|
||||
|
@ -315,6 +332,9 @@ bool AdlMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGameD
|
|||
case GAME_TYPE_HIRES0:
|
||||
*engine = HiRes0Engine_create(syst, adlGd);
|
||||
break;
|
||||
case GAME_TYPE_HIRES4:
|
||||
*engine = HiRes4Engine_create(syst, adlGd);
|
||||
break;
|
||||
case GAME_TYPE_HIRES6:
|
||||
*engine = HiRes6Engine_create(syst, adlGd);
|
||||
break;
|
||||
|
|
|
@ -35,6 +35,7 @@ enum GameType {
|
|||
GAME_TYPE_HIRES0,
|
||||
GAME_TYPE_HIRES1,
|
||||
GAME_TYPE_HIRES2,
|
||||
GAME_TYPE_HIRES4,
|
||||
GAME_TYPE_HIRES6
|
||||
};
|
||||
|
||||
|
|
50
engines/adl/hires4.cpp
Normal file
50
engines/adl/hires4.cpp
Normal file
|
@ -0,0 +1,50 @@
|
|||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "common/system.h"
|
||||
#include "common/debug.h"
|
||||
#include "common/error.h"
|
||||
#include "common/file.h"
|
||||
#include "common/stream.h"
|
||||
|
||||
#include "adl/hires4.h"
|
||||
#include "adl/display.h"
|
||||
#include "adl/graphics.h"
|
||||
#include "adl/disk.h"
|
||||
|
||||
namespace Adl {
|
||||
|
||||
void HiRes4Engine::runIntro() const {
|
||||
}
|
||||
|
||||
void HiRes4Engine::init() {
|
||||
_graphics = new Graphics_v2(*_display);
|
||||
}
|
||||
|
||||
void HiRes4Engine::initGameState() {
|
||||
}
|
||||
|
||||
Engine *HiRes4Engine_create(OSystem *syst, const AdlGameDescription *gd) {
|
||||
return new HiRes4Engine(syst, gd);
|
||||
}
|
||||
|
||||
} // End of namespace Adl
|
45
engines/adl/hires4.h
Normal file
45
engines/adl/hires4.h
Normal file
|
@ -0,0 +1,45 @@
|
|||
/* 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 ADL_HIRES4_H
|
||||
#define ADL_HIRES4_H
|
||||
|
||||
#include "common/str.h"
|
||||
|
||||
#include "adl/adl_v3.h"
|
||||
|
||||
namespace Adl {
|
||||
|
||||
class HiRes4Engine : public AdlEngine_v3 {
|
||||
public:
|
||||
HiRes4Engine(OSystem *syst, const AdlGameDescription *gd) : AdlEngine_v3(syst, gd) { }
|
||||
|
||||
private:
|
||||
// AdlEngine
|
||||
void runIntro() const;
|
||||
void init();
|
||||
void initGameState();
|
||||
};
|
||||
|
||||
} // End of namespace Adl
|
||||
|
||||
#endif
|
|
@ -15,6 +15,7 @@ MODULE_OBJS := \
|
|||
hires0.o \
|
||||
hires1.o \
|
||||
hires2.o \
|
||||
hires4.o \
|
||||
hires6.o \
|
||||
speaker.o
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue