diff options
author | whitertandrek | 2018-03-18 22:18:39 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-06-28 23:51:32 +0200 |
commit | c87a392e1678940a06a3c69e91a414572e70a07b (patch) | |
tree | a8cdf0b3c782fa78cb1b3081ef9d3635d2e44a75 /engines/pink/actions | |
parent | 113540b930589242859ec8367ccf2a7af4a2fa21 (diff) | |
download | scummvm-rg350-c87a392e1678940a06a3c69e91a414572e70a07b.tar.gz scummvm-rg350-c87a392e1678940a06a3c69e91a414572e70a07b.tar.bz2 scummvm-rg350-c87a392e1678940a06a3c69e91a414572e70a07b.zip |
PINK: More debug output of Objects attributes
Diffstat (limited to 'engines/pink/actions')
-rw-r--r-- | engines/pink/actions/action_hide.cpp | 9 | ||||
-rw-r--r-- | engines/pink/actions/action_hide.h | 3 | ||||
-rw-r--r-- | engines/pink/actions/action_still.cpp | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/engines/pink/actions/action_hide.cpp b/engines/pink/actions/action_hide.cpp index 8c3eb17bef..9c99bc7cfb 100644 --- a/engines/pink/actions/action_hide.cpp +++ b/engines/pink/actions/action_hide.cpp @@ -20,7 +20,16 @@ * */ +#include "action_hide.h" +#include <engines/pink/archive.h> +#include <common/debug.h> + + namespace Pink { +void Pink::ActionHide::deserialize(Archive &archive) { + Action::deserialize(archive); + debug("\tActionHide: _name = %s", _name.c_str()); +} } //End of namespace Pink
\ No newline at end of file diff --git a/engines/pink/actions/action_hide.h b/engines/pink/actions/action_hide.h index 2c2af5c2c6..4662d5f139 100644 --- a/engines/pink/actions/action_hide.h +++ b/engines/pink/actions/action_hide.h @@ -28,7 +28,10 @@ namespace Pink { class ActionHide : public Action { +public: + virtual void deserialize(Archive &archive); +public: }; } //End of namespace Pink diff --git a/engines/pink/actions/action_still.cpp b/engines/pink/actions/action_still.cpp index f015a8b692..b33476a034 100644 --- a/engines/pink/actions/action_still.cpp +++ b/engines/pink/actions/action_still.cpp @@ -20,14 +20,20 @@ * */ +#include <common/debug.h> #include "action_still.h" #include "../archive.h" +#include "action_play.h" namespace Pink { void ActionStill::deserialize(Archive &archive) { ActionCEL::deserialize(archive); archive >> _startFrame; + if (!dynamic_cast<ActionPlay*>(this)){ + debug("\tActionStill: _name = %s, _fileName = %s, _startFrame = %u", + _name.c_str(), _fileName.c_str(), _startFrame); + } } } // End of namespace Pink
\ No newline at end of file |