diff options
author | Tobia Tesan | 2013-07-02 02:37:56 +0200 |
---|---|---|
committer | Tobia Tesan | 2016-02-29 11:13:38 +0100 |
commit | 4e9b113f3f042022fcd0f53ee368f8c73a4d23a3 (patch) | |
tree | 9539704c5561a5ad4948666f7137379ca8b70ab5 /engines/wintermute/ad/ad_entity.cpp | |
parent | cd5d60e44c24a82e5b757cd404a9f5a8a098c315 (diff) | |
download | scummvm-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.cpp | 3 |
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 |