summaryrefslogtreecommitdiff
path: root/src/being.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-01-05Handling gender with an enum everywhere.Philipp Sehmisch1-3/+4
(cherry picked from mainline commit d3adc61aa4b4924f82d8cbc23bea26da7257da97) Conflicts: src/net/beinghandler.cpp src/net/charserverhandler.cpp src/player.cpp src/player.h
2009-01-05Renamed PATH_NODE to Position as on mainlineBjørn Lindeijer1-8/+8
2008-12-14Fixed follow-parent of nested and being-following particle emittersPhilipp Sehmisch1-2/+2
2008-12-13Code style reformattingBjørn Lindeijer1-32/+17
Got rid of "void" in functions that take no arguments and removed the newline after the return type of a method in many places.
2008-12-09Only play status effect sound effects for localplayerFate1-2/+0
2008-12-09Defer re-adding of particles to next call to Being::logic() to avoid crashFate1-1/+15
2008-12-09Status particle effects: when looking up block IDs (effect IDs for otherFate1-6/+6
players), make sure to initialise if needed Status particle effects: properly delete particles after effect has worn off
2008-12-08Mostly code reformattingBjørn Lindeijer1-2/+3
2008-12-08Code reformattingBjørn Lindeijer1-38/+20
I wish I had never fallen for this weird style, and I hope removing it will prevent others from introducing new code like this. :-)
2008-12-08Introduced another template to make deleting all values in a container easier.Bjørn Lindeijer1-2/+1
Inspired by qDeleteAll() from Qt. Conflicts: ChangeLog src/beingmanager.cpp src/channelmanager.cpp src/gui/skill.cpp src/map.cpp src/resources/monsterinfo.cpp (cherry picked from mainline)
2008-12-07Added client-side status change handlers (text, icon, particle effect, audio).Fate1-0/+63
2008-12-06Added particle containers and refactored beings to use them (to clean up ↵Fate1-29/+5
responsibilities a little)
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
I don't know why we dealt with these things for so long. Did we ever get anything out of it?
2008-11-01* Use hair.xml to determine hair colours (#514)Fate1-4/+91
* Auto-detect number of hair styles available (#514)
2008-08-28Accepted Patch by Scraggy that moves text in such a way that no text overlapsBjørn Lindeijer1-19/+31
2008-08-28Added support for being effects through the eAthena levelup message, and checkBjørn Lindeijer1-1/+102
whether the being exists before referencing it. Re-enabled proper MP bar display. Improved handling of a warp to the same map.
2008-05-28Change order of direction to up/down/right/left in Being::getSpriteDirection ↵Dennis Friis1-4/+4
to fix inconsistancy of facing direction when walking diagonally.
2008-05-14Added ability to define friends, players you want to ignore or disregard andBjørn Lindeijer1-1/+1
configure whether trading is allowed. Based on new popup code, configuration improvements to store hierarchical data and a table model.
2008-04-10Fixed compile warning.Bjørn Lindeijer1-1/+1
2008-04-07Merged changes made for the 0.0.24.1 release (4046:4048 from 0.0.24 branch).Bjørn Lindeijer1-3/+5
2008-02-12Made pathfinding not halt on collision destination tile, made moving around ↵Eugenio Favalli1-0/+6
with mouse smoother. Added possibility to pass through players with key controls.
2007-12-28Added the possibility to assign particle effects to monsters in the monster ↵Philipp Sehmisch1-1/+2
database. Added flame particle effect to fire goblin as a proof of concept.
2007-12-10Include cassert header.Bjørn Lindeijer1-1/+2
2007-12-10Simplified player subsprite handling by treating equipment, hairstyle and ↵Philipp Sehmisch1-4/+7
base sprites alike. Implementing female hairstyles is now a purely content-sided task.
2007-11-21Merged revisions 3705-3711,3714,3718,3721-3722,3729-3731,3735,3742 via ↵Bjørn Lindeijer1-16/+3
svnmerge from https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk (dynamic recoloring of sprites and related changes) ........ r3705 | gmelquio | 2007-11-03 10:58:25 +0100 (Sat, 03 Nov 2007) | 1 line Fixed double load of hair graphics. ........ r3706 | gmelquio | 2007-11-03 22:04:51 +0100 (Sat, 03 Nov 2007) | 1 line Added automatic recoloring of images. Inspired by fungos' ideas (PR #41). ........ r3707 | gmelquio | 2007-11-03 22:08:21 +0100 (Sat, 03 Nov 2007) | 1 line Experimented recoloring on scorpions. ........ r3708 | gmelquio | 2007-11-04 12:52:44 +0100 (Sun, 04 Nov 2007) | 1 line Tightened palette handling. ........ r3709 | gmelquio | 2007-11-04 12:54:31 +0100 (Sun, 04 Nov 2007) | 1 line Experimented with scorpions again. ........ r3710 | gmelquio | 2007-11-04 16:40:37 +0100 (Sun, 04 Nov 2007) | 1 line Applied recoloring to hair styles. ........ r3711 | gmelquio | 2007-11-04 17:50:37 +0100 (Sun, 04 Nov 2007) | 1 line Converted slimes to recoloring. ........ r3742 | gmelquio | 2007-11-16 14:16:00 +0100 (Fri, 16 Nov 2007) | 1 line Sped up recoloring of transparent pixels. ........
2007-11-20Merged revisions 3629-3630 via svnmerge from Bjørn Lindeijer1-3/+3
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk (but kept looks in Being class, since eAthena works that way) ........ r3629 | gmelquio | 2007-10-18 21:00:38 +0200 (Thu, 18 Oct 2007) | 1 line Removed player looks from generic beings. Prevented client termination on missing sprites. Merged weapon-type and attack-type fields for items. ........ r3630 | gmelquio | 2007-10-18 21:30:57 +0200 (Thu, 18 Oct 2007) | 1 line Fixed changelog message. ........
2007-09-20Merged a bunch of small changes from trunk to 0.0 and set svn:eol-style Bjørn Lindeijer1-2/+2
to native for some files that were still missing this property. This is a feeble attempt to reduce the amount of conflicts for future merges.
2007-08-30Merged equipment database with items database and got rid of the unused itemBjørn Lindeijer1-1/+1
art attribute. Removed the now unnecessary multiplication of weapon IDs with 10000. Added a fallback item icon and used it for unknown items or when an item image fails to load.
2007-08-23Changed XP gaining effect to appear on the player instead.Bjørn Lindeijer1-10/+0
2007-08-23Removed two useless popup related methods, used generic close buttonBjørn Lindeijer1-14/+14
functionality for the debug window and renamed Particle::mVector to Particle::mVelocity for clarity.
2007-08-20Added monster killed xp notification effect.Joshua Langley1-0/+12
2007-07-11Weapon sprites are now (almost) threated like other equipment sprites ↵Philipp Sehmisch1-57/+7
through the equipment sprite database. (use -u to ignore updates)
2007-06-11Fixed a bug that prevented being-controlled particles from being deleted ↵Philipp Sehmisch1-2/+11
(thanks to tuchs for reporting).
2007-05-23Changed argument order in text particle creation.Philipp Sehmisch1-3/+1
2007-05-23The color values of text particles are now stored in 3 integers instead of a ↵Philipp Sehmisch1-1/+1
Guichan color structure.
2007-05-23A bunch of lingering syntactical changes.Bjørn Lindeijer1-2/+2
2007-05-07Fixed positioning of monster names and target circles.Philipp Sehmisch1-0/+26
2007-05-04Merged particle engine into main eAthena branch.Philipp Sehmisch1-38/+60
2007-03-21Renamed Spriteset to ImageSet.Bjørn Lindeijer1-7/+7
2007-02-20Now different sounds can play when a monster misses the player.Bjørn Lindeijer1-1/+9
2007-02-02Made Engine class even more useless by moving emoticon loading into Being.Bjørn Lindeijer1-6/+21
2006-12-14Removed the rather useless remaining draw function from the engine class andBjørn Lindeijer1-20/+13
fixed an issue with fading out damage texts (they were sometimes fully opaque at the end of fading out).
2006-12-09Use new animation system in character selection/creation. Shows equipment andBjørn Lindeijer1-1/+2
allowed for some cleanup. Had a bit of help from the patch by VictorSan.
2006-12-01Monster sound effect patchPhilipp Sehmisch1-27/+33
2006-11-26Made Being::mDirection protected, forcing the use of setDirection. DefaultedBjørn Lindeijer1-1/+2
variant argument to 0 since this is the most common situation. Some SpriteDef refactoring, splitting up the loading into several methods, in preparation of adding support for including other sprites.
2006-11-26Equipment database namespace and support for gender specific equipment spritesPhilipp Sehmisch1-2/+4
2006-11-19Separated sprite definition from playback.Bjørn Lindeijer1-14/+0
2006-11-05fixed a typo in last commitPhilipp Sehmisch1-2/+2
2006-11-04added scythe as a permanent weapon. Philipp Sehmisch1-1/+13
When you want to test it: either spawn an item with the id 623 or uncomment the lines 439-441 in being.cpp to use the sharp knive as scythe.
2006-10-29Properly initialize sprite vector.Björn Steinbrink1-2/+2