summaryrefslogtreecommitdiff
path: root/src/floor_item.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-04-29Removed underscores from some non-conforming filenamesBjørn Lindeijer1-69/+0
We don't use underscores in the filenames generally, and let's be consistent on that matter.
2009-04-15Some PopupMenu cleanups/fixes and additions.Tametomo1-0/+5
Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-03-06Got rid of Sint{8,16,32} and Uint32 for being IDBjørn Lindeijer1-5/+5
Using unsigned rarely makes sense, especially when the server doesn't use it either. Other uses of unsigned should be reviewed. In all other cases, int is the fastest integer type on any architecture. Using 8 or 16 bits can basically only be a memory optimization.
2009-02-07Some more include cleanups.Ira Rice1-0/+16
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.
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-3/+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-07-18Import of client treeLloyd Bryant1-1/+1
2008-06-12Merged revisions 3738 via svnmerge from Bjørn Lindeijer1-7/+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-03-21Renamed Spriteset to ImageSet.Bjørn Lindeijer1-1/+0
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-2/+2
(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.
2006-08-17the item icons are now stored in different files with more descriptive namesPhilipp Sehmisch1-3/+2
2006-07-24Implemented caching of spritesets, including a lot of cleanups to the newBjørn Lindeijer1-2/+1
animation system. Action now refers to the Spriteset directly and AnimatedSprite refers to the current Action directly instead of using the std::map with a std::string constantly. Some methods and parameters are marked as const. The READ_PROP macro was replaced by static methods. Warnings are logged when unnamed actions are defined or when actions refer to undefined imagesets. Code is more tolerant towards missing actions.
2006-03-09Added Spriteset::get() and Spriteset::size() to hide the member vector and ↵Björn Steinbrink1-1/+1
remove the weird mySpriteset->spriteset stuff.
2006-02-26Got rid of .cvsignore files and converted them to svn:ignore properties.Bjørn Lindeijer1-0/+0
2006-02-06Added a FloorItemManager class.Björn Steinbrink1-68/+0
2006-01-31Various small cleanups.Björn Steinbrink1-2/+6
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-2/+2
2005-10-09Fixed player names overlapping other players and more cleanups.Bjørn Lindeijer1-1/+0
2005-10-09* Made Sprite into an interface implemented by both FloorItem and Being, whichBjørn Lindeijer1-10/+3
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-10-07Modified finding NPC as by timonator's suggestion in order to allow NPCs to beBjørn Lindeijer1-11/+61
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-09-13Merged with SDL_NET_TEST branch.Björn Steinbrink1-13/+4
2005-08-25Move extern declaration of the floor item list. Lower indentation level.Björn Steinbrink1-9/+17
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-1/+0
2005-03-01Deleting subx and suby for items, because it's uselessJan-Fabian Humann1-1/+0
2005-03-01Attempt part 2.Bjørn Lindeijer1-0/+82
2005-03-01An attempt to get rid of executable permissions.Bjørn Lindeijer1-82/+0
2005-02-28Adding support for drop items part 1/2Jan-Fabian Humann1-0/+82