summaryrefslogtreecommitdiff
path: root/src/gui/minimap.h
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-02-06 18:17:09 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-02-06 18:17:09 +0000
commit5ec4143bde0fd67c7aca841804a5d165c794bdf0 (patch)
tree4ecfaf02a2f1831d545d21de3385b34b6c8c4388 /src/gui/minimap.h
parent49ea67bae1d2969c21005c06bb764f3c6b479e9c (diff)
downloadmana-client-5ec4143bde0fd67c7aca841804a5d165c794bdf0.tar.gz
mana-client-5ec4143bde0fd67c7aca841804a5d165c794bdf0.tar.bz2
mana-client-5ec4143bde0fd67c7aca841804a5d165c794bdf0.tar.xz
mana-client-5ec4143bde0fd67c7aca841804a5d165c794bdf0.zip
Added minimal minimap
Diffstat (limited to 'src/gui/minimap.h')
-rw-r--r--src/gui/minimap.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/gui/minimap.h b/src/gui/minimap.h
new file mode 100644
index 00000000..08a39fb6
--- /dev/null
+++ b/src/gui/minimap.h
@@ -0,0 +1,51 @@
+/*
+ * The Mana World
+ * Copyright 2004-2005 The Mana World Development Team
+ *
+ * This file is part of The Mana World.
+ *
+ * The Mana World 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
+ * any later version.
+ *
+ * The Mana World 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 The Mana World; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * $Id$
+ */
+
+#ifndef _TMW_MINIMAP_H
+#define _TMW_MINIMAP_H
+
+#include "gui.h"
+#include "window.h"
+
+/**
+ * Minimap dialog.
+ *
+ * \ingroup GUI
+ */
+class Minimap : public Window {
+ public:
+ /**
+ * Constructor.
+ */
+ Minimap();
+
+ /**
+ * Draws the minimap.
+ */
+ void draw(gcn::Graphics *graphics);
+
+ // The Alpha-Blended Surface for the background transluency effect.
+ SDL_Surface *mapBackground;
+};
+
+#endif