summaryrefslogtreecommitdiff
path: root/src/resources/imageset.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/imageset.h')
-rw-r--r--src/resources/imageset.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/resources/imageset.h b/src/resources/imageset.h
index ad209aaf..f4464017 100644
--- a/src/resources/imageset.h
+++ b/src/resources/imageset.h
@@ -1,9 +1,8 @@
/*
- * Aethyra
+ * The Mana World
* Copyright (C) 2004 The Mana World Development Team
*
- * This file is part of Aethyra based on original code
- * from The Mana World.
+ * This file is part of The Mana World.
*
* 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
@@ -23,9 +22,9 @@
#ifndef IMAGESET_H
#define IMAGESET_H
-#include <vector>
+#include "resources/resource.h"
-#include "resource.h"
+#include <vector>
class Image;
@@ -35,7 +34,7 @@ class Image;
class ImageSet : public Resource
{
public:
- /*
+ /**
* Cuts the passed image in a grid of sub images.
*/
ImageSet(Image *img, int w, int h);
@@ -48,12 +47,12 @@ class ImageSet : public Resource
/**
* Returns the width of the images in the image set.
*/
- int getWidth() const { return mWidth; };
+ int getWidth() const { return mWidth; }
/**
* Returns the height of the images in the image set.
*/
- int getHeight() const { return mHeight; };
+ int getHeight() const { return mHeight; }
typedef std::vector<Image*>::size_type size_type;
Image* get(size_type i) const;