diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-10-08 14:01:51 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-10-08 14:01:51 +0000 |
commit | 1e1e15dd3ab111383b27f09f70eb590878254e00 (patch) | |
tree | 9f47098a3c1758d6d49b40e3b02442e2cae8fe85 /src/gui/shop.cpp | |
parent | 75da526f11f74b9bffb9580c2daf63108c294ca8 (diff) | |
download | mana-1e1e15dd3ab111383b27f09f70eb590878254e00.tar.gz mana-1e1e15dd3ab111383b27f09f70eb590878254e00.tar.bz2 mana-1e1e15dd3ab111383b27f09f70eb590878254e00.tar.xz mana-1e1e15dd3ab111383b27f09f70eb590878254e00.zip |
*** empty log message ***
Diffstat (limited to 'src/gui/shop.cpp')
-rw-r--r-- | src/gui/shop.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/gui/shop.cpp b/src/gui/shop.cpp index 70e984d6..e929f434 100644 --- a/src/gui/shop.cpp +++ b/src/gui/shop.cpp @@ -120,6 +120,7 @@ int get_item_quantity(int index) { } return item_shop->quantity; } + int get_item_index(int index) { int iterator = 0; ITEM_SHOP *item_shop = shop; @@ -129,6 +130,7 @@ int get_item_index(int index) { } return item_shop->index; } + int get_item_price(int index) { int iterator = 0; ITEM_SHOP *item_shop = shop; @@ -138,9 +140,8 @@ int get_item_price(int index) { } return item_shop->price; } -void changeQ(void *dp3, int d2) -{ -sprintf(itemCurrenyQ,"%i",d2); -printf("%s\n",itemCurrenyQ); -} +void changeQ(void *dp3, int d2) { + sprintf(itemCurrenyQ,"%i",d2); + printf("%s\n",itemCurrenyQ); +} |