summaryrefslogtreecommitdiff
path: root/src/equipment.h
AgeCommit message (Collapse)AuthorFilesLines
2024-02-09C++11: Use default member initializersThorbjørn Lindeijer1-4/+2
This patch is not exhaustive.
2024-01-26Apply C++11 fixitsThorbjørn Lindeijer1-3/+3
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2011-08-18Made the client able to successfully equip/unequip!Yohann Ferreira1-3/+22
2011-08-18Got rid of the superfluous definition of the slot number for tA.Yohann Ferreira1-2/+0
2011-04-09Removed a lot of useless "documentation"Thorbjørn Lindeijer1-6/+0
I have to admit I contributed a large part of these. Sorry for that. Less empty space, more attention to the code. Acked-by: Jared Adams
2011-01-24Refactored the item loading in a more extensible and per protocol way.Yohann Ferreira1-16/+0
This will greatly help into upgrading the need of each protocol separately. This is the first step to a new item and equipment system for manaserv. A subclassing of the EquipmentWindow will be done in the next commit, as requested by Thorbjorn. Reviewed-by: Thorbjorn.
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-28Added virtual destructors, some implicit casts, and a couple of type changes.Daniel Bradshaw1-0/+1
Many warnings removed. Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2010-01-12Standardize header orderJared Adams1-2/+2
Also remove some extra new lines and fix eAthena's PartyTab define guards.
2009-12-07Simplify Equipment handlingJared Adams1-7/+17
Also merge eAthena's EquipmentHandler and InventoryHander. Fixes http://mantis.themanaworld.org/view.php?id=888 .
2009-07-21Merge equipment handling and fix some bugsJared Adams1-39/+17
2009-04-06Moved many MessageOut constructions aroundBjørn Lindeijer1-1/+1
No real point in having these abstracted away twice. We're using network interfaces now instead of functions structured in namespaces.
2009-03-27Moved the inventory and storage offset handling into netcodeBjørn Lindeijer1-2/+2
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-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-2/+34
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-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.
2008-11-28Sanity-check index for Equipment::removeEquipment(int)Fate1-1/+1
2008-11-22Fixed warning about passing NULL for a non-pointerBjørn Lindeijer1-9/+5
Encountered by z0ro.
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-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-11-06Have equipment tied into player inventory instead of keeping its own list of ↵Dennis Friis1-11/+6
pointers to items. This ensures the ressource is up-to-date and avoids crashes on stale item pointers.
2008-06-12Merged revisions 3738 via svnmerge from Bjørn Lindeijer1-3/+3
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. ........
2007-11-15Moved item icon from ItemInfo class to the Item class, so that it can be loadedBjørn Lindeijer1-6/+11
on demand. Results in faster startup time and reduced memory usage.
2007-08-08Fixed position of the cleaning bit for looks, so that it actually fits into ↵Guillaume Melquiond1-3/+7
network data.
2007-08-08Re-designed equipment window, un-equip created.Joshua Langley1-1/+1
2007-07-31Removed legacy inventory code. Added display of equipment.Guillaume Melquiond1-30/+6
2006-03-08Use STL algorithms and make destructor inline.Björn Steinbrink1-5/+0
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-19/+9
2005-10-09* Made Sprite into an interface implemented by both FloorItem and Being, whichBjørn Lindeijer1-53/+41
hook themselves into the map on construction. The improved fringe layer is working as expected now. * Made sure TMW compiles without warnings even when using "-Wconversion -Wshadow -Wcast-qual -Wwrite-strings -ansi -pedantic", lots of cleanups. * Added two new small tilesets that contain the desert tiles that are twice and three times the height of a normal tile. One well in new_3-1 has been converted to use the new double tiles for testing purposes.
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-1/+1
2005-07-23* docs/HACKING.txt: Added info about member naming and ChangeLogBjørn Lindeijer1-0/+7
format. * src/gui/updatewindow.h, src/gui/updatewindow.cpp: Changed member names, set a 15 second timeout for connecting to update server and restore some doxygen comments.
2005-07-17Added Item and Equipment class and made the appropriate places make use of ↵Björn Steinbrink1-0/+99
them. Plus some cleanups.