aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/agos.cpp6
-rw-r--r--engines/agos/detection.cpp4
-rw-r--r--engines/agos/sound.cpp4
-rw-r--r--engines/agos/subroutine.cpp2
-rw-r--r--engines/agos/vga_s1.cpp2
5 files changed, 9 insertions, 9 deletions
diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp
index 641c6e707e..a2c7467412 100644
--- a/engines/agos/agos.cpp
+++ b/engines/agos/agos.cpp
@@ -555,7 +555,7 @@ Common::Error AGOSEngine::init() {
// Setup midi driver
int midiDriver = MidiDriver::detectMusicDriver(MDT_ADLIB | MDT_MIDI);
_nativeMT32 = ((midiDriver == MD_MT32) || ConfMan.getBool("native_mt32"));
-
+
_driver = MidiDriver::createMidi(midiDriver);
if (_nativeMT32) {
@@ -890,7 +890,7 @@ AGOSEngine::~AGOSEngine() {
free(_tablesHeapPtr - _tablesHeapCurPos);
free(_mouseData);
-
+
free(_gameOffsetsPtr);
free(_iconFilePtr);
free(_itemArrayPtr);
@@ -1029,7 +1029,7 @@ Common::Error AGOSEngine::go() {
/* I do not think that this will be used
- *
+ *
void AGOSEngine::shutdown() {
// Sync with AGOSEngine::~AGOSEngine()
// In Simon 2, this gets deleted along with _sound further down
diff --git a/engines/agos/detection.cpp b/engines/agos/detection.cpp
index 5ca640d96c..4c400859f6 100644
--- a/engines/agos/detection.cpp
+++ b/engines/agos/detection.cpp
@@ -102,7 +102,7 @@ static const Common::ADParams detectionParams = {
class AgosMetaEngine : public Common::AdvancedMetaEngine {
public:
AgosMetaEngine() : Common::AdvancedMetaEngine(detectionParams) {}
-
+
virtual const char *getName() const {
return "AGOS";
}
@@ -110,7 +110,7 @@ public:
virtual const char *getCopyright() const {
return "AGOS (C) Adventure Soft";
}
-
+
virtual bool hasFeature(MetaEngineFeature f) const;
virtual bool createInstance(OSystem *syst, Engine **engine, const Common::ADGameDescription *desc) const;
virtual SaveStateList listSaves(const char *target) const;
diff --git a/engines/agos/sound.cpp b/engines/agos/sound.cpp
index 4d60bbdbed..5558e9025a 100644
--- a/engines/agos/sound.cpp
+++ b/engines/agos/sound.cpp
@@ -58,7 +58,7 @@ public:
BaseSound(Audio::Mixer *mixer, File *file, uint32 *offsets, bool bigEndian = false);
virtual ~BaseSound();
void close();
-
+
void playSound(uint sound, Audio::Mixer::SoundType type, Audio::SoundHandle *handle, byte flags, int vol = 0) {
playSound(sound, sound, type, handle, flags, vol);
}
@@ -563,7 +563,7 @@ void Sound::readSfxFile(const char *filename) {
void Sound::loadSfxTable(File *gameFile, uint32 base) {
stopAll();
-
+
if (_effects)
_effects->close();
diff --git a/engines/agos/subroutine.cpp b/engines/agos/subroutine.cpp
index 1d4f2e8ba6..07eb7306d8 100644
--- a/engines/agos/subroutine.cpp
+++ b/engines/agos/subroutine.cpp
@@ -541,7 +541,7 @@ int AGOSEngine::startSubroutine(Subroutine *sub) {
error("Recursion error");
// WORKAROUND: If the game is saved, right after Simon is thrown in the dungeon of Sordid's Fortress of Doom,
- // the saved game fails to load correctly. When loading the saved game, the sequence of Simon waking is started,
+ // the saved game fails to load correctly. When loading the saved game, the sequence of Simon waking is started,
// before the scene is actually reloaded, due to a script bug. We manually add the extra script code from DOS CD
// release, which fixed this particular script bug.
if (getGameType() == GType_SIMON2 && !(getFeatures() & GF_TALKIE) && sub->id == 12101) {
diff --git a/engines/agos/vga_s1.cpp b/engines/agos/vga_s1.cpp
index b3ee374595..b1ae26437e 100644
--- a/engines/agos/vga_s1.cpp
+++ b/engines/agos/vga_s1.cpp
@@ -138,7 +138,7 @@ void AGOSEngine::vc22_setPaletteNew() {
palptr[3] = 0;
palptr += 4;
- };
+ };
}
_paletteFlag = 2;