summaryrefslogtreecommitdiff
path: root/src/graphic
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-13 02:25:58 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-13 02:25:58 +0000
commitd32386353d28093a5d03ad99f161f8133d73e056 (patch)
tree7d0fa519d613a79b611b938c0929260625fff5c3 /src/graphic
parent75b19e771c527e8444aae70543b2b617dae2e892 (diff)
downloadmana-client-d32386353d28093a5d03ad99f161f8133d73e056.tar.gz
mana-client-d32386353d28093a5d03ad99f161f8133d73e056.tar.bz2
mana-client-d32386353d28093a5d03ad99f161f8133d73e056.tar.xz
mana-client-d32386353d28093a5d03ad99f161f8133d73e056.zip
Some header order, namespace and lib fixes to improve MSVC support.
Diffstat (limited to 'src/graphic')
-rw-r--r--src/graphic/image.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/graphic/image.h b/src/graphic/image.h
index a9b7e8cd..0ec8ccde 100644
--- a/src/graphic/image.h
+++ b/src/graphic/image.h
@@ -1,12 +1,12 @@
#ifndef _IMAGE_H
#define _IMAGE_H
+#include <allegro.h>
#include <string>
#include <vector>
#include <iostream>
-#include <allegro.h>
#include "../log.h"
-using namespace std;
+
class IMAGE {
protected:
@@ -50,14 +50,14 @@ class VIDEO_IMAGE : public IMAGE {
};
class SPRITESET {
- private:
- int get_property(DATAFILE *datafile, int type) {
- return atoi(get_datafile_property(datafile, type));
- }
- public:
- vector<IMAGE *> spriteset;
+ private:
+ int get_property(DATAFILE *datafile, int type) {
+ return atoi(get_datafile_property(datafile, type));
+ }
+ public:
+ std::vector<IMAGE *> spriteset;
- SPRITESET(string filename) {
+ SPRITESET(std::string filename) {
DATAFILE *datafile = load_datafile(filename.c_str());
if(!datafile)error("Unable to load graphic file: " + filename);
int i = 0;