rnd-20030607-1-src
[rocksndiamonds.git] / src / screens.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 * screens.h                                                *
12 ***********************************************************/
13
14 #ifndef SCREENS_H
15 #define SCREENS_H
16
17 #include "main.h"
18
19 /* (randomly chosen) values for HandleChooseTree() */
20 #define SCROLL_LINE     (1 * SCR_FIELDY)
21 #define SCROLL_PAGE     (2 * SCR_FIELDY)
22
23
24 void DrawHeadline(void);
25
26 void DrawMainMenu(void);
27 void HandleMainMenu(int, int, int, int, int);
28
29 void DrawHelpScreenElAction(int);
30 void DrawHelpScreenElText(int);
31 void DrawHelpScreenMusicText(int);
32 void DrawHelpScreenCreditsText(void);
33 void DrawHelpScreen(void);
34 void HandleHelpScreen(int);
35
36 void HandleTypeName(int, Key);
37
38 void DrawChooseLevel(void);
39 void HandleChooseLevel(int, int, int, int, int);
40
41 void DrawHallOfFame(int);
42 void HandleHallOfFame(int, int, int, int, int);
43
44 void DrawSetupScreen(void);
45 void HandleSetupScreen(int, int, int, int, int);
46
47 void HandleGameActions(void);
48
49 void CreateScreenGadgets();
50 void FreeScreenGadgets();
51 void MapChooseTreeGadgets(TreeInfo *);
52 void UnmapChooseTreeGadgets();
53
54 #endif  /* SCREENS_H */