aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/BDebugger.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-06-02 02:05:11 +0200
committerEinar Johan Trøan Sømåen2012-06-02 13:09:24 +0200
commite6729615ea471891be17d5681b63fe3492f127bd (patch)
tree9707aaf8cd8bb4e826d349f2a89aac193c227b95 /engines/wintermute/Base/BDebugger.cpp
parent2317b3538fc5148dc9c7b3d26c2d60fdb06c85e4 (diff)
downloadscummvm-rg350-e6729615ea471891be17d5681b63fe3492f127bd.tar.gz
scummvm-rg350-e6729615ea471891be17d5681b63fe3492f127bd.tar.bz2
scummvm-rg350-e6729615ea471891be17d5681b63fe3492f127bd.zip
WINTERMUTE: Move the B and Part files into Base/
Diffstat (limited to 'engines/wintermute/Base/BDebugger.cpp')
-rw-r--r--engines/wintermute/Base/BDebugger.cpp203
1 files changed, 203 insertions, 0 deletions
diff --git a/engines/wintermute/Base/BDebugger.cpp b/engines/wintermute/Base/BDebugger.cpp
new file mode 100644
index 0000000000..d55cb189b7
--- /dev/null
+++ b/engines/wintermute/Base/BDebugger.cpp
@@ -0,0 +1,203 @@
+/* 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.
+ *
+ */
+
+/*
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
+
+#include "engines/wintermute/Base/BDebugger.h"
+
+namespace WinterMute {
+
+//////////////////////////////////////////////////////////////////////////
+CBDebugger::CBDebugger(CBGame *inGame) : CBBase(inGame) {
+ _enabled = false;
+}
+
+//////////////////////////////////////////////////////////////////////////
+CBDebugger::~CBDebugger(void) {
+}
+
+
+//////////////////////////////////////////////////////////////////////////
+HRESULT CBDebugger::Initialize() {
+ return S_OK;
+}
+
+//////////////////////////////////////////////////////////////////////////
+HRESULT CBDebugger::Shutdown() {
+ return S_OK;
+}
+
+//////////////////////////////////////////////////////////////////////////
+HRESULT CBDebugger::OnGameInit() {
+ return S_OK;
+}
+
+//////////////////////////////////////////////////////////////////////////
+HRESULT CBDebugger::OnGameShutdown() {
+ return S_OK;
+}
+
+//////////////////////////////////////////////////////////////////////////
+HRESULT CBDebugger::OnGameTick() {
+ return S_OK;
+}
+
+//////////////////////////////////////////////////////////////////////////
+HRESULT CBDebugger::OnLog(unsigned int ErrorCode, const char *Text) {
+ return S_OK;
+}
+
+//////////////////////////////////////////////////////////////////////////
+HRESULT CBDebugger::OnScriptInit(CScScript *Script) {
+ return S_OK;
+}
+
+//////////////////////////////////////////////////////////////////////////
+HRESULT CBDebugger::OnScriptEventThreadInit(CScScript *Script, CScScript *ParentScript, const char *Name) {
+ return S_OK;
+}
+
+//////////////////////////////////////////////////////////////////////////
+HRESULT CBDebugger::OnScriptMethodThreadInit(CScScript *Script, CScScript *ParentScript, const char *Name) {
+ return S_OK;
+}
+
+
+//////////////////////////////////////////////////////////////////////////
+HRESULT CBDebugger::OnScriptShutdown(CScScript *Script) {
+ return S_OK;
+}
+
+//////////////////////////////////////////////////////////////////////////
+HRESULT CBDebugger::OnScriptChangeLine(CScScript *Script, int Line) {
+ return S_OK;
+}
+
+//////////////////////////////////////////////////////////////////////////
+HRESULT CBDebugger::OnScriptChangeScope(CScScript *Script, CScValue *Scope) {
+ return S_OK;
+}
+
+
+//////////////////////////////////////////////////////////////////////////
+HRESULT CBDebugger::OnScriptShutdownScope(CScScript *Script, CScValue *Scope) {
+ return S_OK;
+}
+
+//////////////////////////////////////////////////////////////////////////
+HRESULT CBDebugger::OnVariableInit(EWmeDebuggerVariableType Type, CScScript *Script, CScValue *Scope, CScValue *Var, const char *VariableName) {
+ return S_OK;
+}
+
+//////////////////////////////////////////////////////////////////////////
+HRESULT CBDebugger::OnVariableChangeValue(CScValue *Var, CScValue *Value) {
+ return S_OK;
+}
+
+//////////////////////////////////////////////////////////////////////////
+HRESULT CBDebugger::OnScriptHitBreakpoint(CScScript *Script) {
+ return S_OK;
+}
+
+//////////////////////////////////////////////////////////////////////////
+// IWmeDebugServer interface implementation
+bool CBDebugger::AttachClient(IWmeDebugClient *Client) {
+ return false;
+}
+
+//////////////////////////////////////////////////////////////////////////
+bool CBDebugger::DetachClient(IWmeDebugClient *Client) {
+ return false;
+}
+
+
+//////////////////////////////////////////////////////////////////////////
+bool CBDebugger::QueryData(IWmeDebugClient *Client) {
+ return false;
+}
+
+
+//////////////////////////////////////////////////////////////////////////
+int CBDebugger::GetPropInt(const char *PropName) {
+ return 0;
+}
+
+//////////////////////////////////////////////////////////////////////////
+double CBDebugger::GetPropFloat(const char *PropName) {
+ return 0.0;
+}
+
+//////////////////////////////////////////////////////////////////////////
+const char *CBDebugger::GetPropString(const char *PropName) {
+ return "";
+}
+
+//////////////////////////////////////////////////////////////////////////
+bool CBDebugger::GetPropBool(const char *PropName) {
+ return false;
+}
+
+//////////////////////////////////////////////////////////////////////////
+bool CBDebugger::SetProp(const char *PropName, int PropValue) {
+ return false;
+}
+
+//////////////////////////////////////////////////////////////////////////
+bool CBDebugger::SetProp(const char *PropName, double PropValue) {
+ return false;
+}
+
+//////////////////////////////////////////////////////////////////////////
+bool CBDebugger::SetProp(const char *PropName, const char *PropValue) {
+ return false;
+}
+
+//////////////////////////////////////////////////////////////////////////
+bool CBDebugger::SetProp(const char *PropName, bool PropValue) {
+ return false;
+}
+
+//////////////////////////////////////////////////////////////////////////
+bool CBDebugger::ResolveFilename(const char *RelativeFilename, char *AbsFilenameBuf, int AbsBufSize) {
+ return false;
+}
+
+//////////////////////////////////////////////////////////////////////////
+bool CBDebugger::AddBreakpoint(const char *ScriptFilename, int Line) {
+ return false;
+}
+
+//////////////////////////////////////////////////////////////////////////
+bool CBDebugger::RemoveBreakpoint(const char *ScriptFilename, int Line) {
+ return false;
+}
+
+//////////////////////////////////////////////////////////////////////////
+bool CBDebugger::ContinueExecution() {
+ return false;
+}
+
+} // end of namespace WinterMute