From 238642d6a99d3f764529a339d0802d3e3909f391 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 22 Aug 2017 02:12:41 +0300 Subject: Use strong typed enum ParticlePhysics. --- src/enums/particle/particlephysics.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/enums/particle/particlephysics.h (limited to 'src/enums/particle') diff --git a/src/enums/particle/particlephysics.h b/src/enums/particle/particlephysics.h new file mode 100644 index 000000000..55eb43d69 --- /dev/null +++ b/src/enums/particle/particlephysics.h @@ -0,0 +1,34 @@ +/* + * The ManaPlus Client + * Copyright (C) 2016-2017 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 ENUMS_PARTICLE_PARTICLEPHYSICS_H +#define ENUMS_PARTICLE_PARTICLEPHYSICS_H + +#include "enums/simpletypes/enumdefines.h" + +enumStart(ParticlePhysics) +{ + Best = 0, + Normal = 1, + Fast = 2, +} +enumEnd(ParticlePhysics); + +#endif // ENUMS_PARTICLE_PARTICLEPHYSICS_H -- cgit v1.2.3-60-g2f50