1#ifndef GAME_EDITOR_MAPITEMS_H
2#define GAME_EDITOR_MAPITEMS_H
3
4enum class EQuadProp
5{
6 PROP_NONE = -1,
7 PROP_ORDER,
8 PROP_POS_X,
9 PROP_POS_Y,
10 PROP_POS_ENV,
11 PROP_POS_ENV_OFFSET,
12 PROP_COLOR_ENV,
13 PROP_COLOR_ENV_OFFSET,
14 NUM_PROPS,
15};
16
17enum class EQuadPointProp
18{
19 PROP_NONE = -1,
20 PROP_POS_X,
21 PROP_POS_Y,
22 PROP_COLOR,
23 PROP_TEX_U,
24 PROP_TEX_V,
25 NUM_PROPS,
26};
27
28enum class ESoundProp
29{
30 PROP_NONE = -1,
31 PROP_POS_X,
32 PROP_POS_Y,
33 PROP_LOOP,
34 PROP_PAN,
35 PROP_TIME_DELAY,
36 PROP_FALLOFF,
37 PROP_POS_ENV,
38 PROP_POS_ENV_OFFSET,
39 PROP_SOUND_ENV,
40 PROP_SOUND_ENV_OFFSET,
41 NUM_PROPS,
42};
43
44enum class ERectangleShapeProp
45{
46 PROP_NONE = -1,
47 PROP_RECTANGLE_WIDTH,
48 PROP_RECTANGLE_HEIGHT,
49 NUM_RECTANGLE_PROPS,
50};
51
52enum class ECircleShapeProp
53{
54 PROP_NONE = -1,
55 PROP_CIRCLE_RADIUS,
56 NUM_CIRCLE_PROPS,
57};
58
59enum class ELayerProp
60{
61 PROP_NONE = -1,
62 PROP_GROUP,
63 PROP_ORDER,
64 PROP_HQ,
65 NUM_PROPS,
66};
67
68enum class ETilesProp
69{
70 PROP_NONE = -1,
71 PROP_WIDTH,
72 PROP_HEIGHT,
73 PROP_SHIFT,
74 PROP_SHIFT_BY,
75 PROP_IMAGE,
76 PROP_COLOR,
77 PROP_COLOR_ENV,
78 PROP_COLOR_ENV_OFFSET,
79 PROP_AUTOMAPPER,
80 PROP_SEED,
81 NUM_PROPS
82};
83
84enum class ETilesCommonProp
85{
86 PROP_NONE = -1,
87 PROP_WIDTH,
88 PROP_HEIGHT,
89 PROP_SHIFT,
90 PROP_SHIFT_BY,
91 PROP_COLOR,
92 NUM_PROPS,
93};
94
95enum class EGroupProp
96{
97 PROP_NONE = -1,
98 PROP_ORDER,
99 PROP_POS_X,
100 PROP_POS_Y,
101 PROP_PARA_X,
102 PROP_PARA_Y,
103 PROP_USE_CLIPPING,
104 PROP_CLIP_X,
105 PROP_CLIP_Y,
106 PROP_CLIP_W,
107 PROP_CLIP_H,
108 NUM_PROPS,
109};
110
111enum class ELayerQuadsProp
112{
113 PROP_NONE = -1,
114 PROP_IMAGE,
115 NUM_PROPS,
116};
117
118enum class ELayerSoundsProp
119{
120 PROP_NONE = -1,
121 PROP_SOUND,
122 NUM_PROPS,
123};
124
125#endif
126