SCUMM HE: Start working on random maps for Moonbase.

This commit is contained in:
Little Cat 2023-11-08 22:13:49 -04:00 committed by Eugene Sandulenko
parent cd5c19bcb5
commit 31dc92fc4a
10 changed files with 524 additions and 12 deletions

View File

@ -42,9 +42,12 @@ class LogicHE;
class MoviePlayer;
class Sprite;
class CUP_Player;
class Moonbase;
#endif
class ScummEngine_v60he : public ScummEngine_v6 {
friend class Moonbase;
protected:
enum SubOpType {
SO_ACTOR_DEFAULT_CLIPPED = 30,
@ -74,6 +77,9 @@ public:
void setHETimer(int timer);
void pauseHETimers(bool pause);
public:
Moonbase *_moonbase;
public:
ScummEngine_v60he(OSystem *syst, const DetectorResult &dr);
~ScummEngine_v60he() override;
@ -263,11 +269,9 @@ class Net;
class Lobby;
#endif
#endif
class Moonbase;
class ScummEngine_v71he : public ScummEngine_v70he {
friend class Wiz;
friend class Moonbase;
friend class Gdi;
protected:
@ -816,7 +820,6 @@ protected:
class ScummEngine_v100he : public ScummEngine_v99he {
friend class AI;
friend class Moonbase;
friend class Net;
// The following engine versions use sub opcodes from this version
friend class ScummEngine_v71he;
@ -1034,9 +1037,6 @@ protected:
SO_WAIT_FOR_SENTENCE = 131,
};
public:
Moonbase *_moonbase;
public:
ScummEngine_v100he(OSystem *syst, const DetectorResult &dr);
~ScummEngine_v100he() override;

View File

@ -0,0 +1,391 @@
/* 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 3 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, see <http://www.gnu.org/licenses/>.
*
*/
#ifndef SCUMM_HE_MOONBASE_MAP_DATA
#define SCUMM_HE_MOONBASE_MAP_DATA
// This header contains file data used by the map generator, mostly
// the Template.thm and Template.wiz data taken from the Moonbase Console
// source repository. Gzipped manually and then converted using
// https://notisrac.github.io/FileToCArray/ (https://github.com/notisrac/FileToCArray)
// Template.thm.gz (Map Icon).
// (https://github.com/michaelbarlow7/moonbase-console/blob/master/MoonbaseConsole/Template.thm)
const byte Template_thm[] = {
0x1f, 0x8b, 0x08, 0x08, 0x5f, 0x3e, 0x4b, 0x65, 0x00, 0x03, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61,
0x74, 0x65, 0x2e, 0x74, 0x68, 0x6d, 0x00, 0xad, 0x97, 0x0f, 0x7c, 0x13, 0xd5, 0x1d, 0xc0, 0x7f,
0x97, 0x5c, 0xe1, 0xaa, 0x87, 0x1c, 0x5b, 0x26, 0x99, 0x2b, 0xa3, 0x2d, 0x4d, 0xd7, 0xac, 0x89,
0x23, 0xdb, 0x3a, 0x44, 0x40, 0xe8, 0x41, 0x5b, 0xe8, 0x54, 0x58, 0x90, 0x16, 0x3b, 0xd0, 0x6e,
0xa9, 0xb6, 0x25, 0xb2, 0xb9, 0x76, 0x0e, 0x59, 0x27, 0x64, 0x72, 0x20, 0xd0, 0x14, 0x50, 0xa2,
0x73, 0xac, 0x52, 0x98, 0x1e, 0xca, 0xd2, 0xb3, 0xab, 0x10, 0xb6, 0x39, 0x43, 0xbb, 0xd5, 0xa5,
0xfc, 0x0d, 0x0a, 0x18, 0x14, 0x24, 0xa5, 0x73, 0x7a, 0x9b, 0x28, 0x61, 0x75, 0xa5, 0xb8, 0xcd,
0x3d, 0xdf, 0xbb, 0x97, 0x4b, 0xd2, 0xd2, 0x7e, 0x3e, 0xeb, 0x3e, 0xbb, 0x5f, 0xaf, 0xef, 0xe5,
0xcf, 0xfb, 0xde, 0xef, 0xef, 0x7b, 0xbf, 0x14, 0x96, 0x2f, 0xa8, 0x00, 0x10, 0x0e, 0xe1, 0x61,
0x3e, 0x00, 0x98, 0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 0x60,
0x33, 0xc4, 0x7d, 0x49, 0x9e, 0xab, 0xfb, 0x80, 0x19, 0xd1, 0x1b, 0x4c, 0xe2, 0x7b, 0x46, 0xd0,
0x7b, 0xe1, 0x5c, 0x96, 0xf0, 0x68, 0x8f, 0x08, 0x36, 0x63, 0x82, 0x0c, 0x09, 0x1f, 0xd0, 0x7e,
0xcc, 0x30, 0x24, 0x32, 0xc9, 0xa7, 0x91, 0xcf, 0x8c, 0xf0, 0x29, 0xb1, 0xab, 0x44, 0x05, 0xc8,
0x10, 0x00, 0x00
};
// Template.wiz.gz (Map Thumbnail; modified in-code to display stats).
// (https://github.com/michaelbarlow7/moonbase-console/blob/master/MoonbaseConsole/Template.wiz)
const byte Template_wiz[] = {
0x1f, 0x8b, 0x08, 0x08, 0xf4, 0x21, 0x4c, 0x65, 0x00, 0x03, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61,
0x74, 0x65, 0x2e, 0x77, 0x69, 0x7a, 0x00, 0xed, 0x5d, 0x0d, 0x9c, 0x1b, 0x45, 0x15, 0x7f, 0x48,
0x80, 0x05, 0x0e, 0x08, 0x7a, 0x6a, 0xda, 0x5e, 0x81, 0x53, 0xee, 0x2e, 0x69, 0x0b, 0xb4, 0x16,
0x84, 0x42, 0xf9, 0xe8, 0x81, 0x05, 0x22, 0x1c, 0xed, 0x1e, 0xf4, 0x20, 0x82, 0x20, 0x9b, 0x0a,
0x12, 0x51, 0xb8, 0x88, 0x80, 0x91, 0xb6, 0x72, 0x4b, 0x01, 0x09, 0x28, 0x12, 0x50, 0xe1, 0xa0,
0x54, 0x08, 0x1f, 0x96, 0x58, 0x4b, 0x2f, 0xa8, 0x48, 0x28, 0x5a, 0x4c, 0x05, 0x34, 0x45, 0xc0,
0x14, 0x28, 0xa4, 0x56, 0xa4, 0x8b, 0x7c, 0xf4, 0xb0, 0x4a, 0x83, 0xf8, 0x31, 0xee, 0x64, 0x32,
0xd9, 0xd9, 0xdd, 0xd9, 0x7c, 0xb4, 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, 0xa0,
0x66, 0x64, 0x36, 0x54, 0x61, 0xc5, 0xfc, 0x8e, 0x0c, 0x7d, 0xb4, 0x66, 0x3d, 0x96, 0xc1, 0xb2,
0x42, 0x23, 0x7a, 0x7b, 0xb3, 0x52, 0x2b, 0x32, 0xd3, 0xe2, 0x4e, 0xde, 0x3b, 0x32, 0x74, 0x31,
0xa6, 0x29, 0xf6, 0xa3, 0xb5, 0x2c, 0x3b, 0xb2, 0xa7, 0xcf, 0x13, 0x63, 0x4f, 0x56, 0x1a, 0x89,
0xcc, 0xba, 0x38, 0xef, 0xc8, 0xa8, 0xf7, 0xbd, 0x19, 0x56, 0x71, 0xa1, 0x5d, 0x59, 0xa9, 0x16,
0x99, 0xe9, 0x47, 0xfb, 0xf5, 0xf1, 0xa4, 0xdf, 0xa8, 0x55, 0xe3, 0x2d, 0x15, 0xfc, 0xb8, 0xd0,
0x6e, 0xac, 0xd8, 0xa9, 0xc7, 0xdf, 0x6a, 0x3e, 0x28, 0x2b, 0xcd, 0x89, 0xc9, 0x9a, 0x01, 0xfb,
0xdc, 0xa1, 0xd6, 0xf8, 0xac, 0xf0, 0x58, 0xc2, 0xbd, 0x17, 0xcb, 0x85, 0x0b, 0x17, 0x2e, 0x5c,
0xb8, 0x70, 0xe1, 0xc2, 0x85, 0x0b, 0x17, 0x2e, 0x5c, 0xb8, 0x70, 0xb1, 0x63, 0xf1, 0x3f, 0x53,
0xd1, 0xe8, 0xeb, 0x3a, 0x9b, 0x00, 0x00
};
#endif // SCUMM_HE_MOONBASE_MAP_DATA

View File

@ -0,0 +1,51 @@
/* 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 3 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, see <http://www.gnu.org/licenses/>.
*
*/
#include "common/compression/deflate.h"
#include "common/memstream.h"
#include "common/bufferedstream.h"
#include "scumm/he/intern_he.h"
#include "scumm/he/moonbase/map_data.h"
#include "scumm/he/moonbase/map_main.h"
namespace Scumm {
Map::Map(ScummEngine_v100he *vm) : _vm(vm), _rnd("moonbase") {
}
Map::~Map() {
}
Common::SeekableReadStream *Map::substituteFile(const byte *fileName) {
if (!strcmp((const char *)fileName, "map\\moon001.thm")) {
// Load thumbnail data
Common::MemoryReadStream *thumbnail = new Common::MemoryReadStream(Template_thm, ARRAYSIZE(Template_thm));
Common::SeekableReadStream *stream = Common::wrapCompressedReadStream(thumbnail);
return stream;
}
return nullptr;
}
} // End of namespace Scumm

View File

@ -0,0 +1,53 @@
/* 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 3 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, see <http://www.gnu.org/licenses/>.
*
*/
#ifndef SCUMM_HE_MOONBASE_MAP_MAIN
#define SCUMM_HE_MOONBASE_MAP_MAIN
#ifdef ENABLE_HE
#include "common/stream.h"
#include "common/random.h"
namespace Scumm {
class Map {
public:
Map(ScummEngine_v100he *vm);
~Map();
Common::SeekableReadStream *substituteFile(const byte *fileName);
private:
ScummEngine_v100he *_vm;
// We require our own random number generator
// so we can send and set seeds from online players to ensure
// they're playing on the same generated map.
Common::RandomSource _rnd;
};
} // End of namespace Scumm
#endif // ENABLE_HE
#endif // SCUMM_HE_MOONBASE_MAP_MAIN

View File

@ -24,6 +24,7 @@
#include "scumm/he/intern_he.h"
#include "scumm/he/moonbase/moonbase.h"
#include "scumm/he/moonbase/ai_main.h"
#include "scumm/he/moonbase/map_main.h"
namespace Scumm {
@ -33,11 +34,13 @@ Moonbase::Moonbase(ScummEngine_v100he *vm) : _vm(vm) {
initFOW();
_ai = new AI(_vm);
_map = new Map(_vm);
}
Moonbase::~Moonbase() {
delete _exe;
delete _ai;
delete _map;
}
int Moonbase::readFromArray(int array, int y, int x) {

View File

@ -31,7 +31,7 @@ class PEResources;
namespace Scumm {
class AI;
class Net;
class Map;
class Moonbase {
public:
@ -71,9 +71,7 @@ public:
uint32 _fowSentinelConditionBits;
AI *_ai;
#ifdef USE_LIBCURL
Net *_net;
#endif
Map *_map;
private:
ScummEngine_v100he *_vm;

View File

@ -2160,6 +2160,13 @@ void ScummEngine_v100he::o100_startScript() {
getStackList(args, ARRAYSIZE(args));
script = pop();
flags = fetchScriptByte();
if (_game.id == GID_MOONBASE && _roomResource == 5 &&
((!strcmp(_game.variant, "1.1") && script == 2178) || script == 2177)) {
// TODO: Add a dialog for random map generation.
debug(1, "this is setup-gamesetup");
}
runScript(script, (flags == SO_BAK || flags == SO_BAKREC), (flags == SO_REC || flags == SO_BAKREC), args);
}

View File

@ -34,6 +34,9 @@
#include "scumm/util.h"
#include "scumm/verbs.h"
#include "scumm/he/moonbase/moonbase.h"
#include "scumm/he/moonbase/map_main.h"
namespace Scumm {
struct vsUnpackCtx {
@ -185,6 +188,11 @@ Common::String ScummEngine_v60he::convertSavePathOld(const byte *src) {
}
Common::SeekableReadStream *ScummEngine_v60he::openFileForReading(const byte *fileName) {
if (_moonbase) {
Common::SeekableReadStream *substitutedFile = _moonbase->_map->substituteFile(fileName);
if (substitutedFile)
return substitutedFile;
}
Common::SeekableReadStream *saveFile = openSaveFileForReading(fileName);
if (saveFile)

View File

@ -175,6 +175,7 @@ MODULE_OBJS += \
he/moonbase/ai_tree.o \
he/moonbase/ai_types.o \
he/moonbase/ai_weapon.o \
he/moonbase/map_main.o \
he/moonbase/moonbase.o \
he/moonbase/moonbase_fow.o \
he/moonbase/moonbase_gfx.o

View File

@ -647,6 +647,8 @@ ScummEngine_v6::ScummEngine_v6(OSystem *syst, const DetectorResult &dr)
ScummEngine_v60he::ScummEngine_v60he(OSystem *syst, const DetectorResult &dr)
: ScummEngine_v6(syst, dr) {
_moonbase = 0;
memset(_hInFileTable, 0, sizeof(_hInFileTable));
memset(_hOutFileTable, 0, sizeof(_hOutFileTable));
@ -798,8 +800,6 @@ ScummEngine_v90he::~ScummEngine_v90he() {
ScummEngine_v100he::ScummEngine_v100he(OSystem *syst, const DetectorResult &dr) : ScummEngine_v99he(syst, dr) {
/* Moonbase stuff */
_moonbase = 0;
if (_game.id == GID_MOONBASE)
_moonbase = new Moonbase(this);