summaryrefslogtreecommitdiff
path: root/src/particle/particleinfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-11-10 14:53:33 +0300
committerAndrei Karas <akaras@inbox.ru>2013-11-10 15:41:25 +0300
commit44e5d8bcb7fea443ca9ed3844454b11ac6e4dbed (patch)
tree1af016870cd47c00e860673d1710b0b98a3bf101 /src/particle/particleinfo.h
parente5f83f094dd658163150ea2a41c5d4a67f21019c (diff)
downloadmanaplus-44e5d8bcb7fea443ca9ed3844454b11ac6e4dbed.tar.gz
manaplus-44e5d8bcb7fea443ca9ed3844454b11ac6e4dbed.tar.bz2
manaplus-44e5d8bcb7fea443ca9ed3844454b11ac6e4dbed.tar.xz
manaplus-44e5d8bcb7fea443ca9ed3844454b11ac6e4dbed.zip
add support for item particles.
For this used particlefx tag in items.xml
Diffstat (limited to 'src/particle/particleinfo.h')
-rw-r--r--src/particle/particleinfo.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/particle/particleinfo.h b/src/particle/particleinfo.h
new file mode 100644
index 000000000..70c4fb19f
--- /dev/null
+++ b/src/particle/particleinfo.h
@@ -0,0 +1,34 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2013 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * 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
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef PARTICLE_PARTICLEINFO_H
+#define PARTICLE_PARTICLEINFO_H
+
+#include "particle/particle.h"
+
+#include <string>
+
+struct ParticleInfo
+{
+ std::vector<std::string> files;
+ std::vector<Particle*> particles;
+};
+
+#endif // PARTICLE_PARTICLEINFO_H