1 #ifndef __BUTTON_DEFINES_H
2 #define __BUTTON_DEFINES_H
3 
4 enum
5 {
6 	//Main Editor tabs
7 	TAB_TERRAIN,
8 	FIRST_EDITORTAB_BUTTON = TAB_TERRAIN,
9 	TAB_BUILDINGS,
10 	TAB_ITEMS,
11 	TAB_MERCS,
12 	TAB_MAPINFO,
13 	TAB_OPTIONS,
14 	LAST_EDITORTAB_BUTTON = TAB_OPTIONS,
15 
16 	//Terrain menu
17 	TERRAIN_FGROUND_TEXTURES,
18 	FIRST_TERRAIN_BUTTON = TERRAIN_FGROUND_TEXTURES,
19 	TERRAIN_BGROUND_TEXTURES,
20 	TERRAIN_PLACE_CLIFFS,
21 	TERRAIN_PLACE_ROADS,
22 	TERRAIN_PLACE_DEBRIS,
23 	TERRAIN_FILL_AREA,
24 	TERRAIN_PLACE_TREES,
25 	TERRAIN_PLACE_ROCKS,
26 	TERRAIN_PLACE_MISC,
27 	TERRAIN_TOGGLE_ERASEMODE,
28 	TERRAIN_CYCLE_BRUSHSIZE,
29 	TERRAIN_RAISE_DENSITY,
30 	TERRAIN_LOWER_DENSITY,
31 	TERRAIN_UNDO,
32 	LAST_TERRAIN_BUTTON = TERRAIN_UNDO,
33 	//Buildings menu
34 	BUILDING_PLACE_WALLS,
35 	FIRST_BUILDINGS_BUTTON = BUILDING_PLACE_WALLS,
36 	BUILDING_PLACE_DOORS,
37 	BUILDING_PLACE_WINDOWS,
38 	BUILDING_PLACE_ROOFS,
39 	BUILDING_PLACE_BROKEN_WALLS,
40 	BUILDING_PLACE_FURNITURE,
41 	BUILDING_PLACE_DECALS,
42 	BUILDING_PLACE_TOILETS,
43 	BUILDING_PLACE_FLOORS,
44 	BUILDING_SMART_WALLS,
45 	BUILDING_SMART_DOORS,
46 	BUILDING_SMART_WINDOWS,
47 	BUILDING_SMART_BROKEN_WALLS,
48 	BUILDING_DOORKEY,
49 	BUILDING_NEW_ROOM,
50 	BUILDING_SAW_ROOM,
51 	BUILDING_NEW_ROOF,
52 	BUILDING_KILL_BUILDING,
53 	BUILDING_COPY_BUILDING,
54 	BUILDING_MOVE_BUILDING,
55 	BUILDING_CAVE_DRAWING,
56 	BUILDING_DRAW_ROOMNUM,
57 	BUILDING_ERASE_ROOMNUM,
58 	BUILDING_TOGGLE_ERASEMODE,
59 	BUILDING_UNDO,
60 	BUILDING_CYCLE_BRUSHSIZE,
61 	BUILDING_TOGGLE_ROOF_VIEW,
62 	BUILDING_TOGGLE_WALL_VIEW,
63 	BUILDING_TOGGLE_INFO_VIEW,
64 	LAST_BUILDINGS_BUTTON = BUILDING_TOGGLE_INFO_VIEW,
65 	//Items menu
66 	ITEMS_WEAPONS,
67 	FIRST_ITEMS_BUTTON = ITEMS_WEAPONS,
68 	ITEMS_AMMO,
69 	ITEMS_ARMOUR,
70 	ITEMS_EXPLOSIVES,
71 	ITEMS_EQUIPMENT1,
72 	ITEMS_EQUIPMENT2,
73 	ITEMS_EQUIPMENT3,
74 	ITEMS_TRIGGERS,
75 	ITEMS_KEYS,
76 	ITEMS_LEFTSCROLL,
77 	ITEMS_RIGHTSCROLL,
78 	LAST_ITEMS_BUTTON = ITEMS_RIGHTSCROLL,
79 	//MapInfo menu
80 	MAPINFO_ADD_LIGHT1_SOURCE,
81 	FIRST_MAPINFO_BUTTON = MAPINFO_ADD_LIGHT1_SOURCE,
82 	MAPINFO_LIGHT_PANEL,
83 	MAPINFO_PRIMETIME_LIGHT,
84 	MAPINFO_NIGHTTIME_LIGHT,
85 	MAPINFO_24HOUR_LIGHT,
86 	MAPINFO_TOGGLE_FAKE_LIGHTS,
87 	MAPINFO_TOGGLE_ERASEMODE,
88 	MAPINFO_DRAW_EXITGRIDS,
89 	MAPINFO_CYCLE_BRUSHSIZE,
90 	MAPINFO_UNDO,
91 	MAPINFO_RADIO_PANEL,
92 	MAPINFO_RADIO_NORMAL,
93 	MAPINFO_RADIO_BASEMENT,
94 	MAPINFO_RADIO_CAVES,
95 	MAPINFO_NORTH_POINT,
96 	MAPINFO_WEST_POINT,
97 	MAPINFO_EAST_POINT,
98 	MAPINFO_SOUTH_POINT,
99 	MAPINFO_CENTER_POINT,
100 	MAPINFO_ISOLATED_POINT,
101 	LAST_MAPINFO_BUTTON = MAPINFO_ISOLATED_POINT,
102 
103 	//Options menu
104 	OPTIONS_NEW_MAP,
105 	FIRST_OPTIONS_BUTTON = OPTIONS_NEW_MAP,
106 	OPTIONS_NEW_BASEMENT,
107 	OPTIONS_NEW_CAVES,
108 	OPTIONS_LOAD_MAP,
109 	OPTIONS_SAVE_MAP,
110 	OPTIONS_CHANGE_TILESET,
111 	OPTIONS_LEAVE_EDITOR,
112 	OPTIONS_QUIT_GAME,
113 	LAST_OPTIONS_BUTTON = OPTIONS_QUIT_GAME,
114 	//Mercs menu
115 	MERCS_PLAYER,
116 	FIRST_MERCS_BUTTON = MERCS_PLAYER,
117 	MERCS_ENEMY,
118 	MERCS_CREATURE,
119 	MERCS_REBEL,
120 	MERCS_CIVILIAN,
121 
122 	MERCS_PLAYERTOGGLE,
123 	MERCS_ENEMYTOGGLE,
124 	MERCS_CREATURETOGGLE,
125 	MERCS_REBELTOGGLE,
126 	MERCS_CIVILIANTOGGLE,
127 
128 	MERCS_1,
129 	MERCS_DETAILEDCHECKBOX,
130 	MERCS_GENERAL,
131 	MERCS_ATTRIBUTES,
132 	MERCS_INVENTORY,
133 	MERCS_APPEARANCE,
134 	MERCS_PROFILE,
135 	MERCS_SCHEDULE,
136 	MERCS_GLOWSCHEDULE,
137 
138 	MERCS_DELETE,
139 	MERCS_NEXT,
140 
141 	MERCS_PRIORITYEXISTANCE_CHECKBOX,
142 	MERCS_HASKEYS_CHECKBOX,
143 
144 	MERCS_ORDERS_STATIONARY,
145 	MERCS_ORDERS_ONGUARD,
146 	MERCS_ORDERS_CLOSEPATROL,
147 	MERCS_ORDERS_FARPATROL,
148 	MERCS_ORDERS_POINTPATROL,
149 	MERCS_ORDERS_ONCALL,
150 	MERCS_ORDERS_SEEKENEMY,
151 	MERCS_ORDERS_RNDPTPATROL,
152 
153 	MERCS_ATTITUDE_DEFENSIVE,
154 	MERCS_ATTITUDE_BRAVESOLO,
155 	MERCS_ATTITUDE_BRAVEAID,
156 	MERCS_ATTITUDE_CUNNINGSOLO,
157 	MERCS_ATTITUDE_CUNNINGAID,
158 	MERCS_ATTITUDE_AGGRESSIVE,
159 
160 	MERCS_DIRECTION_N,
161 	MERCS_DIRECTION_NE,
162 	MERCS_DIRECTION_E,
163 	MERCS_DIRECTION_SE,
164 	MERCS_DIRECTION_S,
165 	MERCS_DIRECTION_SW,
166 	MERCS_DIRECTION_W,
167 	MERCS_DIRECTION_NW,
168 	MERCS_DIRECTION_FIND,
169 
170 	MERCS_EQUIPMENT_BAD,
171 	MERCS_EQUIPMENT_POOR,
172 	MERCS_EQUIPMENT_AVERAGE,
173 	MERCS_EQUIPMENT_GOOD,
174 	MERCS_EQUIPMENT_GREAT,
175 
176 	MERCS_ATTRIBUTES_BAD,
177 	MERCS_ATTRIBUTES_POOR,
178 	MERCS_ATTRIBUTES_AVERAGE,
179 	MERCS_ATTRIBUTES_GOOD,
180 	MERCS_ATTRIBUTES_GREAT,
181 
182 	MERCS_ARMY_CODE,
183 	MERCS_ADMIN_CODE,
184 	MERCS_ELITE_CODE,
185 
186 	MERCS_CIVILIAN_GROUP,
187 
188 	MERCS_TOGGLECOLOR_BUTTON,
189 	MERCS_HAIRCOLOR_DOWN,
190 	MERCS_HAIRCOLOR_UP,
191 	MERCS_SKINCOLOR_DOWN,
192 	MERCS_SKINCOLOR_UP,
193 	MERCS_VESTCOLOR_DOWN,
194 	MERCS_VESTCOLOR_UP,
195 	MERCS_PANTCOLOR_DOWN,
196 	MERCS_PANTCOLOR_UP,
197 
198 	MERCS_BODYTYPE_DOWN,
199 	MERCS_BODYTYPE_UP,
200 
201 	MERCS_SCHEDULE_ACTION1,
202 	MERCS_SCHEDULE_ACTION2,
203 	MERCS_SCHEDULE_ACTION3,
204 	MERCS_SCHEDULE_ACTION4,
205 	MERCS_SCHEDULE_VARIANCE1,
206 	MERCS_SCHEDULE_VARIANCE2,
207 	MERCS_SCHEDULE_VARIANCE3,
208 	MERCS_SCHEDULE_VARIANCE4,
209 	MERCS_SCHEDULE_DATA1A,
210 	MERCS_SCHEDULE_DATA2A,
211 	MERCS_SCHEDULE_DATA3A,
212 	MERCS_SCHEDULE_DATA4A,
213 	MERCS_SCHEDULE_DATA1B,
214 	MERCS_SCHEDULE_DATA2B,
215 	MERCS_SCHEDULE_DATA3B,
216 	MERCS_SCHEDULE_DATA4B,
217 	MERCS_SCHEDULE_CLEAR,
218 
219 	MERCS_HEAD_SLOT,
220 	MERCS_BODY_SLOT,
221 	MERCS_LEGS_SLOT,
222 	MERCS_LEFTHAND_SLOT,
223 	MERCS_RIGHTHAND_SLOT,
224 	MERCS_PACK1_SLOT,
225 	MERCS_PACK2_SLOT,
226 	MERCS_PACK3_SLOT,
227 	MERCS_PACK4_SLOT,
228 	LAST_MERCS_BUTTON = MERCS_PACK4_SLOT,
229 
230 	ITEMSTATS_PANEL,
231 	FIRST_ITEMSTATS_BUTTON = ITEMSTATS_PANEL,
232 	ITEMSTATS_HIDDEN_BTN,
233 	ITEMSTATS_DELETE_BTN,
234 	LAST_ITEMSTATS_BUTTON = ITEMSTATS_DELETE_BTN,
235 
236 	NUMBER_EDITOR_BUTTONS,
237 };
238 
239 #define FIRST_MERCS_TEAMMODE_BUTTON		MERCS_PLAYER
240 #define LAST_MERCS_TEAMMODE_BUTTON		MERCS_CIVILIANTOGGLE
241 
242 #define FIRST_MERCS_BASICMODE_BUTTON		MERCS_1
243 #define LAST_MERCS_BASICMODE_BUTTON		MERCS_DETAILEDCHECKBOX
244 
245 #define FIRST_MERCS_PRIORITYMODE_BUTTON	MERCS_GENERAL
246 #define LAST_MERCS_PRIORITYMODE_BUTTON		MERCS_SCHEDULE
247 
248 #define FIRST_MERCS_GENERAL_BUTTON		MERCS_PRIORITYEXISTANCE_CHECKBOX
249 #define LAST_MERCS_GENERAL_BUTTON		LAST_MERCS_COLORCODE_BUTTON
250 #define FIRST_MERCS_ORDERS_BUTTON		MERCS_ORDERS_STATIONARY
251 #define LAST_MERCS_ORDERS_BUTTON		MERCS_ORDERS_RNDPTPATROL
252 #define FIRST_MERCS_ATTITUDE_BUTTON		MERCS_ATTITUDE_DEFENSIVE
253 #define LAST_MERCS_ATTITUDE_BUTTON		MERCS_ATTITUDE_AGGRESSIVE
254 #define FIRST_MERCS_DIRECTION_BUTTON		MERCS_DIRECTION_N
255 #define LAST_MERCS_DIRECTION_BUTTON		MERCS_DIRECTION_FIND
256 #define FIRST_MERCS_REL_EQUIPMENT_BUTTON	MERCS_EQUIPMENT_BAD
257 #define LAST_MERCS_REL_EQUIPMENT_BUTTON	MERCS_EQUIPMENT_GREAT
258 #define FIRST_MERCS_REL_ATTRIBUTE_BUTTON	MERCS_ATTRIBUTES_BAD
259 #define LAST_MERCS_REL_ATTRIBUTE_BUTTON	MERCS_ATTRIBUTES_GREAT
260 #define FIRST_MERCS_COLORCODE_BUTTON		MERCS_ARMY_CODE
261 #define LAST_MERCS_COLORCODE_BUTTON		MERCS_ELITE_CODE
262 
263 #define FIRST_MERCS_COLORMODE_BUTTON		MERCS_TOGGLECOLOR_BUTTON
264 #define LAST_MERCS_COLORMODE_BUTTON		MERCS_BODYTYPE_UP
265 #define FIRST_MERCS_COLOR_BUTTON		MERCS_HAIRCOLOR_DOWN
266 #define LAST_MERCS_COLOR_BUTTON		MERCS_PANTCOLOR_UP
267 #define FIRST_MERCS_BODYTYPE_BUTTON		MERCS_BODYTYPE_DOWN
268 #define LAST_MERCS_BODYTYPE_BUTTON		MERCS_BODYTYPE_UP
269 
270 #define FIRST_MERCS_INVENTORY_BUTTON		MERCS_HEAD_SLOT
271 #define LAST_MERCS_INVENTORY_BUTTON		MERCS_PACK4_SLOT
272 
273 #define FIRST_MERCS_GETITEM_BUTTON		FIRST_ITEMS_BUTTON
274 #define LAST_MERCS_GETITEM_BUTTON		LAST_ITEMS_BUTTON
275 
276 #define FIRST_MERCS_SCHEDULE_BUTTON		MERCS_SCHEDULE_ACTION1
277 #define LAST_MERCS_SCHEDULE_BUTTON		MERCS_SCHEDULE_CLEAR
278 
279 #endif
280