changed comments from old to new style (one-line comments only)
[rocksndiamonds.git] / src / libgame / windows.h
index d96d4b71fdf5e999c97d1458b64dde157e3af0cd..4965e134b1befdc44b750b8d11c919745d4ba82d 100644 (file)
@@ -1,23 +1,27 @@
-/***********************************************************
-* Artsoft Retro-Game Library                               *
-*----------------------------------------------------------*
-* (c) 1994-2003 Artsoft Entertainment                      *
-*               Holger Schemel                             *
-*               Detmolder Strasse 189                      *
-*               33604 Bielefeld                            *
-*               Germany                                    *
-*               e-mail: info@artsoft.org                   *
-*----------------------------------------------------------*
-* windows.h                                                *
-***********************************************************/
+// ============================================================================
+// Artsoft Retro-Game Library
+// ----------------------------------------------------------------------------
+// (c) 1995-2014 by Artsoft Entertainment
+//                         Holger Schemel
+//                 info@artsoft.org
+//                 http://www.artsoft.org/
+// ----------------------------------------------------------------------------
+// windows.h
+// ============================================================================
 
 #ifndef WINDOWS_H
 #define WINDOWS_H
 
+// prevent including lots of conflicting macros
+#define WIN32_LEAN_AND_MEAN
+
 #include <shlobj.h>
 
 
-/* some symbols are already defined on Windows */
+// some symbols are already defined on Windows
+typedef int boolean_internal;
+#define boolean boolean_internal
+
 #define CreateBitmap CreateBitmap_internal
 #define GetPixel GetPixel_internal
 #define CloseWindow CloseWindow_internal
@@ -38,4 +42,4 @@
 #define DrawText DrawText_internal
 #endif
 
-#endif /* WINDOWS_H */
+#endif // WINDOWS_H