From 28cb39eb2b48d8c6e80e35ef6e26e02cc209fc0f Mon Sep 17 00:00:00 2001 From: johndoe123 Date: Mon, 24 Mar 2014 11:21:44 +0100 Subject: ILLUSIONS: Start with BBDOU special code --- engines/illusions/bbdou/bbdou_cursor.cpp | 39 +++++++++++++++++++++++ engines/illusions/bbdou/bbdou_cursor.h | 43 +++++++++++++++++++++++++ engines/illusions/bbdou/bbdou_specialcode.cpp | 45 +++++++++++++++++++++++++++ engines/illusions/bbdou/bbdou_specialcode.h | 45 +++++++++++++++++++++++++++ 4 files changed, 172 insertions(+) create mode 100644 engines/illusions/bbdou/bbdou_cursor.cpp create mode 100644 engines/illusions/bbdou/bbdou_cursor.h create mode 100644 engines/illusions/bbdou/bbdou_specialcode.cpp create mode 100644 engines/illusions/bbdou/bbdou_specialcode.h (limited to 'engines/illusions/bbdou') diff --git a/engines/illusions/bbdou/bbdou_cursor.cpp b/engines/illusions/bbdou/bbdou_cursor.cpp new file mode 100644 index 0000000000..9c0bcc8170 --- /dev/null +++ b/engines/illusions/bbdou/bbdou_cursor.cpp @@ -0,0 +1,39 @@ +/* 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 "illusions/illusions.h" +#include "illusions/bbdou/bbdou_cursor.h" +#include "illusions/actor.h" + +namespace Illusions { + +BbdouCursor::BbdouCursor(IllusionsEngine *vm) + : _vm(vm) { +} + +BbdouCursor::~BbdouCursor() { +} + +void BbdouCursor::init() { +} + +} // End of namespace Illusions diff --git a/engines/illusions/bbdou/bbdou_cursor.h b/engines/illusions/bbdou/bbdou_cursor.h new file mode 100644 index 0000000000..df3ed82f1a --- /dev/null +++ b/engines/illusions/bbdou/bbdou_cursor.h @@ -0,0 +1,43 @@ +/* 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 ILLUSIONS_BBDOU_BBDOU_CURSOR_H +#define ILLUSIONS_BBDOU_BBDOU_CURSOR_H + +#include "illusions/specialcode.h" + +namespace Illusions { + +class IllusionsEngine; + +class BbdouCursor { +public: + BbdouCursor(IllusionsEngine *vm); + ~BbdouCursor(); + void init(); +protected: + IllusionsEngine *_vm; +}; + +} // End of namespace Illusions + +#endif // ILLUSIONS_BBDOU_BBDOU_CURSOR_H diff --git a/engines/illusions/bbdou/bbdou_specialcode.cpp b/engines/illusions/bbdou/bbdou_specialcode.cpp new file mode 100644 index 0000000000..028fdb54a8 --- /dev/null +++ b/engines/illusions/bbdou/bbdou_specialcode.cpp @@ -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. + * + */ + +#include "illusions/illusions.h" +#include "illusions/bbdou/bbdou_specialcode.h" +#include "illusions/bbdou/bbdou_cursor.h" +#include "illusions/scriptopcodes.h" + +namespace Illusions { + +// BbdouSpecialCode + +BbdouSpecialCode::BbdouSpecialCode(IllusionsEngine *vm) + : SpecialCode(vm) { +} + +BbdouSpecialCode::~BbdouSpecialCode() { +} + +void BbdouSpecialCode::init() { +} + +void BbdouSpecialCode::run(uint32 specialCodeId, OpCall &opCall) { +} + +} // End of namespace Illusions diff --git a/engines/illusions/bbdou/bbdou_specialcode.h b/engines/illusions/bbdou/bbdou_specialcode.h new file mode 100644 index 0000000000..98aef581be --- /dev/null +++ b/engines/illusions/bbdou/bbdou_specialcode.h @@ -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 ILLUSIONS_BBDOU_BBDOU_SPECIALCODE_H +#define ILLUSIONS_BBDOU_BBDOU_SPECIALCODE_H + +#include "illusions/specialcode.h" + +namespace Illusions { + +class IllusionsEngine; +class BbdouCursor; + +class BbdouSpecialCode : public SpecialCode { +public: + BbdouSpecialCode(IllusionsEngine *vm); + virtual ~BbdouSpecialCode(); + virtual void init(); + virtual void run(uint32 specialCodeId, OpCall &opCall); +public: + BbdouCursor *_cursor; +}; + +} // End of namespace Illusions + +#endif // ILLUSIONS_BBDOU_BBDOU_SPECIALCODE_H -- cgit v1.2.3