rnd-20020921-2-src
[rocksndiamonds.git] / src / editor.h
1 /***********************************************************
2 * Rocks'n'Diamonds -- McDuffin Strikes Back!               *
3 *----------------------------------------------------------*
4 * (c) 1995-2002 Artsoft Entertainment                      *
5 *               Holger Schemel                             *
6 *               Detmolder Strasse 189                      *
7 *               33604 Bielefeld                            *
8 *               Germany                                    *
9 *               e-mail: info@artsoft.org                   *
10 *----------------------------------------------------------*
11 * editor.h                                                 *
12 ***********************************************************/
13
14 #ifndef EDITOR_H
15 #define EDITOR_H
16
17 #include "main.h"
18
19 /* number of element button columns and rows in the edit window */
20 #define MAX_ELEM_X              4
21 #define MAX_ELEM_Y              10
22
23 extern int element_shift;
24 extern int editor_element[];
25 extern int elements_in_list;
26
27 void CreateLevelEditorGadgets();
28 void UnmapLevelEditorGadgets();
29 void DrawLevelEd(void);
30 void HandleLevelEditorKeyInput(Key);
31 void HandleEditorGadgetInfoText(void *ptr);
32 void RequestExitLevelEditor(boolean);
33
34 #endif