7aaa69a28bcbce6696d16dccb88ebbea96bb4bd4
[rocksndiamonds.git] / src / libgame / windows.h
1 /***********************************************************
2 * Artsoft Retro-Game Library                               *
3 *----------------------------------------------------------*
4 * (c) 1994-2006 Artsoft Entertainment                      *
5 *               Holger Schemel                             *
6 *               Detmolder Strasse 189                      *
7 *               33604 Bielefeld                            *
8 *               Germany                                    *
9 *               e-mail: info@artsoft.org                   *
10 *----------------------------------------------------------*
11 * windows.h                                                *
12 ***********************************************************/
13
14 #ifndef WINDOWS_H
15 #define WINDOWS_H
16
17 #include <shlobj.h>
18
19
20 /* some symbols are already defined on Windows */
21 #define CreateBitmap CreateBitmap_internal
22 #define GetPixel GetPixel_internal
23 #define CloseWindow CloseWindow_internal
24 #define FloodFill FloodFill_internal
25
26 #ifdef LoadImage
27 #undef LoadImage
28 #define LoadImage LoadImage_internal
29 #endif
30
31 #ifdef PlaySound
32 #undef PlaySound
33 #define PlaySound PlaySound_internal
34 #endif
35
36 #ifdef DrawText
37 #undef DrawText
38 #define DrawText DrawText_internal
39 #endif
40
41 #endif /* WINDOWS_H */