summaryrefslogtreecommitdiff
path: root/src/enums
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-31 21:28:31 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-31 21:28:31 +0300
commit627e8fbd919f346e4e45ef192b516faf8b11d4ac (patch)
treea6214ee06461547116ee66d26a49cd0c07595d5f /src/enums
parentdd22711fd400dc1d55c54b18bd37dd5d7630b966 (diff)
downloadmv-627e8fbd919f346e4e45ef192b516faf8b11d4ac.tar.gz
mv-627e8fbd919f346e4e45ef192b516faf8b11d4ac.tar.bz2
mv-627e8fbd919f346e4e45ef192b516faf8b11d4ac.tar.xz
mv-627e8fbd919f346e4e45ef192b516faf8b11d4ac.zip
Move particle alivestatus into enums directory.
Diffstat (limited to 'src/enums')
-rw-r--r--src/enums/particle/alivestatus.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/enums/particle/alivestatus.h b/src/enums/particle/alivestatus.h
new file mode 100644
index 000000000..9dca73df3
--- /dev/null
+++ b/src/enums/particle/alivestatus.h
@@ -0,0 +1,40 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2006-2009 The Mana World Development Team
+ * Copyright (C) 2009-2010 The Mana Developers
+ * Copyright (C) 2011-2015 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_ALIVESTATUS_H
+#define ENUMS_PARTICLE_ALIVESTATUS_H
+
+#include "enums/simpletypes/enumdefines.h"
+
+enumStart(AliveStatus)
+{
+ ALIVE = 0,
+ DEAD_TIMEOUT = 1,
+ DEAD_FLOOR = 2,
+ DEAD_SKY = 4,
+ DEAD_IMPACT = 8,
+ DEAD_OTHER = 16,
+ DEAD_LONG_AGO = 128
+}
+enumEnd(AliveStatus);
+
+#endif // ENUMS_PARTICLE_ALIVESTATUS_H