From 44e5d8bcb7fea443ca9ed3844454b11ac6e4dbed Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 10 Nov 2013 14:53:33 +0300 Subject: add support for item particles. For this used particlefx tag in items.xml --- src/particle/particleinfo.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/particle/particleinfo.h (limited to 'src/particle') 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 . + */ + +#ifndef PARTICLE_PARTICLEINFO_H +#define PARTICLE_PARTICLEINFO_H + +#include "particle/particle.h" + +#include + +struct ParticleInfo +{ + std::vector files; + std::vector particles; +}; + +#endif // PARTICLE_PARTICLEINFO_H -- cgit v1.2.3-60-g2f50