summaryrefslogtreecommitdiff
path: root/src/flooritem.h
AgeCommit message (Collapse)AuthorFilesLines
2011-04-26Made the client use a unique kind of movement code.Yohann Ferreira1-7/+5
This is fixng many issues and (hopefully) will make the movement rendering much smoother. Merge branch 'master' of gitorious.org:~bertram/mana/mana-movement-code-merge Conflicts: src/being.cpp src/net/manaserv/beinghandler.cpp Resolves: TMW-Mantis #946. Reviewed-by: Thorbjorn.
2011-04-09Removed a lot of useless "documentation"Thorbjørn Lindeijer1-1/+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-03-29Made the flooritems position set back in pixels.Yohann Ferreira1-7/+5
The position is centered to the nearest tile center in tA.
2010-05-06Add support for floor item spritesJared Adams1-27/+15
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
2010-04-23Add an Actor class to replace the Sprite classJared Adams1-40/+4
The Actor class manages the Map reference, position vector, and alpha float. These are the common parts from it's children.
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-09Pushed away some 32 hardcoded values.Bertram1-1/+2
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 )
2010-01-12Standardize header orderJared Adams1-2/+2
Also remove some extra new lines and fix eAthena's PartyTab define guards.
2009-09-17Partially (but mainly) resolved Mantis #753 by making monsters, NPC, and ↵Bertram1-0/+17
Floor Items visible even covered. Next Step would be to add a caching system for multi-layered sprites + copy functions for SDL and OpenGL. Then, I'll be able to finish this, by making also players visible when covered... But Kage asked me (each and every hour) to do something else first ;)
2009-08-13Clean up Being and it's derivativesJared Adams1-4/+2
Move stuff only needed for Players into Player (like slots and sprite limits). Move name handling into Being (no need for three copies of this code). Clean up terminology (including Map terminology). Remove hair-related variables.
2009-05-10Fixed the problem with items disappearing beneath the roadBjørn Lindeijer1-8/+11
Increased their pixel y coordinate by half a tile, to make them draw between the fringe and the beings.
2009-04-29Removed underscores from some non-conforming filenamesBjørn Lindeijer1-0/+104
We don't use underscores in the filenames generally, and let's be consistent on that matter.