summaryrefslogtreecommitdiff
path: root/src/actorspritemanager.cpp
AgeCommit message (Collapse)AuthorFilesLines
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2012-01-22Prevented looking at item when picking up while movingErik Schilling1-5/+10
+ Fixes from Bjorns review. Reviewed-by: Bjorn.
2012-01-19Fixed the click area for NPCs and other playersThorbjørn Lindeijer1-8/+17
By taking into account that the sprite is drawn half a tile lower than the position of the being (that is messy on its own, but hard to fix while supporting both pixel and tile based movement). It also makes sure that the click area is at least 32x32 pixels, no matter how small the being. This fixes the lack of a clickable area for NPCs without a sprite (like some chests or signs) and makes small monsters like maggots easier to hit. Reviewed-by: Yohann Ferreira
2012-01-10player_node -> local_playerYohann Ferreira1-9/+9
Reviewed-by: Ablu
2011-06-17First pass on removing tile hard coded values.Yohann Ferreira1-3/+13
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-06-03Replace SDL_types.h with cstdintJared Adams1-2/+2
This required moving to C++0x, so it does that too, and fixes a few errors with that. Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2011-03-29Made the flooritems position set back in pixels.Yohann Ferreira1-2/+2
The position is centered to the nearest tile center in tA.
2010-12-06Removed superfluous #includes taken from checkheaders list.Yohann Ferreira1-1/+0
Resolves: Mana-Mantis #265. Trivial fix.
2010-09-25Merge branch '1.0'Thorbjørn Lindeijer1-16/+48
Conflicts: src/actorspritemanager.h src/beingmanager.cpp src/game.cpp src/gui/beingpopup.cpp src/gui/chat.cpp src/gui/chat.h src/gui/inventorywindow.h src/gui/itempopup.cpp src/gui/socialwindow.cpp src/gui/statuswindow.cpp src/gui/widgets/chattab.cpp src/gui/widgets/chattab.h src/net/tmwa/inventoryhandler.cpp src/net/tmwa/partyhandler.cpp src/party.cpp src/sound.cpp src/utils/stringutils.cpp src/utils/stringutils.h
2010-08-16Move more to the event systemJared Adams1-3/+0
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-08-04Remove some unused headers and fix some chat eventsJared Adams1-2/+0
Reviewed-by: Chuck Miller
2010-08-02Fix some bugsJared Adams1-0/+3
Trivial fixes.
2010-08-02Remove non-GUI references to MiniStatusWindowJared Adams1-4/+0
Reviewed-by: Freeyorp
2010-06-20Fix ActorSprite double deletionAndrei Karas1-8/+11
Also replaces std::list to std::set in actorspritemanager. Reviewed-by: Chuck Miller <shadowmil@gmail.com>
2010-06-12Fix crash after die.Andrei Karas1-0/+3
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-06-10Merge BeingManager and FloorItemManager as ActorSpriteManagerJared Adams1-0/+312
No need for two different classes to manage ActorSprites. Reviewed-by: Chuck Miller