summaryrefslogtreecommitdiff
path: root/src/net/ea/inventoryhandler.cpp
AgeCommit message (Collapse)AuthorFilesLines
2010-04-17Changed eAthena protocol name to TmwAthena and changed the config files ↵Bertram1-519/+0
accordingly. This makes room for the actual eAthena protocol future inclusion.
2010-03-25Remove the type boolean from InventoryWindowJared Adams1-12/+14
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-03-25Merge StorageWindow into InventoryWindowJared Adams1-3/+1
Reviewed-by: Chuck Miller
2010-02-26Simplify arrow handling for eAthenaJared Adams1-8/+2
Reviewed-by: Thorbjørn Lindeijer
2010-02-24Move StorageWindow to instancing intead of globalJared Adams1-23/+55
Also make storage under eAthena more flexible. Reviewed-by: Dennis Friis
2010-02-24Add more to eAthena guild supportJared Adams1-1/+1
It's not complete yet, but it is closer. Also fix up handling of guild/party members. 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-5/+5
Also remove some extra new lines and fix eAthena's PartyTab define guards.
2010-01-10Change code styleAndrei Karas1-14/+15
2009-12-08Fix handling of an enum switchJared Adams1-2/+1
Removes warnings on older compilers.
2009-12-07Fix bugs in eAthena's equipment handlingJared Adams1-7/+7
Do a bit of cleanup too.
2009-12-07Simplify Equipment handlingJared Adams1-6/+114
Also merge eAthena's EquipmentHandler and InventoryHander. Fixes http://mantis.themanaworld.org/view.php?id=888 .
2009-12-02Centralize netcode handler instances in NetJared Adams1-1/+1
Instead of each netcode making the global variables and Net referencing them, Net now makes them and the netcodes reference them. Also remove an innappropriate ChatHandler reference from eA's AdminHandler.
2009-11-14Fix display of non-existing items in storage windowStefan Dombrowski1-10/+2
If there are only equipable items in the storage, then the server does not send a SMSG_PLAYER_STORAGE_ITEMS message. In that case the storage did not get cleared.
2009-11-07More eAthena guild stuffJared Adams1-8/+14
Also some related chenges elsewhere
2009-11-03Remove more _SUPPORT ifdefs and do some cleanupJared Adams1-1/+11
2009-09-14Fix context menu for items in the EquipmentWindowJared Adams1-1/+2
2009-07-23Fix adding to existing item in inventoryJared Adams1-0/+5
2009-07-22Fix bug with clearing inventory on map warpJared Adams1-0/+1
2009-07-21Fix handling of odd equipable itemsJared Adams1-6/+1
2009-07-21Merge equipment handling and fix some bugsJared Adams1-2/+5
2009-07-13Some item pickup cleaningJared Adams1-28/+11
Still need to find where to attach LocalPlayer::pickedUp for TMWServ.
2009-06-29Remove local remove of items from equipment window when unequipping.Dennis Friis1-3/+0
2009-05-24Made the "a" part in "You picked up a ..." translatableBjørn Lindeijer1-1/+3
Mantis-issue: 704
2009-05-23Fixed a few strings for better translationKess Vargavind1-3/+6
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 (cherry picked from commit 9712489ef67f95d6a5fa1fc3102bb7c4ee6a1f59)
2009-05-12Remove methods from LocalPlayer that just call NetJared Adams1-0/+4
And make a few others like that, and remove them too.
2009-05-06Remove more inventory handling support #ifdefsJared Adams1-5/+15
This also fixes some minor bugs and centralizes some logic.
2009-05-04Fix link colors and item links for pickup messagesJared Adams1-2/+2
2009-05-03Moved strprintf into stringutils.{h,cpp}Bjørn Lindeijer1-1/+0
2009-04-13Some cleanup of the Configuration interfaceBjørn Lindeijer1-3/+3
Mainly avoid all the convertions from integer to float and then to string and also back from string to float and then to integer.
2009-04-05Implement TMWServ's NpcHandlerJared Adams1-2/+2
2009-04-06Use a namespace to keep apart implementations of network handlersBjørn Lindeijer1-0/+4
Since we'll have three "InventoryHandler" classes, etc. this shows an example of how we can compile with all of them at the same time using namespaces. We'll have: Net::InventoryHandler - the interface EAthena::InventoryHandler - the eAthena implementation TmwServ::InventoryHandler - the tmwserv implementation Maybe we'll find a better way later, but for now this works. I'm not convinced yet that using namespaces is better than just using longer class names like EAthenaInventoryHandler.
2009-04-02Some cleanup and renamingBjørn Lindeijer1-2/+12
* Removed superfluous 'virtual' keyword in *Handler implementations * Renamed NPCHandler to NpcHandler * Renamed InvyHandler to InventoryHandler * Made all *Handler interface methods pure virtual * Used forward declarations in net.h * Renamed {start,end}Shoping to {start,end}Shopping
2009-04-02Fixed an inventory offset that I missed previouslyBjørn Lindeijer1-3/+3
When confirming item add for trade, the inventory offset was not substracted from the item index.
2009-04-01Make eAthena's inventory handlerJared Adams1-0/+63
Also cleanup some related #ifdefs in LocalPlayer.
2009-03-27Moved the inventory and storage offset handling into netcodeBjørn Lindeijer1-39/+65
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 chat and chat tabs some moreJared Adams1-1/+2
2009-03-27Include statement cleanup for net/ea/ directory.Bjørn Lindeijer1-16/+18
2009-03-26Major clean up of ChatTab handlingJared Adams1-3/+3
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-25Merge branch 'eathena/master'Bjørn Lindeijer1-32/+73
Conflicts: A lot of files.
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-0/+227
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!