1 /***********************************************************
2 * Rocks'n'Diamonds -- McDuffin Strikes Back! *
3 *----------------------------------------------------------*
4 * ©1995 Artsoft Development *
6 * 33659 Bielefeld-Senne *
7 * Telefon: (0521) 493245 *
8 * eMail: aeglos@valinor.owl.de *
9 * aeglos@uni-paderborn.de *
10 * q99492@pbhrzx.uni-paderborn.de *
11 *----------------------------------------------------------*
13 ***********************************************************/
20 /* positions in the level editor */
21 #define ED_WIN_MB_LEFT_XPOS 7
22 #define ED_WIN_MB_LEFT_YPOS 6
23 #define ED_WIN_LEVELNR_XPOS 77
24 #define ED_WIN_LEVELNR_YPOS 7
25 #define ED_WIN_MB_MIDDLE_XPOS 7
26 #define ED_WIN_MB_MIDDLE_YPOS 258
27 #define ED_WIN_MB_RIGHT_XPOS 77
28 #define ED_WIN_MB_RIGHT_YPOS 258
33 /* other constants for the editor */
34 #define ED_SCROLL_NO 0
35 #define ED_SCROLL_LEFT 1
36 #define ED_SCROLL_RIGHT 2
37 #define ED_SCROLL_UP 4
38 #define ED_SCROLL_DOWN 8
40 extern int element_shift;
41 extern int editor_element[];
42 extern int elements_in_list;
44 void DrawLevelEd(void);
45 void ScrollMiniLevel(int, int, int);
46 void LevelEd(int, int, int);
47 void LevelNameTyping(KeySym);