summaryrefslogtreecommitdiff
path: root/src/gui/buy.h
AgeCommit message (Collapse)AuthorFilesLines
2010-02-13Make NPC dialogs instance instead of globalJared Adams1-9/+12
This change allows players to talk to multiple NPCs at a time (if the server agrees). Manaserv's netcode allows multiple commerce instances too. eAthena's is limited to one commerce instance, due to protocol limitations.
2010-02-07Updated Copyright year to 2010!Bertram1-1/+1
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2010-01-12Standardize header orderJared Adams1-2/+2
Also remove some extra new lines and fix eAthena's PartyTab define guards.
2010-01-10Change Buy and Sell dialogs to use ItemPopupsJared Adams1-2/+0
2009-04-07Moved basic widgets into the gui/widgets directoryBjørn Lindeijer1-4/+5
In an attempt to make the GUI code a little more structured, basic widgets are now put in gui/widgets. Many includes were also cleaned up.
2009-03-27Clean up of most of the Network pointersBjørn Lindeijer1-10/+0
Now that messages can be sent without requiring a pointer to the Network instance, a lot of cleanup was possible.
2009-03-25Merge branch 'eathena/master'Bjørn Lindeijer1-0/+17
Conflicts: A lot of files.
2009-03-23Merge branch 'aethyra/master'Bjørn Lindeijer1-0/+8
Conflicts: Many files.
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-6/+14
This merge involved major changes on both sides, and as such took several weeks. Lots of things are expected to be broken now, however, we now have a single code base to improve and extend, which can be compiled to support either eAthena or tmwserv. In the coming months, the plan is to work towards a client that supports both eAthena and tmwserv, without needing to be recompiled. Conflicts: Everywhere!
2009-03-19Reformatted the item amount window and the buy/sell windows so thatIra Rice1-0/+9
their guis are similarly laid out. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-18Fix up the NPC interraction widnows a bitJared Adams1-0/+1
2009-03-18Fix up the NPC interraction widnows a bitJared Adams1-0/+4
2009-03-14Exposed a few more windows to the reset button on the setup window.Ira Rice1-0/+2
These windows required an external declaration to reset. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-26Merge branch 'aethyra/master'Bjørn Lindeijer1-1/+1
Conflicts: data/graphics/images/login_wallpaper.png src/being.cpp src/beingmanager.cpp src/engine.cpp src/game.cpp src/gui/buysell.cpp src/gui/buysell.h src/gui/gui.h src/gui/npc_text.cpp src/gui/npc_text.h src/gui/npcintegerdialog.cpp src/gui/npclistdialog.cpp src/gui/npclistdialog.h src/gui/npcstringdialog.cpp src/gui/sell.cpp src/gui/shop.cpp src/gui/table.cpp src/net/beinghandler.cpp src/net/npchandler.cpp src/net/playerhandler.cpp src/npc.cpp src/npc.h src/shopitem.cpp src/shopitem.h src/utils/stringutils.cpp src/utils/stringutils.h src/utils/trim.h
2009-02-26Fixed an error in shoplistboxes as identified by Octalot.Ira Rice1-1/+1
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-23Hide the buy/sell dialogs when there is no NPCJared Adams1-0/+5
2009-02-10Fixed header files, as well as removed the unused buddy list class (notIra Rice1-2/+3
useful since buddy lists are tracked through the player relation interface instead) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-09Mostly whitespace and formatting changesBjørn Lindeijer1-2/+1
(merged from eAthena client)
2009-02-04Went through the gui folder and revised the include statements to notIra Rice1-3/+3
include anything not needed by that specific widget or window. This appears to have cleaned up system performance a bit on my current setup, where it went from idling on 45% in game with opengl down to 30% now. Also moved iptostring to the tostring header, as importing all of network.h is a little overkill to use that function, and it goes along with the basic functions that are in that header file anyways. TODO: find out a way to get rid of warnings when a class doesn't use this function. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-25Removed the TMW branding from header guardsBjørn Lindeijer1-2/+2
2009-01-23Removed unnecessary references to The Mana World in code headersBjørn Lindeijer1-4/+4
This dates back to the old days of TMW, but the usage instructions of GPLv2 don't mention this being necessary. Since it doesn't add anything, avoid the branding in these sections.
2009-01-06Used layout for buy, sell and item amount dialogsBjørn Lindeijer1-7/+1
(changes by Guillaume Melquiond, merged from the mainline client)
2008-11-22While there is still a small visual artifact, this patch fixes the buy Ira Rice1-3/+3
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-2/+0
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-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
I don't know why we dealt with these things for so long. Did we ever get anything out of it?
2008-07-18Import of client treeLloyd Bryant1-1/+1
2008-04-11Ported trunk over to Guichan 0.8.0. Based on merge from 0.0 branch, but becauseBjørn Lindeijer1-5/+4
of quite a bit of GUI differences there were additional changes and probably additional issues. You have been warned. ;) Merged revisions 4045-4049,4051-4059 via svnmerge from https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/branches/0.0 ........ r4045 | b_lindeijer | 2008-04-07 17:23:07 +0200 (Mon, 07 Apr 2008) | 3 lines Upgraded to Guichan 0.8.0 (merge from guichan-0.8 branch, except for gcn::TabbedArea usage) ........ r4059 | b_lindeijer | 2008-04-09 16:25:42 +0200 (Wed, 09 Apr 2008) | 2 lines Fixed problem with row height in shop list box. ........
2008-04-07Upgraded to Guichan 0.8.0 (merge from guichan-0.8 branch, except forBjørn Lindeijer1-8/+6
gcn::TabbedArea usage)
2007-10-21Converted dialog box to layout handler.Guillaume Melquiond1-7/+1
2007-09-19Merged 0.0 changes from revision 3362 to 3580 to trunk.Bjørn Lindeijer1-2/+8
2007-09-12Allowed selection of items that cannot be afforded, so that their descriptionsBjørn Lindeijer1-1/+1
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-1/+7
window resize and move events.
2007-08-13Started conversion of buy/sell to new server.Guillaume Melquiond1-1/+1
2007-06-04Merged 0.0 changes from revision 3234 to 3317 to trunk.Bjørn Lindeijer1-0/+6
2007-06-02Some cleanup of buy/sell dialog code.Bjørn Lindeijer1-0/+6
2007-01-14Merged 0.0 changes from revision 2988 to 3035 to trunk.Bjørn Lindeijer1-1/+1
2007-01-14Upgraded to Guichan 0.6.0 (merge from guichan-0.6.0 branch).Bjørn Lindeijer1-1/+1
2006-11-05Merged 0.0 changes from revision 2800 to 2825 to trunk.Bjørn Lindeijer1-1/+2
2006-11-05Added pictures to items in buy dialogs. Also too expensive items are ↵Yohann Ferreira1-1/+2
highlighted in gray and can't be selected.
2006-09-29Merged trunk changes from revision 2618 to 2716 into the 0.1.0 branch.Bjørn Lindeijer1-4/+8
2006-09-03Fixed updating of labels in buy and sell dialogs. Also made our listbox respondBjørn Lindeijer1-4/+8
to mouse dragging to change the selection.
2006-08-26Made the Network class a purely static interface, as there is only one instance.Guillaume Melquiond1-3/+1
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-07-30Updated TMW to be compatible with Guichan 0.5.0 (merged from guichan-0.5.0Bjørn Lindeijer1-1/+1
branch).
2006-03-09Made all class members named like mClassMember.Björn Steinbrink1-14/+14
2006-01-31Created a ListModel for ShopItems.Björn Steinbrink1-7/+8
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-1/+4
2005-10-20Added garbage collection to the ScrollArea class. Fixed slider not being ↵Björn Steinbrink1-7/+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-2/+1
2005-08-26Added effect description to buy/see/inventory, made some improvements and ↵Yohann Ferreira1-1/+1
bugfixes, too.