diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-01-25 02:35:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-25 02:35:39 +0300 |
commit | e15445f0f8f95f1547798b886b002146d282c006 (patch) | |
tree | d29b49d8d7d0c8d997cbd58ce3733dba5c2c5a9a /src/gui/npcdialog.h | |
parent | 992f105f78fb0e4c42fcc7941e289a2348a3ccaf (diff) | |
download | plus-e15445f0f8f95f1547798b886b002146d282c006.tar.gz plus-e15445f0f8f95f1547798b886b002146d282c006.tar.bz2 plus-e15445f0f8f95f1547798b886b002146d282c006.tar.xz plus-e15445f0f8f95f1547798b886b002146d282c006.zip |
Save camera mode before speaking with npc and restore after.
Diffstat (limited to 'src/gui/npcdialog.h')
-rw-r--r-- | src/gui/npcdialog.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/npcdialog.h b/src/gui/npcdialog.h index e76897499..4d919a3f2 100644 --- a/src/gui/npcdialog.h +++ b/src/gui/npcdialog.h @@ -172,6 +172,10 @@ class NpcDialog : public Window, public gcn::ActionListener, */ static void destroyAll(); + void saveCamera(); + + void restoreCamera(); + private: typedef std::list<NpcDialog*> DialogList; static DialogList instances; @@ -230,6 +234,9 @@ class NpcDialog : public Window, public gcn::ActionListener, NpcInputState mInputState; NpcActionState mActionState; int mLastNextTime; + int mCameraMode; + int mCameraX; + int mCameraY; }; #endif // NPCDIALOG_H |