diff options
author | Mateusz Kaduk <mateusz.kaduk@gmail.com> | 2005-03-06 17:40:04 +0000 |
---|---|---|
committer | Mateusz Kaduk <mateusz.kaduk@gmail.com> | 2005-03-06 17:40:04 +0000 |
commit | 000bbf497024f5d9c9c7521c0a423f458641a32e (patch) | |
tree | 8e7c01026ea3a52bc92abde93ddfc050f8d3c689 /src | |
parent | 1985aafdef0fabdf1a2f0857150d9119afae0976 (diff) | |
download | mana-000bbf497024f5d9c9c7521c0a423f458641a32e.tar.gz mana-000bbf497024f5d9c9c7521c0a423f458641a32e.tar.bz2 mana-000bbf497024f5d9c9c7521c0a423f458641a32e.tar.xz mana-000bbf497024f5d9c9c7521c0a423f458641a32e.zip |
Added alpha channal for items.png
Diffstat (limited to 'src')
-rw-r--r-- | src/engine.cpp | 2 | ||||
-rw-r--r-- | src/gui/equipment.cpp | 2 | ||||
-rw-r--r-- | src/gui/itemcontainer.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index 0f3c8d42..ecf75750 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -227,7 +227,7 @@ Engine::Engine() Image *weaponbitmap = resman->getImage( "core/graphics/sprites/weapons.png"); Image *itembitmap = resman->getImage( - "core/graphics/sprites/items.png"); + "core/graphics/sprites/items.png", IMG_ALPHA); if (!npcbmp) error("Unable to load npcs.png"); if (!emotionbmp) error("Unable to load emotions.png"); diff --git a/src/gui/equipment.cpp b/src/gui/equipment.cpp index 770a88df..74f5df6d 100644 --- a/src/gui/equipment.cpp +++ b/src/gui/equipment.cpp @@ -33,7 +33,7 @@ EquipmentWindow::EquipmentWindow(): setPosition(40, 40); ResourceManager *resman = ResourceManager::getInstance(); - Image *itemImg = resman->getImage("core/graphics/sprites/items.png"); + Image *itemImg = resman->getImage("core/graphics/sprites/items.png", IMG_ALPHA); if (!itemImg) error("Unable to load items.png"); itemset = new Spriteset(itemImg, 20, 20); diff --git a/src/gui/itemcontainer.cpp b/src/gui/itemcontainer.cpp index 4398fcb2..0debd3b3 100644 --- a/src/gui/itemcontainer.cpp +++ b/src/gui/itemcontainer.cpp @@ -29,7 +29,7 @@ ItemContainer::ItemContainer() { ResourceManager *resman = ResourceManager::getInstance(); - Image *itemImg = resman->getImage("core/graphics/sprites/items.png"); + Image *itemImg = resman->getImage("core/graphics/sprites/items.png", IMG_ALPHA); if (!itemImg) error("Unable to load items.png"); itemset = new Spriteset(itemImg, 20, 20); |