diff options
author | Eugene Sandulenko | 2010-07-31 11:49:39 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-10-12 22:15:10 +0000 |
commit | bed623b11ef007bb46b26f1f995b6073914383c5 (patch) | |
tree | 823c2cf9aeea3e45256f2e08cbdf147c76aa1eb9 /engines/sword25/math/geometry.cpp | |
parent | 6a55700935983efc0d7e9fd37563c14dcc199027 (diff) | |
download | scummvm-rg350-bed623b11ef007bb46b26f1f995b6073914383c5.tar.gz scummvm-rg350-bed623b11ef007bb46b26f1f995b6073914383c5.tar.bz2 scummvm-rg350-bed623b11ef007bb46b26f1f995b6073914383c5.zip |
SWORD25: Fix compilation
svn-id: r53193
Diffstat (limited to 'engines/sword25/math/geometry.cpp')
-rw-r--r-- | engines/sword25/math/geometry.cpp | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/engines/sword25/math/geometry.cpp b/engines/sword25/math/geometry.cpp index b797667c9d..f6cab4ed80 100644 --- a/engines/sword25/math/geometry.cpp +++ b/engines/sword25/math/geometry.cpp @@ -34,27 +34,20 @@ #include "sword25/math/geometry.h" -#define BS_LOG_PREFIX "GEOMETRY" +namespace Sword25 { -// ----------------------------------------------------------------------------- -// Konstruktion / Destruktion -// ----------------------------------------------------------------------------- +#define BS_LOG_PREFIX "GEOMETRY" -BS_Geometry::BS_Geometry(BS_Kernel * pKernel) : - BS_Service(pKernel) -{ +BS_Geometry::BS_Geometry(BS_Kernel *pKernel) : BS_Service(pKernel) { if (!_RegisterScriptBindings()) BS_LOG_ERRORLN("Script bindings could not be registered."); else BS_LOGLN("Script bindings registered."); } -// ----------------------------------------------------------------------------- -BS_Geometry::~BS_Geometry() -{ +BS_Service *BS_Geometry_CreateObject(BS_Kernel *pKernel) { + return new BS_Geometry(pKernel); } -// ----------------------------------------------------------------------------- - -BS_Service * BS_Geometry_CreateObject(BS_Kernel* pKernel) { return new BS_Geometry(pKernel); }
\ No newline at end of file +} // End of namespace Sword25 |