summaryrefslogtreecommitdiff
path: root/src/floor_item.cpp
AgeCommit message (Collapse)AuthorFilesLines
2007-11-15Moved item icon from ItemInfo class to the Item class, so that it can be loadedBjørn Lindeijer1-7/+4
on demand. Results in faster startup time and reduced memory usage.
2007-03-24Merged 0.0 changes from revision 3177 to 3234 to trunk.Bjørn Lindeijer1-1/+0
2006-12-11Merged 0.0 changes from revision 2825 to 2898 to trunk.Bjørn Lindeijer1-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