summaryrefslogtreecommitdiff
path: root/src/gui/trade.cpp
AgeCommit message (Collapse)AuthorFilesLines
2012-01-16Renamed some file names for consistency with the class namesThorbjørn Lindeijer1-315/+0
This was already done by ManaPlus. It's a good idea anyway and it makes comparing the code a little easier. Reviewed-by: Yohann Ferreira
2010-08-26Merged testing branch into master.Yohann Ferreira1-12/+0
2010-08-12Simplify working with the event systemJared Adams1-1/+1
EventManager has been merged into Event, with some new convinience methods added. Reviewed-by: Chuck Miller
2010-08-01Reduce localChatTab presence replacing it with the event systemChuck Miller1-6/+4
Reviewed-By: Jared Adams
2010-07-18Move more from LocalPlayer to PlayerInfoJared Adams1-1/+1
Also cleanup PlayerInfo a bit. Reviewed-by: Chuck Miller
2010-07-17Modify how attributes and stats are handledChuck Miller1-3/+4
Handling moved from LocalPlayer to PlayerInfo class Event system used to update windows Reviewed-by: Jared Adams
2010-03-25Remove the type boolean from InventoryWindowJared Adams1-4/+2
This moves inventory/storage type into the Inventory class, having size default to a call to the netcode to get the sive for the given type. Reviewed-by: Chuck Miller
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
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/+1
Also remove some extra new lines and fix eAthena's PartyTab define guards.
2010-01-11Cleanup GUI classesJared Adams1-1/+1
Moved remaining widgets into widgets folder, standardized include order, moved TextRenderer out.
2010-01-10Change code styleAndrei Karas1-6/+7
2009-11-07More eAthena guild stuffJared Adams1-2/+2
Also some related chenges elsewhere
2009-11-03Remove more _SUPPORT ifdefs and do some cleanupJared Adams1-2/+5
2009-08-07Gettext fixesKess Vargavind1-2/+2
Trying to use the same kind of capitalization and interpunctuation for various parts of the gui, melding a few split strings, updating POTFILES.in and adding translators' notes.
2009-07-31(Turmfalke patch) Added a scroll lock when resizing the Chat Window and ↵Bertram1-0/+3
taller grab point.
2009-07-31(Turmfalke patch) Show inventory window at trading start if it isn't visible.Bertram1-1/+1
Better than cancelling the trade. Fixed Mantis 800.
2009-07-23Clear some more support ifdefsJared Adams1-0/+2
2009-05-21Fixed a few strings for better translationKess Vargavind1-1/+1
Just a few notes that would help us translators immensly: * Please do not split one sentence into several strings * Please try to refrain from inserting extra spaces into the strings
2009-05-06Clean up the bypass code for the ItemAmountWindowJared Adams1-9/+2
2009-05-03Moved strprintf into stringutils.{h,cpp}Bjørn Lindeijer1-1/+0
2009-04-29Removed underscores from some non-conforming filenamesBjørn Lindeijer1-1/+1
We don't use underscores in the filenames generally, and let's be consistent on that matter.
2009-04-22FIx trading under eAthenaJared Adams1-5/+3
2009-04-21Trade system - Removing debug informationsblue1121-2/+2
Remove forgotten debug information on the GUI
2009-04-21Trade systemblue1121-17/+46
Handler & GUI modification, to make the three steps systems working. Protocol changes for the same reason Player.cpp changes because it uses the cancel method which signature has changed
2009-04-19Made ItemContainer wrap items depending on its width againBjørn Lindeijer1-3/+7
This is instead of taking a fixed number of rows and columns. The inventory and trade window are now resizable again. Other smaller changes: * Don't use bold font for the labels in the item container * Changed "(Eq)" back to "Eq." * Removed the ugly grid lines
2009-04-15Merge the trade dialogJared Adams1-80/+40
2009-04-07Moved basic widgets into the gui/widgets directoryBjørn Lindeijer1-5/+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-04-06Add TMWServ's SkillHandlerJared Adams1-3/+2
Also namespace both Player- and TradeHandlers
2009-04-03Fill in TMWServ's TradeHandlerJared Adams1-39/+5
Also started temparary implementation of the Net::getXHandler() methods and started using them.
2009-04-02Fixed number of trade window slotsBjørn Lindeijer1-7/+4
On eAthena you can only trade up to 10 items at a time. For now I don't care whether tmwserv would handle more, we'll unify that later. It's not so nice anyway to hardcode the number of rows and columns in my opinion.
2009-03-31Implement a few more handlers for eAthenaJared Adams1-33/+35
Party, skill, and trade handlers made for eAthena.
2009-03-30Fix a bug in tradeJared Adams1-2/+3
There's still an offset problem that I can't figure out.
2009-03-27Moved the inventory and storage offset handling into netcodeBjørn Lindeijer1-7/+4
No need to complicate the item containers and inventory classes with a silly offset used by the eAthena server. Also fixed the logToStandardOut option by reading it from the config after the configuration has been initialized.
2009-03-27Clean up of most of the Network pointersBjørn Lindeijer1-5/+0
Now that messages can be sent without requiring a pointer to the Network instance, a lot of cleanup was possible.
2009-03-27Made eAthena's Network class statically accessibleBjørn Lindeijer1-12/+6
Now the instance doesn't need to be passed into the MessageOut class anymore. Expect a lot of cleanup in the next commit.
2009-03-27Clean up chat and chat tabs some moreJared Adams1-1/+1
2009-03-27Fixed inventory window. Not resizable though.Bjørn Lindeijer1-11/+3
Resizing of the inventory window may come back later. Also did some more code cleanups, moving defines to enums, getting rid of eAthena-specific offset handling (to be done in the network layer), etc. Mantis-issue: 666
2009-03-26Major clean up of ChatTab handlingJared Adams1-1/+1
ChatTabs now manage their own adding/removal from the chat window, which lost most of it's chat related messages. Whisper handling is stil done by the ChatWindow, but it no longer manages any other tabs. ChannelTab handling is now the sole responsability of the Channels they are attached to. The general tab is handled by Game.
2009-03-27Compile warning fixesBjørn Lindeijer1-1/+1
Mostly unsigned/signed mismatches and an unused variable.
2009-03-26Remove redundancy, fix variable names and other code cleanupsBjørn Lindeijer1-11/+12
2009-03-25Merge branch 'eathena/master'Bjørn Lindeijer1-33/+54
Conflicts: A lot of files.
2009-03-23Merge branch 'aethyra/master'Bjørn Lindeijer1-46/+37
Conflicts: Many files.
2009-03-23Move all TMWServ-specific code to net/tmwservJared Adams1-1/+1
Also fix several instances where the same net handler was being used for both servers, and a few other related oddities.
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-47/+123
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-19Simplified trading dialog controls.Ira Rice1-28/+19
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-18Fix up the NPC interraction widnows a bitJared Adams1-13/+14
2009-03-14Made a label class derived from the guichan label class which utilizesIra Rice1-5/+4
the palette colors. While technically, this can be accomplished through other means, it's rather clumsy overall, and is prone to introducing in programmer errors. This commit finally catches every case where text is used, and applies the text color from the color dialog to each of them appropriately. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-11Don't move stuff from inventory when not visibleJared Adams1-0/+2