diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-02 16:31:19 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-02 16:31:19 +0000 |
commit | e76a6e3d2cc40e382e2ca1c7348e36a4082a221b (patch) | |
tree | 5608d032613e083d86923ad7b339352e9f157498 /src/graphic/image.cpp | |
parent | 40b4ecacd44bd3040d9600d6304422bdd7e2e4c4 (diff) | |
download | mana-e76a6e3d2cc40e382e2ca1c7348e36a4082a221b.tar.gz mana-e76a6e3d2cc40e382e2ca1c7348e36a4082a221b.tar.bz2 mana-e76a6e3d2cc40e382e2ca1c7348e36a4082a221b.tar.xz mana-e76a6e3d2cc40e382e2ca1c7348e36a4082a221b.zip |
Got rid of hairset.dat and playerset.dat.
Diffstat (limited to 'src/graphic/image.cpp')
-rw-r--r-- | src/graphic/image.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphic/image.cpp b/src/graphic/image.cpp index c5e28bfb..7bbf6a68 100644 --- a/src/graphic/image.cpp +++ b/src/graphic/image.cpp @@ -104,7 +104,7 @@ Spriteset::Spriteset(std::string filename) } } -Spriteset::Spriteset(BITMAP *bmp, int width, int height) +Spriteset::Spriteset(BITMAP *bmp, int width, int height, int offx, int offy) { /* * We're creating sub bitmaps here for plain convenience. With SDL this'll @@ -118,7 +118,7 @@ Spriteset::Spriteset(BITMAP *bmp, int width, int height) { spriteset.push_back(new VideoImage( create_sub_bitmap(bmp, x, y, width, height), - 30, 40)); + offx, offy)); } } } |