aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/ad/ad_entity.cpp
diff options
context:
space:
mode:
authorTobia Tesan2013-07-02 02:37:56 +0200
committerTobia Tesan2016-02-29 11:13:38 +0100
commit4e9b113f3f042022fcd0f53ee368f8c73a4d23a3 (patch)
tree9539704c5561a5ad4948666f7137379ca8b70ab5 /engines/wintermute/ad/ad_entity.cpp
parentcd5d60e44c24a82e5b757cd404a9f5a8a098c315 (diff)
downloadscummvm-rg350-4e9b113f3f042022fcd0f53ee368f8c73a4d23a3.tar.gz
scummvm-rg350-4e9b113f3f042022fcd0f53ee368f8c73a4d23a3.tar.bz2
scummvm-rg350-4e9b113f3f042022fcd0f53ee368f8c73a4d23a3.zip
WINTERMUTE: Add debuggerToString
Diffstat (limited to 'engines/wintermute/ad/ad_entity.cpp')
-rw-r--r--engines/wintermute/ad/ad_entity.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/wintermute/ad/ad_entity.cpp b/engines/wintermute/ad/ad_entity.cpp
index 1bbadeb7f7..0909d7ef91 100644
--- a/engines/wintermute/ad/ad_entity.cpp
+++ b/engines/wintermute/ad/ad_entity.cpp
@@ -1134,4 +1134,7 @@ bool AdEntity::setSprite(const char *filename) {
}
}
+Common::String AdEntity::debuggerToString() const {
+ return Common::String::format("%p: Entity \"%s\"; (X,Y): (%d, %d), rotate(%d): %f deg, scale(%d): (%f, %f)%%", (const void *)this, getName(), _posX, _posY, _rotatable, _rotate, _zoomable, _scaleX, _scaleY);
+}
} // End of namespace Wintermute