diff options
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 |