summaryrefslogtreecommitdiff
path: root/src/activeobject.h
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2015-02-17 11:37:55 +0100
committerLoic Blot <loic.blot@unix-experience.fr>2015-02-17 11:37:55 +0100
commitc58d49977da5aab88f5a9d5b540c6237ca5cdcb5 (patch)
treea5bc0c0987b57cbee1052c0289c19cbf5274fcb3 /src/activeobject.h
parentf8d5af753617d502920556cff88f451ef670c210 (diff)
downloadminetest-c58d49977da5aab88f5a9d5b540c6237ca5cdcb5.tar.gz
minetest-c58d49977da5aab88f5a9d5b540c6237ca5cdcb5.tar.bz2
minetest-c58d49977da5aab88f5a9d5b540c6237ca5cdcb5.zip
SAO: re-add old ActiveObjectTypes for a future migration layer
Diffstat (limited to 'src/activeobject.h')
-rw-r--r--src/activeobject.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/activeobject.h b/src/activeobject.h
index 3dd1f98f5..76893280a 100644
--- a/src/activeobject.h
+++ b/src/activeobject.h
@@ -27,6 +27,11 @@ enum ActiveObjectType {
ACTIVEOBJECT_TYPE_INVALID = 0,
ACTIVEOBJECT_TYPE_TEST = 1,
ACTIVEOBJECT_TYPE_ITEM = 2,
+ // Compat layer, migrating objects from 0.3 to 0.4+
+ ACTIVEOBJECT_TYPE_RAT = 3,
+ ACTIVEOBJECT_TYPE_OERKKI1 = 4,
+ ACTIVEOBJECT_TYPE_FIREFLY = 5,
+ ACTIVEOBJECT_TYPE_MOBV2 = 6,
ACTIVEOBJECT_TYPE_LUAENTITY = 7,
// Special type, not stored as a static object
ACTIVEOBJECT_TYPE_PLAYER = 100,