summaryrefslogtreecommitdiff
path: root/src/item.h
AgeCommit message (Collapse)AuthorFilesLines
2011-06-17First pass on removing tile hard coded values.Yohann Ferreira1-0/+2
Every files has been checked against the hard coded 32 values except the map.cpp file. I also added convenience functions in the Game class, centralized the default item icon size, and removed two unused defines in being.cpp.
2011-04-09Removed a lot of useless "documentation"Thorbjørn Lindeijer1-8/+1
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-04-09Removed the Mana namespaceThorbjørn Lindeijer1-2/+2
It's just an annoyance when it's only applied to a few classes. Either we place everything in this namespace or nothing, and at the moment I don't see any rationale for placing everything in a Mana namespace. Acked-by: Jared Adams
2011-04-09Moved Events to Mana::Event::TypeThorbjørn Lindeijer1-2/+2
Acked-by: Jared Adams
2010-11-11Replace Event names with enums instead of stringsChuck Miller1-2/+4
2010-08-26Merged testing branch into master.Yohann Ferreira1-14/+8
2010-08-16Move more to the event systemJared Adams1-0/+4
Most of Net::InventoryHandler is now done through events. The ActorSpriteManager was also replaced by events. A few odds and ends were taken care of too. Reviewed-by: Bertram
2010-05-21Fix some issues found by CppcheckJared Adams1-1/+1
2010-03-08Made two getters constThorbjørn Lindeijer1-2/+2
Reviewed-by: Jared Adams
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 )
2009-10-15Make sure item icons in the invy are full opacityJared Adams1-0/+6
2009-09-14Fix context menu for items in the EquipmentWindowJared Adams1-0/+11
2009-05-10Fixed the problem with items disappearing beneath the roadBjørn Lindeijer1-2/+2
Increased their pixel y coordinate by half a tile, to make them draw between the fringe and the beings.
2009-04-05Remove some more #ifdefsJared Adams1-9/+2
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-2/+9
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.
2009-01-15Style cleanups throughout most of the code. Splitting function type fromIra Rice1-24/+12
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-07-18Import of client treeLloyd Bryant1-1/+1
2008-06-12Merged revisions 3738 via svnmerge from Bjørn Lindeijer1-9/+11
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-0/+13
on demand. Results in faster startup time and reduced memory usage.
2007-10-19Fixed invalid item ID.Guillaume Melquiond1-1/+1
2007-08-01Fixed update of equipment flag, so that items can be equipped properly.Guillaume Melquiond1-2/+1
2007-07-31Removed legacy inventory code. Added display of equipment.Guillaume Melquiond1-32/+1
2006-12-11Merged 0.0 changes from revision 2825 to 2898 to trunk.Bjørn Lindeijer1-2/+2
2006-11-23Refectored the Itemmanager class to an ItemDB namespace.Philipp Sehmisch1-2/+2
2006-09-03Introduced SelectionListener to fix updating problem in inventory windowBjørn Lindeijer1-1/+1
(should also be used to fix similar problem in trade, buy and sell dialogs). Made the ItemInfo be passed around as a reference instead of a pointer, since it is never NULL.
2005-10-09Fixed player names overlapping other players and more cleanups.Bjørn Lindeijer1-4/+4
2005-10-07Modified finding NPC as by timonator's suggestion in order to allow NPCs to beBjørn Lindeijer1-86/+99
clicked on their heads too. Also made start to tile engine improvement by adding the Sprite class that is now used by the floor items for being displayed on the map. Finally added documentation to Item class and splitted out Properties class from Map.
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-1/+1
2005-07-17Added Item and Equipment class and made the appropriate places make use of ↵Björn Steinbrink1-0/+119
them. Plus some cleanups.