summaryrefslogtreecommitdiff
path: root/src/effectmanager.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-04 01:14:28 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-09 20:10:21 +0100
commit112d71798eca4b13dd5b11805669ae4fad4dea0e (patch)
tree6ac1974917eec380a8309024628ec6795e4d74ff /src/effectmanager.cpp
parent1b1050da1c7b84cc72b7efbb2229294975be9e10 (diff)
downloadmana-112d71798eca4b13dd5b11805669ae4fad4dea0e.tar.gz
mana-112d71798eca4b13dd5b11805669ae4fad4dea0e.tar.bz2
mana-112d71798eca4b13dd5b11805669ae4fad4dea0e.tar.xz
mana-112d71798eca4b13dd5b11805669ae4fad4dea0e.zip
Fixed up the copyright headers
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.
Diffstat (limited to 'src/effectmanager.cpp')
-rw-r--r--src/effectmanager.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/effectmanager.cpp b/src/effectmanager.cpp
index cf77de37..14b932d3 100644
--- a/src/effectmanager.cpp
+++ b/src/effectmanager.cpp
@@ -1,8 +1,9 @@
/*
- * The Mana World
- * Copyright 2008 The Mana World Development Team
+ * An effects manager
+ * Copyright (C) 2008 Fate <fate.tmw@googlemail.com>
+ * Copyright (C) 2008 Chuck Miller <shadowmil@gmail.com>
*
- * This file is part of Aethyra.
+ * This file is part of The Mana World.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -19,7 +20,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-
#include "effectmanager.h"
#include "log.h"
#include "particle.h"
@@ -40,7 +40,7 @@ EffectManager::EffectManager()
else
{
logger->log("Effects are now loading");
- }
+ }
for_each_xml_child_node(node, root)
{
@@ -79,7 +79,7 @@ bool EffectManager::trigger(int id, Being* being)
}
if((*i).SFX != "")
sound.playSfx((*i).SFX);
- break;
+ break;
}
}
return rValue;
@@ -98,9 +98,8 @@ bool EffectManager::trigger(int id, int x, int y)
particleEngine->addEffect((*i).GFX, x, y);
if((*i).SFX != "")
sound.playSfx((*i).SFX);
- break;
+ break;
}
}
return rValue;
}
-