diff options
author | Simon Edwardsson <simon@crossnet.se> | 2004-10-03 12:56:09 +0000 |
---|---|---|
committer | Simon Edwardsson <simon@crossnet.se> | 2004-10-03 12:56:09 +0000 |
commit | 0b00bf2ccff23b5f565e214b36be3ea823ab59da (patch) | |
tree | 2b43d9c1e9a72b07c26c2386633d6a80751bd25a /src/gui/inventory.cpp | |
parent | 07af1c32d6d51a4d178ffc4dea7488a949d1e553 (diff) | |
download | mana-0b00bf2ccff23b5f565e214b36be3ea823ab59da.tar.gz mana-0b00bf2ccff23b5f565e214b36be3ea823ab59da.tar.bz2 mana-0b00bf2ccff23b5f565e214b36be3ea823ab59da.tar.xz mana-0b00bf2ccff23b5f565e214b36be3ea823ab59da.zip |
Added tmw_bar_proc, and a stat window, (I have // your stat window kth5 :) )
Diffstat (limited to 'src/gui/inventory.cpp')
-rw-r--r-- | src/gui/inventory.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/inventory.cpp b/src/gui/inventory.cpp index 09bf56f2..be2b239f 100644 --- a/src/gui/inventory.cpp +++ b/src/gui/inventory.cpp @@ -56,10 +56,10 @@ void TmwInventory::draw(BITMAP * buffer) { for(int i=0;i<INVENTORY_SIZE;i++) { if(items[i].quantity>0) { if(items[i].id>=501 && items[i].id<=510) - masked_blit((BITMAP *)itemset[items[i].id-500].dat, gui_bitmap, 0, 0, inventory_dialog[0].x-90+24*i, inventory_dialog[0].y+26, 22, 22); + masked_blit((BITMAP *)itemset[items[i].id-500].dat, gui_bitmap, 0, 0, inventory_dialog[0].x+24*i, inventory_dialog[0].y+26, 22, 22); else - masked_blit((BITMAP *)itemset[0].dat, gui_bitmap, 0, 0, inventory_dialog[0].x-90+24*i, inventory_dialog[0].y+26, 22, 22); - alfont_textprintf_aa(gui_bitmap, gui_font, inventory_dialog[0].x-90+24*i, inventory_dialog[0].y+44, makecol(0,0,0), "%i", items[i].quantity); + masked_blit((BITMAP *)itemset[0].dat, gui_bitmap, 0, 0, inventory_dialog[0].x+24*i, inventory_dialog[0].y+26, 22, 22); + alfont_textprintf_aa(gui_bitmap, gui_font, inventory_dialog[0].x+24*i, inventory_dialog[0].y+44, makecol(0,0,0), "%i", items[i].quantity); } } } |