summaryrefslogtreecommitdiff
path: root/src/gui/buy.cpp
AgeCommit message (Collapse)AuthorFilesLines
2008-11-22While there is still a small visual artifact, this patch fixes the buy Ira Rice1-3/+0
window so that it properly reports how much money you have.
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-4/+1
statements, as well as removing the new skill dialog, which we do not, nor will we use (if we do, it'd be a new one that we'd make). WARNING!!! This, and all other previous builds have a linker error for the Gnome libraries version 4.3.2 on my setup. It's assumed that this is also the case for other users of this library as well. I'm currently assuming that there's a bug in the compiler itself, and will look into reporting this, but in the mean time, it doesn't build for these users, unfortunately. Sorry about this.
2008-08-18Fixed bug with GP shown being incorrect after purchasing from NPC vendor ↵Lloyd Bryant1-5/+5
(code from TMW svn, r4449)
2008-07-25Applied patch by ElvenProgrammer to remember window locations between sessionsLloyd Bryant1-0/+1
2008-07-18Import of client treeLloyd Bryant1-1/+1
2008-06-12Merged revisions 3738 via svnmerge from Bjørn Lindeijer1-7/+8
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk ........ r3738 | b_lindeijer | 2007-11-16 00:44:01 +0100 (Fri, 16 Nov 2007) | 3 lines Moved item icon from ItemInfo class to the Item class, so that it can be loaded on demand. Results in faster startup time and reduced memory usage. ........
2008-04-07Upgraded to Guichan 0.8.0 (merge from guichan-0.8 branch, except forBjørn Lindeijer1-8/+8
gcn::TabbedArea usage)
2007-09-12Allowed selection of items that cannot be afforded, so that their descriptionsBjørn Lindeijer1-9/+7
are still accessible. Also made sure the player's money value of ShopItemList gets updated.
2007-08-28Made buy dialog resizable and added a WindowListener class for listening forBjørn Lindeijer1-24/+55
window resize and move events.
2007-08-19buy/sell fixed minimum quantity 1.Joshua Langley1-15/+17
2007-06-02Some cleanup of buy/sell dialog code.Bjørn Lindeijer1-68/+44
2007-05-23A bunch of lingering syntactical changes.Bjørn Lindeijer1-2/+3
2007-05-20Fixed the amount-not-reset-when-using-scrollwheel bug in sell dialog.Philipp Sehmisch1-1/+1
2007-01-14Upgraded to Guichan 0.6.0 (merge from guichan-0.6.0 branch).Bjørn Lindeijer1-8/+8
2006-12-16Subclassed ShopListBox from ListBox to get rid of some duplicated code, andBjørn Lindeijer1-31/+26
fixed a problem with scrolling to the current selection. Also aligned the text a bit better and put the price in parenthesis.
2006-11-23Refectored the Itemmanager class to an ItemDB namespace.Philipp Sehmisch1-2/+2
2006-11-05Added pictures to items in buy dialogs. Also too expensive items are ↵Yohann Ferreira1-22/+14
highlighted in gray and can't be selected.
2006-10-09little tweaks to buy and buy/sell dialogs.Yohann Ferreira1-4/+7
2006-09-03Fixed updating of labels in buy and sell dialogs. Also made our listbox respondBjørn Lindeijer1-12/+25
to mouse dragging to change the selection.
2006-09-03Introduced SelectionListener to fix updating problem in inventory windowBjørn Lindeijer1-5/+7
(should also be used to fix similar problem in trade, buy and sell dialogs). Made the ItemInfo be passed around as a reference instead of a pointer, since it is never NULL.
2006-08-13Merged Guichan 0.5.0 support from guichan-0.5.0 branch, plus several updatesBjørn Lindeijer1-1/+1
from the 0.1.0 branch.
2006-03-19Unreverted latest change by Doener due to my lack of proper communication ↵Eugenio Favalli1-12/+6
abilities.
2006-03-19Reverted changeset r2269 (toString) as requested by ElvenProgrammer.Björn Steinbrink1-6/+12
2006-03-18Added a toString conversion function.Björn Steinbrink1-12/+6
2006-03-09Made all class members named like mClassMember.Björn Steinbrink1-102/+101
2006-03-09Made the Button ctor accept eventId and action listener.Björn Steinbrink1-13/+4
2006-01-31Created a ListModel for ShopItems.Björn Steinbrink1-21/+17
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-4/+4
2005-10-20Added garbage collection to the ScrollArea class. Fixed slider not being ↵Björn Steinbrink1-5/+0
updated in the item amount box when the buttons are used.
2005-10-18Added automatic widget cleanup to the window class.Björn Steinbrink1-10/+0
2005-10-16Rename {read,write}{Byte,Short,Long} to {read,write}Int{8,16,32}.Björn Steinbrink1-4/+4
2005-09-19Got rid of writeSet() calls.Eugenio Favalli1-2/+0
2005-09-17Completed transition to use MessageOut.Eugenio Favalli1-4/+7
2005-09-13Merged with SDL_NET_TEST branch.Björn Steinbrink1-5/+5
2005-08-26Added effect description to buy/see/inventory, made some improvements and ↵Yohann Ferreira1-22/+28
bugfixes, too.
2005-08-23Avoid possible buffer overflows in shop items' names. BuyDialog code cleanup.Björn Steinbrink1-159/+81
2005-08-22Converted the buy & sell diaogs asserts into ifs to avoid game crashing, and ↵Yohann Ferreira1-35/+69
made additional checks on buy sell events to have buttons enabled only when they're useful.
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-5/+14
2005-08-12Resetting quantity to 0 after selecting other items in buy/sell dialogs.Eugenio Favalli1-0/+8
2005-07-22Added missing includes and fixed a warning about implicit conversion.Björn Steinbrink1-0/+1
2005-07-22Correction on a stupid typos bugCedric Borgese1-7/+0
2005-07-22Merge between moi1392's branch and headCedric Borgese1-47/+186
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-0/+1
2005-05-22Picking up now possible with Z, and fixed width of a few scroll area contents.Bjørn Lindeijer1-0/+1
2005-05-10fixing a bug which occured when ItemManager's constructor calls logger (for ↵Jan-Fabian Humann1-3/+3
example if items.xml is missing)
2005-05-06Added item description for selected item in buy dialog.Aaron Marks1-4/+29
2005-05-01Fixed width of item lists in shops and fixed hitting dead monsters.Bjørn Lindeijer1-1/+1
2005-04-21trying to follow Hammerbear suggestionsEugenio Favalli1-1/+2
2005-04-21Now shops get item names from the xml databaseEugenio Favalli1-6/+1
2005-04-07* Fixed crash on exit when trying to delete listbox that wasn't created.Bjørn Lindeijer1-1/+8
* Disabled Ok button in Buy and Sell dialog when amount is 0 * Corrected the three known map bugs