summaryrefslogtreecommitdiff
path: root/src/graphic
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-03 16:27:26 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-03 16:27:26 +0000
commit1dbd7d35ca9b7c7514fbf3491598835f3ee168cf (patch)
tree1ac4879a4814544e5a485d30e8a0ca7e89f8f575 /src/graphic
parent182b5231ba13a0a5865a1b7dcb4731c3009d4c57 (diff)
downloadmana-1dbd7d35ca9b7c7514fbf3491598835f3ee168cf.tar.gz
mana-1dbd7d35ca9b7c7514fbf3491598835f3ee168cf.tar.bz2
mana-1dbd7d35ca9b7c7514fbf3491598835f3ee168cf.tar.xz
mana-1dbd7d35ca9b7c7514fbf3491598835f3ee168cf.zip
Some more comment and indent changes.
Diffstat (limited to 'src/graphic')
-rw-r--r--src/graphic/graphic.cpp6
-rw-r--r--src/graphic/graphic.h10
2 files changed, 13 insertions, 3 deletions
diff --git a/src/graphic/graphic.cpp b/src/graphic/graphic.cpp
index 20649d3c..92acd9be 100644
--- a/src/graphic/graphic.cpp
+++ b/src/graphic/graphic.cpp
@@ -17,6 +17,8 @@
* 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$
*/
#include "graphic.h"
@@ -412,7 +414,9 @@ void GraphicEngine::refresh() {
buffer, i * 32 - offset_x, j * 32 - offset_y);
}
#ifdef DEBUG
- rect(buffer, i * 32 - offset_x, j * 32 - offset_y, i * 32 - offset_x+32, j * 32 - offset_y+32,makecol(0,0,0));
+ rect(buffer, i * 32 - offset_x, j * 32 - offset_y,
+ i * 32 - offset_x + 32, j * 32 - offset_y + 32,
+ makecol(0,0,0));
#endif
}
}
diff --git a/src/graphic/graphic.h b/src/graphic/graphic.h
index c87cf3ca..0f6710f8 100644
--- a/src/graphic/graphic.h
+++ b/src/graphic/graphic.h
@@ -17,6 +17,8 @@
* 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 _GRAPHIC_H
@@ -62,13 +64,17 @@ extern InventoryWindow *inventoryWindow;
extern NpcListDialog *npcListDialog;
extern NpcTextDialog *npcTextDialog;
-// The action listener for the chat field
+/**
+ * The action listener for the chat field.
+ */
class ChatListener : public gcn::ActionListener {
public:
void action(const std::string& eventId);
};
-// The action listener for the buy or sell dialog
+/**
+ * The action listener for the buy or sell dialog.
+ */
class BuySellListener : public gcn::ActionListener {
public:
void action(const std::string& eventId);