summaryrefslogtreecommitdiff
path: root/src/enums
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-22 02:12:41 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-22 02:12:41 +0300
commit238642d6a99d3f764529a339d0802d3e3909f391 (patch)
treef115374ffdf930f530bfc916065823032fc303cb /src/enums
parentad56ac4bda60beddf33640df346801af1ece9ccf (diff)
downloadplus-238642d6a99d3f764529a339d0802d3e3909f391.tar.gz
plus-238642d6a99d3f764529a339d0802d3e3909f391.tar.bz2
plus-238642d6a99d3f764529a339d0802d3e3909f391.tar.xz
plus-238642d6a99d3f764529a339d0802d3e3909f391.zip
Use strong typed enum ParticlePhysics.
Diffstat (limited to 'src/enums')
-rw-r--r--src/enums/particle/particlephysics.h34
1 files changed, 34 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
+ */
+
+#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