summaryrefslogtreecommitdiff
path: root/src/graphic/graphic.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-02 15:23:31 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-02 15:23:31 +0000
commit40b4ecacd44bd3040d9600d6304422bdd7e2e4c4 (patch)
tree4df4181bd7f0bab6187f1f173cb94cd962eda912 /src/graphic/graphic.cpp
parente25b9848449f109487fdbab53f4e99c28b8d3214 (diff)
downloadmana-40b4ecacd44bd3040d9600d6304422bdd7e2e4c4.tar.gz
mana-40b4ecacd44bd3040d9600d6304422bdd7e2e4c4.tar.bz2
mana-40b4ecacd44bd3040d9600d6304422bdd7e2e4c4.tar.xz
mana-40b4ecacd44bd3040d9600d6304422bdd7e2e4c4.zip
Got rid of monsterset.dat. Oh and the monsters have a more realistic size now. ;)
Diffstat (limited to 'src/graphic/graphic.cpp')
-rw-r--r--src/graphic/graphic.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/graphic/graphic.cpp b/src/graphic/graphic.cpp
index e05842d6..40a00aa4 100644
--- a/src/graphic/graphic.cpp
+++ b/src/graphic/graphic.cpp
@@ -204,10 +204,13 @@ GraphicEngine::GraphicEngine() {
emotionset = new Spriteset("./data/graphic/emotionset.dat");
hairset = new Spriteset("./data/graphic/hairset.dat");
- monsterset = new Spriteset("./data/graphic/monsterset.dat");
npcset = new Spriteset("./data/graphic/npcset.dat");
playerset = new Spriteset("./data/graphic/playerset.dat");
tileset = new Spriteset("./data/graphic/tileset.dat");
+
+ BITMAP *monsterbitmap = load_bitmap("data/graphic/monsterset.bmp", NULL);
+ if (!monsterbitmap) error("Unable to load monsterset.bmp");
+ monsterset = new Spriteset(monsterbitmap, 60, 60);
}
GraphicEngine::~GraphicEngine() {