summaryrefslogtreecommitdiff
path: root/src/actorsprite.cpp
AgeCommit message (Collapse)AuthorFilesLines
2010-08-16Move more to the event systemJared Adams1-17/+3
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-12Simplify working with the event systemJared Adams1-3/+3
EventManager has been merged into Event, with some new convinience methods added. Reviewed-by: Chuck Miller
2010-08-03Move Theme and UserPalette to the resources folderJared Adams1-2/+1
Reviewed-by: Yohann Ferreira
2010-08-02Remove non-GUI references to MiniStatusWindowJared Adams1-3/+18
Reviewed-by: Freeyorp
2010-07-08Fix crash in picking up an item that no longer existsremoitnane1-0/+16
Adds ActorSpriteListener to manage ActorSprite destruction as recommended by Jaxad0127. This likewise includes the changes made by Bertram. Reviewed-by: Jaxad0127, Bertram. Resolves: Manasource Mantis #160
2010-06-19This fixes the animation for target cursorsChuck Miller1-10/+5
Also it should optimize it a bit since it only updates used target cursors instead of all target cursors. Reviewed-by: Freeyorp
2010-06-13Merge remote branch '1.0/1.0'Jared Adams1-0/+10
Conflicts: data/graphics/CMakeLists.txt data/graphics/Makefile.am src/client.cpp
2010-06-08Handle not loading target files more gracyfullyChuck Miller1-2/+10
It no longer crashes, but will write to the log file instead Also added checks so it does not crash elsewhere when the target cursors are unloaded The game is still playable without the target cursor because the display name of a being changes when it gets targetted... so no need to be a fatel error. Reviewed-by: Thorbjørn Lindeijer
2010-05-20Buffer layered sprites under SDLJared Adams1-3/+3
This improves framerate and allows transparent overlay for complex sprites. Two copies of the buffer are kept, one at full opacity, one with variable opactiy, to reduce calls to setAlpha. Reviewed-by: Bertram
2010-05-09Move target cursor management into ActorSpriteJared Adams1-6/+115
This simplifies handling of target cursors, centralizing their logic into a single class, instead of two. Also make them more flexible and move the image files outside of the theme so servers can can control them and give them better names. Reviewed-by: Thorbjørn Lindeijer
2010-05-06Add support for floor item spritesJared Adams1-0/+326
This commit adds a sprite hierarchy (Sprite->ImageSprite,AnimatedSprite,CompundSprite; CompoundSprite,Actor->ActorSprite;ActorSprite->Being,FloorItem) to collect common functionailty into new base classes which will make other Mantis tickets easier to do. Also allows monsters to use particle effects. Reviewed-by: Bertram