aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/dialogs_exchange.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-02-01 13:57:02 -0500
committerPaul Gilbert2015-02-01 13:57:02 -0500
commit3ae4958f0ba6823b74cf86db6dbd905a8f2d4c47 (patch)
treecbb9054e86874612fed84cc966bf5623597bf170 /engines/xeen/dialogs_exchange.h
parentd855aa0dab588f2993a4c4f103a4632a9f0ba278 (diff)
downloadscummvm-rg350-3ae4958f0ba6823b74cf86db6dbd905a8f2d4c47.tar.gz
scummvm-rg350-3ae4958f0ba6823b74cf86db6dbd905a8f2d4c47.tar.bz2
scummvm-rg350-3ae4958f0ba6823b74cf86db6dbd905a8f2d4c47.zip
XEEN: Implemented Exchange character dialog
Diffstat (limited to 'engines/xeen/dialogs_exchange.h')
-rw-r--r--engines/xeen/dialogs_exchange.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/engines/xeen/dialogs_exchange.h b/engines/xeen/dialogs_exchange.h
new file mode 100644
index 0000000000..e8c4a2dfb1
--- /dev/null
+++ b/engines/xeen/dialogs_exchange.h
@@ -0,0 +1,47 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
+#ifndef XEEN_DIALOGS_EXCHANGE_H
+#define XEEN_DIALOGS_EXCHANGE_H
+
+#include "xeen/dialogs.h"
+#include "xeen/party.h"
+
+namespace Xeen {
+
+class ExchangeDialog : public ButtonContainer {
+private:
+ XeenEngine *_vm;
+ SpriteResource _iconSprites;
+
+ ExchangeDialog(XeenEngine *vm) : ButtonContainer(), _vm(vm) {}
+
+ void execute(Character *&c, int &charIndex);
+
+ void loadButtons();
+public:
+ static void show(XeenEngine *vm, Character *&c, int &charIndex);
+};
+
+} // End of namespace Xeen
+
+#endif /* XEEN_DIALOGS_EXCHANGE_H */