summaryrefslogtreecommitdiff
path: root/src/net/manaserv/inventoryhandler.cpp
AgeCommit message (Collapse)AuthorFilesLines
2010-03-25Remove the type boolean from InventoryWindowJared Adams1-9/+9
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-19Fixed a crash when trying to switch serversThorbjørn Lindeijer1-3/+3
Ownership of the charInfo global variable wasn't well defined. It was being locked, unlocked and generally modified from a lot of places, and somewhere in this mess it ended up crashing when switching servers. Now the CharHandler instances, for eAthena and manaserv respectively, own this list of characters. A new class, Net::Character wraps up the slot index in combination with the player dummy. The list is passed on to the CharSelectDialog each time it changes. Both related and unrelated cleanups were made as well. Reviewed-by: Jared Adams
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.
2009-12-08Fix handling of an enum switchJared Adams1-2/+1
Removes warnings on older compilers.
2009-12-07Simplify Equipment handlingJared Adams1-2/+3
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-07More eAthena guild stuffJared Adams1-10/+15
Also some related chenges elsewhere
2009-11-03Simplify ManaServ netcode some moreJared Adams1-10/+17
2009-11-03Remove more _SUPPORT ifdefs and do some cleanupJared Adams1-12/+20
2009-10-24REplace instances of TMW with ManaJared Adams1-0/+167