1 | // Aseprite Document Library |
2 | // Copyright (C) 2019-2020 Igara Studio S.A. |
3 | // Copyright (C) 2001-2017 David Capello |
4 | // |
5 | // This file is released under the terms of the MIT license. |
6 | // Read LICENSE.txt for more information. |
7 | |
8 | #ifndef DOC_OBJECT_TYPE_H_INCLUDED |
9 | #define DOC_OBJECT_TYPE_H_INCLUDED |
10 | #pragma once |
11 | |
12 | namespace doc { |
13 | |
14 | enum class ObjectType { |
15 | Unknown = 0, |
16 | Image = 1, |
17 | Palette = 2, |
18 | |
19 | // Deprecated values, we cannot re-use these indexes because |
20 | // backup sessions use them (check readLayer() function in |
21 | // src/app/crash/read_document.cpp). |
22 | //RgbMap = 3, |
23 | //Path = 4, |
24 | |
25 | Mask = 5, |
26 | Cel = 6, |
27 | CelData = 7, |
28 | LayerImage = 8, |
29 | LayerGroup = 9, |
30 | Sprite = 10, |
31 | Document = 11, |
32 | Tag = 12, |
33 | Slice = 13, |
34 | |
35 | LayerTilemap = 14, |
36 | Tileset = 15, |
37 | Tilesets = 16, |
38 | }; |
39 | |
40 | } // namespace doc |
41 | |
42 | #endif // DOC_OBJECT_TYPE_H_INCLUDED |
43 | |