summaryrefslogtreecommitdiff
path: root/src/effectmanager.cpp
AgeCommit message (Collapse)AuthorFilesLines
2011-05-26Added effects support in monsters attacks.Yohann Ferreira1-4/+4
This is provided through the use of the 'effect-id' property of the <attack> tag. Note that the 'particle-effect' support has been removed as it was redundant, but can be kept for backward compatibility. Now, on both Manaserv and tA, only the attack id 1 is supported, i.e: <monster> ... <attack id="1" effect-id="11" action="attack" /> </monster> More to come with re-enabling of the attack type support. I had to fix a crash in the Being::takeDamage() function when there were no attacker (in Manaserv), and add rotation support to the effectManager to achieve this. Reviwed-by: Jaxad0127.
2011-05-01Handle the old <being-effects> tag until the 0.5 series has died.Yohann Ferreira1-2/+6
2011-05-01Look for <effects> tags in the effects.xml file.Yohann Ferreira1-1/+1
This, instead, of <being-effects>, which is irrelevant, as effects aren't only used for beings.
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-3/+2
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-3/+0
This merge involved major changes on both sides, and as such took several weeks. Lots of things are expected to be broken now, however, we now have a single code base to improve and extend, which can be compiled to support either eAthena or tmwserv. In the coming months, the plan is to work towards a client that supports both eAthena and tmwserv, without needing to be recompiled. Conflicts: Everywhere!
2009-02-09Merged with Aethyra master as of 2009-02-09Bjørn Lindeijer1-2/+1
Conflicts: A lot of files...
2009-02-09Mostly whitespace fixesBjørn Lindeijer1-4/+4
Removed tab characters and trailing spaces and added spaces between "if(", "for(", "while(" and "switch(".
2009-02-09Fixed up the copyright headersBjørn Lindeijer1-8/+7
Decision is to go with exact authors when some file is basically done by one person, and in most other cases assign TMW or Aethyra team copyright when multiple people from those teams have been involved. Also, the first summary line should now contain the subset of functionality that the file is part of, not the name of the whole project.
2009-02-07Some more include cleanups.Ira Rice1-1/+1
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-07Removed some debug statements, as requested by KageJittai.Ira Rice1-2/+0
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-23Removed unnecessary references to The Mana World in code headersBjørn Lindeijer1-6/+6
This dates back to the old days of TMW, but the usage instructions of GPLv2 don't mention this being necessary. Since it doesn't add anything, avoid the branding in these sections.
2009-01-06Fixed the windows cbp file, deleted some files which we don't use, andIra Rice1-1/+1
fixed a few compiler warnings noticed from building in windows. Signed-off-by: Ira Rice <irarice@gmail.com>
2008-12-26Fixed a potential leak in setup, changed the default border color toIra Rice1-3/+24
white for wallpapers (matches our wallpapers better), and fixed the effect manager. Signed-off-by: Ira Rice <irarice@gmail.com>
2008-12-03Added in the effects manager, which was accidently missing from the lastIra Rice1-0/+85
commit. Signed-off-by: Ira Rice <irarice@gmail.com>
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-1/+0
I don't know why we dealt with these things for so long. Did we ever get anything out of it?
2008-10-31Merged revisions 4071,4093,4100,4363 via svnmerge from Bjørn Lindeijer1-8/+6
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/branches/0.0 ........ r4071 | the_enemy | 2008-04-11 16:12:30 +0200 (Fri, 11 Apr 2008) | 3 lines Players now need to click on the monster sprites rather than the tile. Players will now move to the target before attacking it. ........ r4093 | the_enemy | 2008-04-15 18:10:32 +0200 (Tue, 15 Apr 2008) | 1 line Fixed clicking near player. ........ r4100 | peaveydk | 2008-04-16 13:59:36 +0200 (Wed, 16 Apr 2008) | 1 line Cancel walking to a clicked monster if the target is lost while getting to it (killed or otherwise removed). ........ r4363 | crush_tmw | 2008-06-24 14:42:04 +0200 (Tue, 24 Jun 2008) | 1 line corrected date in changelog ........
2008-10-27add effect handler (by Chuck Miller)Roderic Morris1-1/+0
2008-10-27Add an effects manager (patch by Kage Jittai)Jared Adams1-0/+85