summaryrefslogtreecommitdiff
path: root/src/gui/trade.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-02-15Don't make window name translatableBjørn Lindeijer1-1/+1
The window name is used in the configuration file, in contrast to the window title.
2009-02-15Add configurable units systemJared Adams1-3/+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 fixesBjørn Lindeijer1-2/+2
Removed tab characters and trailing spaces and added spaces between "if(", "for(", "while(" and "switch(".
2009-02-09Merged with Aethyra master as of 2009-02-09Bjørn Lindeijer1-2/+0
Conflicts: A lot of files...
2009-02-09Mostly whitespace fixesBjørn Lindeijer1-2/+2
Removed tab characters and trailing spaces and added spaces between "if(", "for(", "while(" and "switch(".
2009-02-09Mostly whitespace and formatting changesBjørn Lindeijer1-2/+0
(merged from eAthena client)
2009-02-04Went through the gui folder and revised the include statements to notIra Rice1-2/+0
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-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-16Revised trade window to use the window layout code. Loosely based on theIra Rice1-94/+67
trade window in TMW's mainline client. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-08Made remaining dialogs translatableBjørn Lindeijer1-2/+2
Most strings are now translatable. Please do report any missing ones. Strings excluded from translation are anything that gets written to the log file or is otherwise not shown in the GUI. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-01-06Added support for internationalizationIra Rice1-25/+18
Merged from the mainline client. Originally implemented by Guillaume Melquiond, starting with commit 1828eee6a6d91fd385ad1e69d93044516493aa91. Conflicts: INSTALL configure.ac src/Makefile.am src/gui/buy.cpp src/gui/confirm_dialog.cpp src/gui/inventorywindow.cpp src/gui/login.cpp src/gui/menuwindow.cpp src/gui/minimap.cpp src/gui/ok_dialog.cpp src/gui/popupmenu.cpp src/gui/register.cpp src/gui/sell.cpp src/gui/setup.cpp src/gui/setup_video.cpp Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-05Made trade window resizableBjørn Lindeijer1-24/+40
Also fixed overlap between description label and the buttons and added the SDL_ttf library to the Code::Blocks project file.
2008-12-17Reintroduced window name propertyBjørn Lindeijer1-1/+2
Still used in the eAthena client and it seems saner to me to have it.
2008-12-07Fixed inconsistency in default window sizesBjørn Lindeijer1-1/+1
The default window sizes were all too small, since they were specified in content size. On pressing "Reset Windows", the sizes would be interpreted as such and apply alright. The inconsistency is now removed, and the default window sizes are always the size of the whole widget now, not just the contents. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
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-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-09-12Fixed /where, added /cast for heal and gather, some changes to inventory to ↵Lloyd Bryant1-4/+5
support storage
2008-06-12Merged revisions 3738 via svnmerge from Bjørn Lindeijer1-8/+4
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-26Text fix: zeny to GP.Dennis Friis1-3/+3
2008-04-11Ported trunk over to Guichan 0.8.0. Based on merge from 0.0 branch, but becauseBjørn Lindeijer1-1/+1
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-1/+1
gcn::TabbedArea usage)
2007-11-20Merged revisions 3642,3662-3664,3667 via svnmerge from Bjørn Lindeijer1-0/+2
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk ........ r3642 | gmelquio | 2007-10-19 19:46:46 +0200 (Fri, 19 Oct 2007) | 1 line Factored code between resource handlers. Implemented failure-friendly sprite loader. ........ r3662 | gmelquio | 2007-10-21 21:01:16 +0200 (Sun, 21 Oct 2007) | 1 line Added persistent positioning. ........ r3663 | gmelquio | 2007-10-21 21:03:43 +0200 (Sun, 21 Oct 2007) | 1 line Fixed missing pixels at bottom and right. ........ r3664 | gmelquio | 2007-10-21 21:05:56 +0200 (Sun, 21 Oct 2007) | 1 line Changed to use default values when restoring missing settings. ........ r3667 | gmelquio | 2007-10-21 22:09:08 +0200 (Sun, 21 Oct 2007) | 1 line Fixed invisible text in dropboxes and shopboxes. ........
2007-10-28Fixed display of trade window. Completed trade protocol.Guillaume Melquiond1-159/+86
2007-10-21Added persistent positioning.Guillaume Melquiond1-0/+2
2007-08-14Removed obsolete code. Added support for money received while trading.Guillaume Melquiond1-1/+1
2007-08-14mantis_id:129 - Inventory Window Slots Added.Joshua Langley1-2/+3
2007-08-07Fixed my breakage of persistent window dimensions. Cleaned a few things ↵Guillaume Melquiond1-1/+0
along the way.
2007-07-31Removed legacy inventory code. Added display of equipment.Guillaume Melquiond1-4/+4
2007-07-29Forgot a few debug statements.Guillaume Melquiond1-3/+1
2007-07-29Converted trading to new server.Guillaume Melquiond1-36/+13
2007-01-14Merged 0.0 changes from revision 2988 to 3035 to trunk.Bjørn Lindeijer1-5/+5
2007-01-14Upgraded to Guichan 0.6.0 (merge from guichan-0.6.0 branch).Bjørn Lindeijer1-5/+5
2006-12-11Merged 0.0 changes from revision 2825 to 2898 to trunk.Bjørn Lindeijer1-18/+18
2006-11-05Fixed money field to no longer hide below the bottom of the window.Bjørn Lindeijer1-18/+18
2006-11-02Merged trunk changes from revision 2716 to 2756 into the 0.1.0 branch.Bjørn Lindeijer1-5/+5
2006-11-02Network layer refactoring.Björn Steinbrink1-3/+16
2006-10-03Removed empty frames from headgears.Bjørn Lindeijer1-1/+1
2006-10-01Accepted patches by GDO and VictorSan that fix problems with hiding windowsBjørn Lindeijer1-5/+5
using h and problems with trade window positioning.
2006-09-29Merged trunk changes from revision 2618 to 2716 into the 0.1.0 branch.Bjørn Lindeijer1-30/+33
2006-09-03Fixed updating of labels in trade window.Bjørn Lindeijer1-30/+33
2006-09-03Introduced SelectionListener to fix updating problem in inventory windowBjørn Lindeijer1-2/+2
(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-26Got rid of the default MessageOut constructor, since all messages should haveBjørn Lindeijer1-10/+5
an ID.
2006-08-26Made the Network class a purely static interface, as there is only one instance.Guillaume Melquiond1-2/+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-07-25Switched client to use enet and modified login sequence to work with the new ↵Eugenio Favalli1-14/+14
protocol from tmwserv.
2006-03-19Unreverted latest change by Doener due to my lack of proper communication ↵Eugenio Favalli1-9/+7
abilities.
2006-03-19Reverted changeset r2269 (toString) as requested by ElvenProgrammer.Björn Steinbrink1-7/+9
2006-03-18Added a toString conversion function.Björn Steinbrink1-9/+7