rnd-20001203-3-src
[rocksndiamonds.git] / src / libgame / libgame.h
1 /***********************************************************
2 *  Rocks'n'Diamonds -- McDuffin Strikes Back!              *
3 *----------------------------------------------------------*
4 *  (c) 1995-98 Artsoft Entertainment                       *
5 *              Holger Schemel                              *
6 *              Oststrasse 11a                              *
7 *              33604 Bielefeld                             *
8 *              phone: ++49 +521 290471                     *
9 *              email: aeglos@valinor.owl.de                *
10 *----------------------------------------------------------*
11 *  libgame.h                                               *
12 ***********************************************************/
13
14 #ifndef LIBGAME_H
15 #define LIBGAME_H
16
17 #include "platform.h"
18 #include "types.h"
19 #include "private.h"
20 #include "system.h"
21 #include "random.h"
22 #include "gadgets.h"
23 #include "text.h"
24 #include "sound.h"
25 #include "image.h"
26 #include "pcx.h"
27 #include "misc.h"
28
29
30 /* areas in bitmap PIX_DOOR */
31 /* meaning in PIX_DB_DOOR: (3 PAGEs)
32    PAGEX1: 1. buffer for DOOR_1
33    PAGEX2: 2. buffer for DOOR_1
34    PAGEX3: buffer for animations
35 */
36
37 #define DOOR_GFX_PAGESIZE       (gfx.dxsize)
38 #define DOOR_GFX_PAGEX1         (0 * DOOR_GFX_PAGESIZE)
39 #define DOOR_GFX_PAGEX2         (1 * DOOR_GFX_PAGESIZE)
40 #define DOOR_GFX_PAGEX3         (2 * DOOR_GFX_PAGESIZE)
41 #define DOOR_GFX_PAGEX4         (3 * DOOR_GFX_PAGESIZE)
42 #define DOOR_GFX_PAGEX5         (4 * DOOR_GFX_PAGESIZE)
43 #define DOOR_GFX_PAGEX6         (5 * DOOR_GFX_PAGESIZE)
44 #define DOOR_GFX_PAGEX7         (6 * DOOR_GFX_PAGESIZE)
45 #define DOOR_GFX_PAGEX8         (7 * DOOR_GFX_PAGESIZE)
46 #define DOOR_GFX_PAGEY1         (0)
47 #define DOOR_GFX_PAGEY2         (gfx.dysize)
48
49 #endif /* LIBGAME_H */