1 /***********************************************************
2 * Rocks'n'Diamonds -- McDuffin Strikes Back! *
3 *----------------------------------------------------------*
4 * (c) 1995-98 Artsoft Entertainment *
8 * phone: ++49 +521 290471 *
9 * email: aeglos@valinor.owl.de *
10 *----------------------------------------------------------*
12 ***********************************************************/
19 /* positions in the level editor */
20 #define ED_WIN_MB_LEFT_XPOS 7
21 #define ED_WIN_MB_LEFT_YPOS 6
22 #define ED_WIN_LEVELNR_XPOS 77
23 #define ED_WIN_LEVELNR_YPOS 7
24 #define ED_WIN_MB_MIDDLE_XPOS 7
25 #define ED_WIN_MB_MIDDLE_YPOS 258
26 #define ED_WIN_MB_RIGHT_XPOS 77
27 #define ED_WIN_MB_RIGHT_YPOS 258
32 /* other constants for the editor */
33 #define ED_SCROLL_NO 0
34 #define ED_SCROLL_LEFT 1
35 #define ED_SCROLL_RIGHT 2
36 #define ED_SCROLL_UP 4
37 #define ED_SCROLL_DOWN 8
39 extern int element_shift;
40 extern int editor_element[];
41 extern int elements_in_list;
43 void DrawLevelEd(void);
44 void ScrollMiniLevel(int, int, int);
45 void LevelEd(int, int, int);
46 void LevelNameTyping(KeySym);