aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/gfx.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2017-12-08 21:25:32 +0000
committerEugene Sandulenko2017-12-08 23:57:48 +0100
commit7724e51936fc006a48ded3efd28b9caf20c5bc7e (patch)
tree5cd48a26f9265475c98a7abd83cfb1902e936647 /engines/fullpipe/gfx.cpp
parent1408ffc4273945abc882033b9aabde82b3d2f841 (diff)
downloadscummvm-rg350-7724e51936fc006a48ded3efd28b9caf20c5bc7e.tar.gz
scummvm-rg350-7724e51936fc006a48ded3efd28b9caf20c5bc7e.tar.bz2
scummvm-rg350-7724e51936fc006a48ded3efd28b9caf20c5bc7e.zip
FULLPIPE: Added debug output for GameObject
Diffstat (limited to 'engines/fullpipe/gfx.cpp')
-rw-r--r--engines/fullpipe/gfx.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/fullpipe/gfx.cpp b/engines/fullpipe/gfx.cpp
index 667c2ba190..31e5c219c4 100644
--- a/engines/fullpipe/gfx.cpp
+++ b/engines/fullpipe/gfx.cpp
@@ -234,6 +234,11 @@ GameObject::GameObject(GameObject *src) {
_field_8 = src->_field_8;
}
+Common::String GameObject::toXML() {
+ return Common::String::format("id=%d name=\"%s\" x=%d y=%d priority=%d f8=%d",
+ _id, transCyrillic(_objectName), _ox, _oy, _priority, _field_8);
+}
+
bool GameObject::load(MfcArchive &file) {
debugC(5, kDebugLoading, "GameObject::load()");
_odelay = 0;