diff options
author | Paul Gilbert | 2012-10-14 13:43:29 +1100 |
---|---|---|
committer | Paul Gilbert | 2012-10-14 13:43:29 +1100 |
commit | af2824da8247c699c29a566bce1facb76d4b5877 (patch) | |
tree | ead0cb739370a3b8108adad7d56dd9b721e8ffa1 /engines/hopkins/debugger.cpp | |
parent | e23f91472e6694087e3aee13139b84d227f7f7f1 (diff) | |
download | scummvm-rg350-af2824da8247c699c29a566bce1facb76d4b5877.tar.gz scummvm-rg350-af2824da8247c699c29a566bce1facb76d4b5877.tar.bz2 scummvm-rg350-af2824da8247c699c29a566bce1facb76d4b5877.zip |
HOPKINS: Added debugger skeleton
Diffstat (limited to 'engines/hopkins/debugger.cpp')
-rw-r--r-- | engines/hopkins/debugger.cpp | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/engines/hopkins/debugger.cpp b/engines/hopkins/debugger.cpp new file mode 100644 index 0000000000..fc70e93102 --- /dev/null +++ b/engines/hopkins/debugger.cpp @@ -0,0 +1,38 @@ +/* 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 "hopkins/debugger.h" +#include "hopkins/globals.h" +#include "hopkins/graphics.h" +#include "hopkins/hopkins.h" + +namespace Hopkins { + +Debugger::Debugger() : GUI::Debugger() { + DCmd_Register("continue", WRAP_METHOD(Debugger, Cmd_Exit)); +} + +void Debugger::setParent(HopkinsEngine *vm) { + _vm = vm; +} + +} // End of namespace Tony |