summaryrefslogtreecommitdiff
path: root/src/equipment.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-03-27Moved the inventory and storage offset handling into netcodeBjørn Lindeijer1-1/+7
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-25A host of code style fixesBjørn Lindeijer1-1/+1
Mostly putting & and * in the right place and making some getters const.
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-2/+40
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-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/+1
Removed tab characters and trailing spaces and added spaces between "if(", "for(", "while(" and "switch(".
2009-02-07Some more include cleanups.Ira Rice1-2/+0
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-15Style cleanups throughout most of the code. Splitting function type fromIra Rice1-2/+1
the function names should no longer be around. Signed-off-by: Ira Rice <irarice@gmail.com>
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-2/+0
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-11-06Ported a patch by Peavey on TMW to keep all item pointers inside of Ira Rice1-20/+9
inventory. For us, this should get rid of the arrow crashing bug, if it still exists (been a few weeks since I've heard of it happening now).
2008-10-01Reduced arrow equipping so that it only does what it needs to do. Ira Rice1-11/+0
Hopefully, this is the arrow bug. If not, then there's no way that this bug is not shared by both TMW and Aethyra.
2008-10-01Possible fix for the arrow crashing bug. Confirmation needed.Ira Rice1-1/+2
2008-09-25Merged the Tametomo branch into trunk.Ira Rice1-2/+0
2008-08-18Fixed bugs with new arrow typesLloyd Bryant1-0/+18
2008-07-18Import of client treeLloyd Bryant1-1/+1
2008-06-12Merged revisions 3738 via svnmerge from Bjørn Lindeijer1-3/+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. ........
2007-11-15Moved item icon from ItemInfo class to the Item class, so that it can be loadedBjørn Lindeijer1-1/+23
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-1/+1
network data.
2007-07-31Removed legacy inventory code. Added display of equipment.Guillaume Melquiond1-20/+3
2006-03-08Use STL algorithms and make destructor inline.Björn Steinbrink1-14/+8
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-12/+6
2005-10-09* Made Sprite into an interface implemented by both FloorItem and Being, whichBjørn Lindeijer1-3/+24
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/+2
2005-07-23* docs/HACKING.txt: Added info about member naming and ChangeLogBjørn Lindeijer1-3/+4
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-19Add a missing member initialisation in the constructor that causeCedric Borgese1-0/+1
a crash when trying to open the equipment window.
2005-07-17Added Item and Equipment class and made the appropriate places make use of ↵Björn Steinbrink1-0/+37
them. Plus some cleanups.