diff options
author | Filippos Karapetis | 2011-01-24 14:00:55 +0000 |
---|---|---|
committer | Filippos Karapetis | 2011-01-24 14:00:55 +0000 |
commit | 6dc0999c6d000c08175e961da7e19c1b9a68e4c8 (patch) | |
tree | 679542adef082532a8c713be44d42f8a06359054 /engines/sword25/math | |
parent | 03faae85517b9b5642d7ab9ccf1218e09d6b27c3 (diff) | |
download | scummvm-rg350-6dc0999c6d000c08175e961da7e19c1b9a68e4c8.tar.gz scummvm-rg350-6dc0999c6d000c08175e961da7e19c1b9a68e4c8.tar.bz2 scummvm-rg350-6dc0999c6d000c08175e961da7e19c1b9a68e4c8.zip |
SWORD25: Cleanup
svn-id: r55501
Diffstat (limited to 'engines/sword25/math')
-rw-r--r-- | engines/sword25/math/geometry.cpp | 48 | ||||
-rw-r--r-- | engines/sword25/math/geometry.h | 6 |
2 files changed, 5 insertions, 49 deletions
diff --git a/engines/sword25/math/geometry.cpp b/engines/sword25/math/geometry.cpp deleted file mode 100644 index cf3adae60a..0000000000 --- a/engines/sword25/math/geometry.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/* 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$ - * - */ - -/* - * This code is based on Broken Sword 2.5 engine - * - * Copyright (c) Malte Thiesen, Daniel Queteschiner and Michael Elsdoerfer - * - * Licensed under GNU GPL v2 - * - */ - -#include "sword25/sword25.h" // for kDebugScript -#include "sword25/math/geometry.h" - -namespace Sword25 { - -Geometry::Geometry(Kernel *pKernel) : Service(pKernel) { - if (!registerScriptBindings()) - error("Script bindings could not be registered."); - else - debugC(kDebugScript, "Script bindings registered."); -} - - -} // End of namespace Sword25 diff --git a/engines/sword25/math/geometry.h b/engines/sword25/math/geometry.h index 78aa30696e..60898df635 100644 --- a/engines/sword25/math/geometry.h +++ b/engines/sword25/math/geometry.h @@ -44,7 +44,11 @@ class Kernel; class Geometry : public Service { public: - Geometry(Kernel *pKernel); + Geometry(Kernel *pKernel) : Service(pKernel) { + if (!registerScriptBindings()) + error("Script bindings could not be registered."); + } + virtual ~Geometry() {} private: |