summaryrefslogtreecommitdiff
path: root/src/particle.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-05-03Added rotational particles, and added code to show arrows when a player ↵Chuck Miller1-1/+6
shoots them.
2009-04-14Start a MathUtils fileJared Adams1-1/+1
It has fast(inv)sqrt and weightedAverage. Also cleanup the last ocmmit a bit.
2009-03-23Merge branch 'aethyra/master'Bjørn Lindeijer1-20/+24
Conflicts: Many files.
2009-03-17Added an image merge feature loosely based on a merge function found inIra Rice1-20/+24
the open source project Wormux. To improve SDL performance, the number of layers that are pushed out to the hardware or software buffers should be reduced, which is where this function comes into play, as it combines two surfaces together so that the number of blit operations is reduced. This function is currently not used, but will be used once a good way to link each of the target systems is determined so that it only initiates when SDL is enabled, as well as making sure that each hook that uses this function is benefiting from it sufficiently. At the moment, it's suspected that the particle engine will likely be the most likely to benefit from this function, followed by tile drawing, then sprite drawing. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-12Make use of the new available colorsMajin Sniper1-12/+5
This patch lets all being derivatives use the palette to set their name's colors. Text Particle Effects all respect the new settings. Some widgets were updated to use the colors.
2009-03-12Make use of the new available colorsMajin Sniper1-12/+5
This patch lets all being derivatives use the palette to set their name's colors. Text Particle Effects all respect the new settings. Some widgets were updated to use the colors.
2009-02-20Added a pickup notification as particle effect. Also make a ui option to ↵Majin Sniper1-4/+7
enable/disable this effect (default is off) and another option to disable the pickup notification in the chat log (default is on).
2009-02-19Added a pickup notification as particle effect. Also make a ui option to ↵Majin Sniper1-4/+7
enable/disable this effect (default is off) and another option to disable the pickup notification in the chat log (default is on).
2009-02-10Fixed header files, as well as removed the unused buddy list class (notIra Rice1-2/+3
useful since buddy lists are tracked through the player relation interface instead) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-09Merged with Aethyra master as of 2009-02-09Bjørn Lindeijer1-0/+2
Conflicts: A lot of files...
2009-02-09Merged with Aethyra master as of 2009-01-27Bjørn Lindeijer1-4/+3
Conflicts: Almost everywhere.
2009-02-07Some more include cleanups.Ira Rice1-0/+2
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-23Removed unnecessary references to The Mana World in code headersBjørn Lindeijer1-4/+4
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-23Removed unnecessary references to The Mana World in code headersBjørn Lindeijer1-4/+4
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.
2008-12-14Passing vectors by referencePhilipp Sehmisch1-23/+22
2008-12-14Some systactical sugar for 864e33Philipp Sehmisch1-13/+6
2008-12-14Fixed follow-parent of nested and being-following particle emittersPhilipp Sehmisch1-11/+36
2008-12-14Passing vectors by referencePhilipp Sehmisch1-22/+22
2008-12-14Some systactical sugar for 864e33Philipp Sehmisch1-13/+6
2008-12-14Fixed follow-parent of nested and being-following particle emittersPhilipp Sehmisch1-1/+0
2008-12-14Fixed follow-parent of nested and being-following particle emittersPhilipp Sehmisch1-11/+36
2008-12-08Code reformattingBjørn Lindeijer1-36/+30
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-08Code reformattingBjørn Lindeijer1-40/+32
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-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-4/+1
statements, as well as removing the new skill dialog, which we do not, nor will we use (if we do, it'd be a new one that we'd make). WARNING!!! This, and all other previous builds have a linker error for the Gnome libraries version 4.3.2 on my setup. It's assumed that this is also the case for other users of this library as well. I'm currently assuming that there's a bug in the compiler itself, and will look into reporting this, but in the mean time, it doesn't build for these users, unfortunately. Sorry about this.
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-10-27Made targets draw on the fringe layer, as well as added t for talking to Ira Rice1-4/+2
an NPC, n for targeting an NPC, and changed basic targeting code so that it'll time out after being on a target for longer than a minute.
2008-10-26Added Crush's recent Particle engine modifications from TMW.Ira Rice1-1/+1
2008-10-26Implemented particle emitters with properties which change over time ↵Philipp Sehmisch1-1/+1
according to wave functions.
2008-10-13Added mob particle attack effects to mobs. Inspired by the TMW patch in Ira Rice1-2/+2
their trunk client.
2008-09-25Merged the Tametomo branch into trunk.Ira Rice1-6/+6
2008-08-27Renamed "randomnes" to "randomness", so that it won't show up as part of Fate'sBjørn Lindeijer1-5/+5
patch.
2008-07-18Import of client treeLloyd Bryant1-1/+1
2008-06-24Added particle property "follow-parent" which makes the particle move when ↵Philipp Sehmisch1-0/+12
its parent particle is moved.
2008-06-23Implemented "alpha" particle property.Philipp Sehmisch1-0/+1
2008-06-05Lowered default particle detail level.Philipp Sehmisch1-1/+1
2008-05-28Changed the way particle emitter skip is handled to make linear and circular ↵Philipp Sehmisch1-1/+1
emitters work with particleEmitterSkip enabled.
2008-05-21Merged revisions 4013,4027,4043,4174,4250,4254 via svnmerge from Philipp Sehmisch1-25/+5
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk ........ r4013 | crush_tmw | 2008-04-01 01:18:19 +0200 (Di, 01 Apr 2008) | 1 line Implemented NPC XML database which maps NPC IDs to one or more animation files and thus enables animated NPCs. ........ r4027 | crush_tmw | 2008-04-02 01:34:14 +0200 (Mi, 02 Apr 2008) | 1 line misspelled filename ........ r4043 | b_lindeijer | 2008-04-07 10:37:23 +0200 (Mo, 07 Apr 2008) | 3 lines Added XML::Document class which simplifies parsing an XML document and automatically cleans it up again. ........ r4174 | b_lindeijer | 2008-04-23 14:57:45 +0200 (Mi, 23 Apr 2008) | 2 lines Fixed svn:keywords properties and added header to guild.h. ........ r4250 | crush_tmw | 2008-05-19 18:18:38 +0200 (Mo, 19 Mai 2008) | 1 line Added the possibility to add particle effects to NPCs in npcs.xml. ........ r4254 | crush_tmw | 2008-05-20 15:58:26 +0200 (Di, 20 Mai 2008) | 1 line fixed some filename confusion messup in the last commit. ........ NOTE: This was my first commit using svnmerge. Please check if I did everything correctly.
2008-02-12Particle emitters are now activated after the parent particle has moved ↵Philipp Sehmisch1-20/+21
instead of before (small change which allows a little trick to create polar emitters)
2007-11-20Merged revisions 3692 via svnmerge from Bjørn Lindeijer1-2/+3
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk ........ r3692 | gmelquio | 2007-10-27 11:03:13 +0200 (Sat, 27 Oct 2007) | 1 line Made it compile with GCC 4.3 ........
2007-10-23Merged changesets 3653, 3655-3657, 3659-3560, 3671-3672 from trunk to Bjørn Lindeijer1-0/+3
0.0. Mostly memory leak fixes by Guillaume.
2007-09-27Merged another bunch of changes from trunk to 0.0 to reduce the difference.Bjørn Lindeijer1-0/+2
2007-08-28Added Vector class and used it in the particle engine.Bjørn Lindeijer1-31/+23
2007-08-23Removed two useless popup related methods, used generic close buttonBjørn Lindeijer1-41/+28
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/+19
2007-06-27Corrected some perspective issues of the particle engine and fixed a crash ↵Philipp Sehmisch1-3/+5
caused by particles with child emitters that have an image than isn't used elsewhere. Added a particle effect at the spawn point in Tulimshar (we should have at least one particle effect that demonstrates acceleration and particles with emitters)
2007-06-03Have ParticleEmitter load a possible particle image early on and don't cause aBjørn Lindeijer1-1/+1
crash when the image can't be found.
2007-06-03Fixed image loading in software mode to not check for alpha layer with imagesBjørn Lindeijer1-368/+370
aren't 32-bit and removed drawImageTransparent from Graphics class, should be set on image.
2007-05-23Changed argument order in text particle creation.Philipp Sehmisch1-8/+6
2007-05-23The color values of text particles are now stored in 3 integers instead of a ↵Philipp Sehmisch1-2/+4
Guichan color structure.
2007-05-23Made text splash effects fade out.Philipp Sehmisch1-2/+4