mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
ASYLUM: Add stubs for puzzles
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@675 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
This commit is contained in:
parent
34a6ee87cf
commit
574abfd1b2
@ -31,7 +31,21 @@
|
||||
#include "asylum/resources/special.h"
|
||||
#include "asylum/resources/worldstats.h"
|
||||
|
||||
#include "asylum/puzzles/boardkeyhidesto.h"
|
||||
#include "asylum/puzzles/boardsalvation.h"
|
||||
#include "asylum/puzzles/boardyouth.h"
|
||||
#include "asylum/puzzles/clock.h"
|
||||
#include "asylum/puzzles/fisherman.h"
|
||||
#include "asylum/puzzles/hivecontrol.h"
|
||||
#include "asylum/puzzles/hivemachine.h"
|
||||
#include "asylum/puzzles/lock.h"
|
||||
#include "asylum/puzzles/morguedoor.h"
|
||||
#include "asylum/puzzles/pipes.h"
|
||||
#include "asylum/puzzles/tictactoe.h"
|
||||
#include "asylum/puzzles/timemachine.h"
|
||||
#include "asylum/puzzles/vcr.h"
|
||||
#include "asylum/puzzles/wheel.h"
|
||||
#include "asylum/puzzles/writings.h"
|
||||
|
||||
#include "asylum/system/config.h"
|
||||
#include "asylum/system/cursor.h"
|
||||
@ -417,22 +431,22 @@ EventHandler *AsylumEngine::getPuzzle(uint32 index) {
|
||||
|
||||
void AsylumEngine::initPuzzles() {
|
||||
_puzzles[0] = new PuzzleVCR(this);
|
||||
_puzzles[1] = NULL;
|
||||
_puzzles[2] = NULL;
|
||||
_puzzles[3] = NULL;
|
||||
_puzzles[4] = NULL;
|
||||
_puzzles[5] = NULL;
|
||||
_puzzles[6] = NULL;
|
||||
_puzzles[7] = NULL;
|
||||
_puzzles[8] = NULL;
|
||||
_puzzles[9] = NULL;
|
||||
_puzzles[10] = NULL;
|
||||
_puzzles[11] = NULL;
|
||||
_puzzles[12] = NULL;
|
||||
_puzzles[13] = NULL;
|
||||
_puzzles[14] = NULL;
|
||||
_puzzles[15] = NULL;
|
||||
_puzzles[16] = NULL;
|
||||
_puzzles[1] = new PuzzlePipes(this);
|
||||
_puzzles[2] = new PuzzleTicTacToe(this);
|
||||
_puzzles[3] = new PuzzleLock(this);
|
||||
_puzzles[4] = NULL;// No event handler for Puzzle 5
|
||||
_puzzles[5] = new PuzzleWheel(this);
|
||||
_puzzles[6] = new PuzzleBoardSalvation(this);
|
||||
_puzzles[7] = new PuzzleBoardYouth(this);
|
||||
_puzzles[8] = new PuzzleBoardKeyHidesTo(this);
|
||||
_puzzles[9] = new PuzzleWritings(this);
|
||||
_puzzles[10] = new PuzzleClock(this);
|
||||
_puzzles[11] = new PuzzleMorgueDoor(this);
|
||||
_puzzles[12] = NULL; // FIXME Not sure which puzzle this is
|
||||
_puzzles[13] = new PuzzleTimeMachine(this);
|
||||
_puzzles[14] = new PuzzleFisherman(this);
|
||||
_puzzles[15] = new PuzzleHiveMachine(this);
|
||||
_puzzles[16] = new PuzzleHiveControl(this);
|
||||
|
||||
warning("[AsylumEngine::initPuzzles] Add missing puzzles!");
|
||||
}
|
||||
|
@ -1,8 +1,22 @@
|
||||
MODULE := engines/asylum
|
||||
|
||||
MODULE_OBJS := \
|
||||
puzzles/boardkeyhidesto.o \
|
||||
puzzles/boardsalvation.o \
|
||||
puzzles/boardyouth.o \
|
||||
puzzles/clock.o \
|
||||
puzzles/fisherman.o \
|
||||
puzzles/hivecontrol.o \
|
||||
puzzles/hivemachine.o \
|
||||
puzzles/lock.o \
|
||||
puzzles/morguedoor.o \
|
||||
puzzles/pipes.o \
|
||||
puzzles/puzzle.o \
|
||||
puzzles/tictactoe.o \
|
||||
puzzles/timemachine.o \
|
||||
puzzles/vcr.o \
|
||||
puzzles/wheel.o \
|
||||
puzzles/writings.o \
|
||||
resources/actor.o \
|
||||
resources/object.o \
|
||||
resources/encounters.o \
|
||||
|
55
engines/asylum/puzzles/boardkeyhidesto.cpp
Normal file
55
engines/asylum/puzzles/boardkeyhidesto.cpp
Normal file
@ -0,0 +1,55 @@
|
||||
/* 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#include "asylum/puzzles/boardkeyhidesto.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
PuzzleBoardKeyHidesTo::PuzzleBoardKeyHidesTo(AsylumEngine *engine) : Puzzle(engine) {
|
||||
}
|
||||
|
||||
PuzzleBoardKeyHidesTo::~PuzzleBoardKeyHidesTo() {
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool PuzzleBoardKeyHidesTo::handleEvent(const AsylumEvent &event) {
|
||||
error("[PuzzleBoardKeyHidesTo::handleEvent] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleBoardKeyHidesTo::init() {
|
||||
error("[PuzzleBoardKeyHidesTo::init] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleBoardKeyHidesTo::update() {
|
||||
error("[PuzzleBoardKeyHidesTo::update] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleBoardKeyHidesTo::mouse(const AsylumEvent &evt) {
|
||||
error("[PuzzleBoardKeyHidesTo::mouse] Not implemented!");
|
||||
}
|
||||
|
||||
} // End of namespace Asylum
|
53
engines/asylum/puzzles/boardkeyhidesto.h
Normal file
53
engines/asylum/puzzles/boardkeyhidesto.h
Normal 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 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef ASYLUM_BOARDKEYHIDESTO_H
|
||||
#define ASYLUM_BOARDKEYHIDESTO_H
|
||||
|
||||
#include "asylum/puzzles/puzzle.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
class AsylumEngine;
|
||||
|
||||
class PuzzleBoardKeyHidesTo : public Puzzle {
|
||||
public:
|
||||
PuzzleBoardKeyHidesTo(AsylumEngine *engine);
|
||||
~PuzzleBoardKeyHidesTo();
|
||||
|
||||
bool handleEvent(const AsylumEvent &event);
|
||||
|
||||
private:
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool init();
|
||||
bool update();
|
||||
bool mouse(const AsylumEvent &evt);
|
||||
};
|
||||
|
||||
} // End of namespace Asylum
|
||||
|
||||
#endif // ASYLUM_BOARDKEYHIDESTO_H
|
55
engines/asylum/puzzles/boardsalvation.cpp
Normal file
55
engines/asylum/puzzles/boardsalvation.cpp
Normal file
@ -0,0 +1,55 @@
|
||||
/* 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#include "asylum/puzzles/boardsalvation.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
PuzzleBoardSalvation::PuzzleBoardSalvation(AsylumEngine *engine) : Puzzle(engine) {
|
||||
}
|
||||
|
||||
PuzzleBoardSalvation::~PuzzleBoardSalvation() {
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool PuzzleBoardSalvation::handleEvent(const AsylumEvent &event) {
|
||||
error("[PuzzleBoardSalvation::handleEvent] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleBoardSalvation::init() {
|
||||
error("[PuzzleBoardSalvation::init] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleBoardSalvation::update() {
|
||||
error("[PuzzleBoardSalvation::update] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleBoardSalvation::mouse(const AsylumEvent &evt) {
|
||||
error("[PuzzleBoardSalvation::mouse] Not implemented!");
|
||||
}
|
||||
|
||||
} // End of namespace Asylum
|
53
engines/asylum/puzzles/boardsalvation.h
Normal file
53
engines/asylum/puzzles/boardsalvation.h
Normal 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 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef ASYLUM_BOARDSALVATION_H
|
||||
#define ASYLUM_BOARDSALVATION_H
|
||||
|
||||
#include "asylum/puzzles/puzzle.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
class AsylumEngine;
|
||||
|
||||
class PuzzleBoardSalvation : public Puzzle {
|
||||
public:
|
||||
PuzzleBoardSalvation(AsylumEngine *engine);
|
||||
~PuzzleBoardSalvation();
|
||||
|
||||
bool handleEvent(const AsylumEvent &event);
|
||||
|
||||
private:
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool init();
|
||||
bool update();
|
||||
bool mouse(const AsylumEvent &evt);
|
||||
};
|
||||
|
||||
} // End of namespace Asylum
|
||||
|
||||
#endif // ASYLUM_BOARDSALVATION_H
|
55
engines/asylum/puzzles/boardyouth.cpp
Normal file
55
engines/asylum/puzzles/boardyouth.cpp
Normal file
@ -0,0 +1,55 @@
|
||||
/* 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#include "asylum/puzzles/boardyouth.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
PuzzleBoardYouth::PuzzleBoardYouth(AsylumEngine *engine) : Puzzle(engine) {
|
||||
}
|
||||
|
||||
PuzzleBoardYouth::~PuzzleBoardYouth() {
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool PuzzleBoardYouth::handleEvent(const AsylumEvent &event) {
|
||||
error("[PuzzleBoardYouth::handleEvent] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleBoardYouth::init() {
|
||||
error("[PuzzleBoardYouth::init] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleBoardYouth::update() {
|
||||
error("[PuzzleBoardYouth::update] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleBoardYouth::mouse(const AsylumEvent &evt) {
|
||||
error("[PuzzleBoardYouth::mouse] Not implemented!");
|
||||
}
|
||||
|
||||
} // End of namespace Asylum
|
53
engines/asylum/puzzles/boardyouth.h
Normal file
53
engines/asylum/puzzles/boardyouth.h
Normal 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 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef ASYLUM_BOARDYOUTH_H
|
||||
#define ASYLUM_BOARDYOUTH_H
|
||||
|
||||
#include "asylum/puzzles/puzzle.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
class AsylumEngine;
|
||||
|
||||
class PuzzleBoardYouth : public Puzzle {
|
||||
public:
|
||||
PuzzleBoardYouth(AsylumEngine *engine);
|
||||
~PuzzleBoardYouth();
|
||||
|
||||
bool handleEvent(const AsylumEvent &event);
|
||||
|
||||
private:
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool init();
|
||||
bool update();
|
||||
bool mouse(const AsylumEvent &evt);
|
||||
};
|
||||
|
||||
} // End of namespace Asylum
|
||||
|
||||
#endif // ASYLUM_BOARDYOUTH_H
|
55
engines/asylum/puzzles/clock.cpp
Normal file
55
engines/asylum/puzzles/clock.cpp
Normal file
@ -0,0 +1,55 @@
|
||||
/* 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#include "asylum/puzzles/clock.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
PuzzleClock::PuzzleClock(AsylumEngine *engine) : Puzzle(engine) {
|
||||
}
|
||||
|
||||
PuzzleClock::~PuzzleClock() {
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool PuzzleClock::handleEvent(const AsylumEvent &event) {
|
||||
error("[PuzzleClock::handleEvent] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleClock::init() {
|
||||
error("[PuzzleClock::init] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleClock::update() {
|
||||
error("[PuzzleClock::update] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleClock::mouse(const AsylumEvent &evt) {
|
||||
error("[PuzzleClock::mouse] Not implemented!");
|
||||
}
|
||||
|
||||
} // End of namespace Asylum
|
53
engines/asylum/puzzles/clock.h
Normal file
53
engines/asylum/puzzles/clock.h
Normal 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 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef ASYLUM_CLOCK_H
|
||||
#define ASYLUM_CLOCK_H
|
||||
|
||||
#include "asylum/puzzles/puzzle.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
class AsylumEngine;
|
||||
|
||||
class PuzzleClock : public Puzzle {
|
||||
public:
|
||||
PuzzleClock(AsylumEngine *engine);
|
||||
~PuzzleClock();
|
||||
|
||||
bool handleEvent(const AsylumEvent &event);
|
||||
|
||||
private:
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool init();
|
||||
bool update();
|
||||
bool mouse(const AsylumEvent &evt);
|
||||
};
|
||||
|
||||
} // End of namespace Asylum
|
||||
|
||||
#endif // ASYLUM_CLOCK_H
|
55
engines/asylum/puzzles/fisherman.cpp
Normal file
55
engines/asylum/puzzles/fisherman.cpp
Normal file
@ -0,0 +1,55 @@
|
||||
/* 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#include "asylum/puzzles/fisherman.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
PuzzleFisherman::PuzzleFisherman(AsylumEngine *engine) : Puzzle(engine) {
|
||||
}
|
||||
|
||||
PuzzleFisherman::~PuzzleFisherman() {
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool PuzzleFisherman::handleEvent(const AsylumEvent &event) {
|
||||
error("[PuzzleFisherman::handleEvent] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleFisherman::init() {
|
||||
error("[PuzzleFisherman::init] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleFisherman::update() {
|
||||
error("[PuzzleFisherman::update] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleFisherman::mouse(const AsylumEvent &evt) {
|
||||
error("[PuzzleFisherman::mouse] Not implemented!");
|
||||
}
|
||||
|
||||
} // End of namespace Asylum
|
53
engines/asylum/puzzles/fisherman.h
Normal file
53
engines/asylum/puzzles/fisherman.h
Normal 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 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef ASYLUM_FISHERMAN_H
|
||||
#define ASYLUM_FISHERMAN_H
|
||||
|
||||
#include "asylum/puzzles/puzzle.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
class AsylumEngine;
|
||||
|
||||
class PuzzleFisherman : public Puzzle {
|
||||
public:
|
||||
PuzzleFisherman(AsylumEngine *engine);
|
||||
~PuzzleFisherman();
|
||||
|
||||
bool handleEvent(const AsylumEvent &event);
|
||||
|
||||
private:
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool init();
|
||||
bool update();
|
||||
bool mouse(const AsylumEvent &evt);
|
||||
};
|
||||
|
||||
} // End of namespace Asylum
|
||||
|
||||
#endif // ASYLUM_FISHERMAN_H
|
55
engines/asylum/puzzles/hivecontrol.cpp
Normal file
55
engines/asylum/puzzles/hivecontrol.cpp
Normal file
@ -0,0 +1,55 @@
|
||||
/* 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#include "asylum/puzzles/hivecontrol.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
PuzzleHiveControl::PuzzleHiveControl(AsylumEngine *engine) : Puzzle(engine) {
|
||||
}
|
||||
|
||||
PuzzleHiveControl::~PuzzleHiveControl() {
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool PuzzleHiveControl::handleEvent(const AsylumEvent &event) {
|
||||
error("[PuzzleHiveControl::handleEvent] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleHiveControl::init() {
|
||||
error("[PuzzleHiveControl::init] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleHiveControl::update() {
|
||||
error("[PuzzleHiveControl::update] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleHiveControl::mouse(const AsylumEvent &evt) {
|
||||
error("[PuzzleHiveControl::mouse] Not implemented!");
|
||||
}
|
||||
|
||||
} // End of namespace Asylum
|
53
engines/asylum/puzzles/hivecontrol.h
Normal file
53
engines/asylum/puzzles/hivecontrol.h
Normal 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 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef ASYLUM_HIVECONTROL_H
|
||||
#define ASYLUM_HIVECONTROL_H
|
||||
|
||||
#include "asylum/puzzles/puzzle.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
class AsylumEngine;
|
||||
|
||||
class PuzzleHiveControl : public Puzzle {
|
||||
public:
|
||||
PuzzleHiveControl(AsylumEngine *engine);
|
||||
~PuzzleHiveControl();
|
||||
|
||||
bool handleEvent(const AsylumEvent &event);
|
||||
|
||||
private:
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool init();
|
||||
bool update();
|
||||
bool mouse(const AsylumEvent &evt);
|
||||
};
|
||||
|
||||
} // End of namespace Asylum
|
||||
|
||||
#endif // ASYLUM_HIVECONTROL_H
|
55
engines/asylum/puzzles/hivemachine.cpp
Normal file
55
engines/asylum/puzzles/hivemachine.cpp
Normal file
@ -0,0 +1,55 @@
|
||||
/* 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#include "asylum/puzzles/hivemachine.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
PuzzleHiveMachine::PuzzleHiveMachine(AsylumEngine *engine) : Puzzle(engine) {
|
||||
}
|
||||
|
||||
PuzzleHiveMachine::~PuzzleHiveMachine() {
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool PuzzleHiveMachine::handleEvent(const AsylumEvent &event) {
|
||||
error("[PuzzleHiveMachine::handleEvent] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleHiveMachine::init() {
|
||||
error("[PuzzleHiveMachine::init] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleHiveMachine::update() {
|
||||
error("[PuzzleHiveMachine::update] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleHiveMachine::mouse(const AsylumEvent &evt) {
|
||||
error("[PuzzleHiveMachine::mouse] Not implemented!");
|
||||
}
|
||||
|
||||
} // End of namespace Asylum
|
53
engines/asylum/puzzles/hivemachine.h
Normal file
53
engines/asylum/puzzles/hivemachine.h
Normal 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 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef ASYLUM_HIVEMACHINE_H
|
||||
#define ASYLUM_HIVEMACHINE_H
|
||||
|
||||
#include "asylum/puzzles/puzzle.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
class AsylumEngine;
|
||||
|
||||
class PuzzleHiveMachine : public Puzzle {
|
||||
public:
|
||||
PuzzleHiveMachine(AsylumEngine *engine);
|
||||
~PuzzleHiveMachine();
|
||||
|
||||
bool handleEvent(const AsylumEvent &event);
|
||||
|
||||
private:
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool init();
|
||||
bool update();
|
||||
bool mouse(const AsylumEvent &evt);
|
||||
};
|
||||
|
||||
} // End of namespace Asylum
|
||||
|
||||
#endif // ASYLUM_HIVEMACHINE_H
|
55
engines/asylum/puzzles/lock.cpp
Normal file
55
engines/asylum/puzzles/lock.cpp
Normal file
@ -0,0 +1,55 @@
|
||||
/* 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#include "asylum/puzzles/lock.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
PuzzleLock::PuzzleLock(AsylumEngine *engine) : Puzzle(engine) {
|
||||
}
|
||||
|
||||
PuzzleLock::~PuzzleLock() {
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool PuzzleLock::handleEvent(const AsylumEvent &event) {
|
||||
error("[PuzzleLock::handleEvent] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleLock::init() {
|
||||
error("[PuzzleLock::init] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleLock::update() {
|
||||
error("[PuzzleLock::update] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleLock::mouse(const AsylumEvent &evt) {
|
||||
error("[PuzzleLock::mouse] Not implemented!");
|
||||
}
|
||||
|
||||
} // End of namespace Asylum
|
53
engines/asylum/puzzles/lock.h
Normal file
53
engines/asylum/puzzles/lock.h
Normal 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 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef ASYLUM_LOCK_H
|
||||
#define ASYLUM_LOCK_H
|
||||
|
||||
#include "asylum/puzzles/puzzle.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
class AsylumEngine;
|
||||
|
||||
class PuzzleLock : public Puzzle {
|
||||
public:
|
||||
PuzzleLock(AsylumEngine *engine);
|
||||
~PuzzleLock();
|
||||
|
||||
bool handleEvent(const AsylumEvent &event);
|
||||
|
||||
private:
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool init();
|
||||
bool update();
|
||||
bool mouse(const AsylumEvent &evt);
|
||||
};
|
||||
|
||||
} // End of namespace Asylum
|
||||
|
||||
#endif // ASYLUM_LOCK_H
|
55
engines/asylum/puzzles/morguedoor.cpp
Normal file
55
engines/asylum/puzzles/morguedoor.cpp
Normal file
@ -0,0 +1,55 @@
|
||||
/* 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#include "asylum/puzzles/morguedoor.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
PuzzleMorgueDoor::PuzzleMorgueDoor(AsylumEngine *engine) : Puzzle(engine) {
|
||||
}
|
||||
|
||||
PuzzleMorgueDoor::~PuzzleMorgueDoor() {
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool PuzzleMorgueDoor::handleEvent(const AsylumEvent &event) {
|
||||
error("[PuzzleMorgueDoor::handleEvent] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleMorgueDoor::init() {
|
||||
error("[PuzzleMorgueDoor::init] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleMorgueDoor::update() {
|
||||
error("[PuzzleMorgueDoor::update] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleMorgueDoor::mouse(const AsylumEvent &evt) {
|
||||
error("[PuzzleMorgueDoor::mouse] Not implemented!");
|
||||
}
|
||||
|
||||
} // End of namespace Asylum
|
53
engines/asylum/puzzles/morguedoor.h
Normal file
53
engines/asylum/puzzles/morguedoor.h
Normal 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 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef ASYLUM_MORGUEDOOR_H
|
||||
#define ASYLUM_MORGUEDOOR_H
|
||||
|
||||
#include "asylum/puzzles/puzzle.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
class AsylumEngine;
|
||||
|
||||
class PuzzleMorgueDoor : public Puzzle {
|
||||
public:
|
||||
PuzzleMorgueDoor(AsylumEngine *engine);
|
||||
~PuzzleMorgueDoor();
|
||||
|
||||
bool handleEvent(const AsylumEvent &event);
|
||||
|
||||
private:
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool init();
|
||||
bool update();
|
||||
bool mouse(const AsylumEvent &evt);
|
||||
};
|
||||
|
||||
} // End of namespace Asylum
|
||||
|
||||
#endif // ASYLUM_MORGUEDOOR_H
|
55
engines/asylum/puzzles/pipes.cpp
Normal file
55
engines/asylum/puzzles/pipes.cpp
Normal file
@ -0,0 +1,55 @@
|
||||
/* 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#include "asylum/puzzles/pipes.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
PuzzlePipes::PuzzlePipes(AsylumEngine *engine) : Puzzle(engine) {
|
||||
}
|
||||
|
||||
PuzzlePipes::~PuzzlePipes() {
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool PuzzlePipes::handleEvent(const AsylumEvent &event) {
|
||||
error("[PuzzlePipes::handleEvent] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzlePipes::init() {
|
||||
error("[PuzzlePipes::init] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzlePipes::update() {
|
||||
error("[PuzzlePipes::update] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzlePipes::mouse(const AsylumEvent &evt) {
|
||||
error("[PuzzlePipes::mouse] Not implemented!");
|
||||
}
|
||||
|
||||
} // End of namespace Asylum
|
53
engines/asylum/puzzles/pipes.h
Normal file
53
engines/asylum/puzzles/pipes.h
Normal 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 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef ASYLUM_PIPES_H
|
||||
#define ASYLUM_PIPES_H
|
||||
|
||||
#include "asylum/puzzles/puzzle.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
class AsylumEngine;
|
||||
|
||||
class PuzzlePipes : public Puzzle {
|
||||
public:
|
||||
PuzzlePipes(AsylumEngine *engine);
|
||||
~PuzzlePipes();
|
||||
|
||||
bool handleEvent(const AsylumEvent &event);
|
||||
|
||||
private:
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool init();
|
||||
bool update();
|
||||
bool mouse(const AsylumEvent &evt);
|
||||
};
|
||||
|
||||
} // End of namespace Asylum
|
||||
|
||||
#endif // ASYLUM_PIPES_H
|
55
engines/asylum/puzzles/tictactoe.cpp
Normal file
55
engines/asylum/puzzles/tictactoe.cpp
Normal file
@ -0,0 +1,55 @@
|
||||
/* 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#include "asylum/puzzles/tictactoe.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
PuzzleTicTacToe::PuzzleTicTacToe(AsylumEngine *engine) : Puzzle(engine) {
|
||||
}
|
||||
|
||||
PuzzleTicTacToe::~PuzzleTicTacToe() {
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool PuzzleTicTacToe::handleEvent(const AsylumEvent &event) {
|
||||
error("[PuzzleTicTacToe::handleEvent] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleTicTacToe::init() {
|
||||
error("[PuzzleTicTacToe::init] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleTicTacToe::update() {
|
||||
error("[PuzzleTicTacToe::update] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleTicTacToe::mouse(const AsylumEvent &evt) {
|
||||
error("[PuzzleTicTacToe::mouse] Not implemented!");
|
||||
}
|
||||
|
||||
} // End of namespace Asylum
|
53
engines/asylum/puzzles/tictactoe.h
Normal file
53
engines/asylum/puzzles/tictactoe.h
Normal 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 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef ASYLUM_TICTACTOE_H
|
||||
#define ASYLUM_TICTACTOE_H
|
||||
|
||||
#include "asylum/puzzles/puzzle.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
class AsylumEngine;
|
||||
|
||||
class PuzzleTicTacToe : public Puzzle {
|
||||
public:
|
||||
PuzzleTicTacToe(AsylumEngine *engine);
|
||||
~PuzzleTicTacToe();
|
||||
|
||||
bool handleEvent(const AsylumEvent &event);
|
||||
|
||||
private:
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool init();
|
||||
bool update();
|
||||
bool mouse(const AsylumEvent &evt);
|
||||
};
|
||||
|
||||
} // End of namespace Asylum
|
||||
|
||||
#endif // ASYLUM_TICTACTOE_H
|
55
engines/asylum/puzzles/timemachine.cpp
Normal file
55
engines/asylum/puzzles/timemachine.cpp
Normal file
@ -0,0 +1,55 @@
|
||||
/* 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#include "asylum/puzzles/timemachine.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
PuzzleTimeMachine::PuzzleTimeMachine(AsylumEngine *engine) : Puzzle(engine) {
|
||||
}
|
||||
|
||||
PuzzleTimeMachine::~PuzzleTimeMachine() {
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool PuzzleTimeMachine::handleEvent(const AsylumEvent &event) {
|
||||
error("[PuzzleTimeMachine::handleEvent] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleTimeMachine::init() {
|
||||
error("[PuzzleTimeMachine::init] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleTimeMachine::update() {
|
||||
error("[PuzzleTimeMachine::update] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleTimeMachine::mouse(const AsylumEvent &evt) {
|
||||
error("[PuzzleTimeMachine::mouse] Not implemented!");
|
||||
}
|
||||
|
||||
} // End of namespace Asylum
|
53
engines/asylum/puzzles/timemachine.h
Normal file
53
engines/asylum/puzzles/timemachine.h
Normal 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 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef ASYLUM_TIMEMACHINE_H
|
||||
#define ASYLUM_TIMEMACHINE_H
|
||||
|
||||
#include "asylum/puzzles/puzzle.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
class AsylumEngine;
|
||||
|
||||
class PuzzleTimeMachine : public Puzzle {
|
||||
public:
|
||||
PuzzleTimeMachine(AsylumEngine *engine);
|
||||
~PuzzleTimeMachine();
|
||||
|
||||
bool handleEvent(const AsylumEvent &event);
|
||||
|
||||
private:
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool init();
|
||||
bool update();
|
||||
bool mouse(const AsylumEvent &evt);
|
||||
};
|
||||
|
||||
} // End of namespace Asylum
|
||||
|
||||
#endif // ASYLUM_TIMEMACHINE_H
|
55
engines/asylum/puzzles/wheel.cpp
Normal file
55
engines/asylum/puzzles/wheel.cpp
Normal file
@ -0,0 +1,55 @@
|
||||
/* 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#include "asylum/puzzles/wheel.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
PuzzleWheel::PuzzleWheel(AsylumEngine *engine) : Puzzle(engine) {
|
||||
}
|
||||
|
||||
PuzzleWheel::~PuzzleWheel() {
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool PuzzleWheel::handleEvent(const AsylumEvent &event) {
|
||||
error("[PuzzleWheel::handleEvent] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleWheel::init() {
|
||||
error("[PuzzleWheel::init] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleWheel::update() {
|
||||
error("[PuzzleWheel::update] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleWheel::mouse(const AsylumEvent &evt) {
|
||||
error("[PuzzleWheel::mouse] Not implemented!");
|
||||
}
|
||||
|
||||
} // End of namespace Asylum
|
53
engines/asylum/puzzles/wheel.h
Normal file
53
engines/asylum/puzzles/wheel.h
Normal 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 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef ASYLUM_WHEEL_H
|
||||
#define ASYLUM_WHEEL_H
|
||||
|
||||
#include "asylum/puzzles/puzzle.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
class AsylumEngine;
|
||||
|
||||
class PuzzleWheel : public Puzzle {
|
||||
public:
|
||||
PuzzleWheel(AsylumEngine *engine);
|
||||
~PuzzleWheel();
|
||||
|
||||
bool handleEvent(const AsylumEvent &event);
|
||||
|
||||
private:
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool init();
|
||||
bool update();
|
||||
bool mouse(const AsylumEvent &evt);
|
||||
};
|
||||
|
||||
} // End of namespace Asylum
|
||||
|
||||
#endif // ASYLUM_WHEEL_H
|
55
engines/asylum/puzzles/writings.cpp
Normal file
55
engines/asylum/puzzles/writings.cpp
Normal file
@ -0,0 +1,55 @@
|
||||
/* 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#include "asylum/puzzles/writings.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
PuzzleWritings::PuzzleWritings(AsylumEngine *engine) : Puzzle(engine) {
|
||||
}
|
||||
|
||||
PuzzleWritings::~PuzzleWritings() {
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool PuzzleWritings::handleEvent(const AsylumEvent &event) {
|
||||
error("[PuzzleWritings::handleEvent] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleWritings::init() {
|
||||
error("[PuzzleWritings::init] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleWritings::update() {
|
||||
error("[PuzzleWritings::update] Not implemented!");
|
||||
}
|
||||
|
||||
bool PuzzleWritings::mouse(const AsylumEvent &evt) {
|
||||
error("[PuzzleWritings::mouse] Not implemented!");
|
||||
}
|
||||
|
||||
} // End of namespace Asylum
|
53
engines/asylum/puzzles/writings.h
Normal file
53
engines/asylum/puzzles/writings.h
Normal 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 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.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef ASYLUM_WRITINGS_H
|
||||
#define ASYLUM_WRITINGS_H
|
||||
|
||||
#include "asylum/puzzles/puzzle.h"
|
||||
|
||||
namespace Asylum {
|
||||
|
||||
class AsylumEngine;
|
||||
|
||||
class PuzzleWritings : public Puzzle {
|
||||
public:
|
||||
PuzzleWritings(AsylumEngine *engine);
|
||||
~PuzzleWritings();
|
||||
|
||||
bool handleEvent(const AsylumEvent &event);
|
||||
|
||||
private:
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Event Handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool init();
|
||||
bool update();
|
||||
bool mouse(const AsylumEvent &evt);
|
||||
};
|
||||
|
||||
} // End of namespace Asylum
|
||||
|
||||
#endif // ASYLUM_WRITINGS_H
|
Loading…
Reference in New Issue
Block a user