rnd-20030804-2-src
authorHolger Schemel <info@artsoft.org>
Mon, 4 Aug 2003 21:03:15 +0000 (23:03 +0200)
committerHolger Schemel <info@artsoft.org>
Sat, 30 Aug 2014 08:43:04 +0000 (10:43 +0200)
src/conftime.h
src/libgame/misc.c
src/libgame/system.c
src/libgame/x11.c

index 249e2ce3e5cdd0ae73cb9de6861a6e2559e5c86f..262d1286d86aadd7722d46b3436300677bda472d 100644 (file)
@@ -1 +1 @@
-#define COMPILE_DATE_STRING "[2003-08-04 22:16]"
+#define COMPILE_DATE_STRING "[2003-08-04 23:02]"
index cb79ee2270d765dfc9f8c296402a3fe527bd0609..f6cc110d4922e9e41be4fe8bae19fc1433919cab 100644 (file)
@@ -333,6 +333,7 @@ unsigned int get_random_number(int nr, unsigned int max)
 /* system info functions                                                     */
 /* ------------------------------------------------------------------------- */
 
+#if !defined(PLATFORM_MSDOS)
 static char *get_corrected_real_name(char *real_name)
 {
   char *real_name_new = checked_malloc(MAX_USERNAME_LEN + 1);
@@ -365,6 +366,7 @@ static char *get_corrected_real_name(char *real_name)
 
   return real_name_new;
 }
+#endif
 
 char *getLoginName()
 {
index 4a4c4d352e077da8bc0152e349a08220a01ef0ca..96adfcfebc88f2a50b5dd10670c805136593e617 100644 (file)
@@ -857,6 +857,7 @@ void CreateBitmapWithSmallBitmaps(Bitmap *src_bitmap)
 /* mouse pointer functions                                                   */
 /* ------------------------------------------------------------------------- */
 
+#if !defined(PLATFORM_MSDOS)
 /* XPM */
 static const char *cursor_image_playfield[] =
 {
@@ -942,9 +943,11 @@ static struct MouseCursorInfo *get_cursor_from_image(const char **image)
 
   return cursor;
 }
+#endif /* !PLATFORM_MSDOS */
 
 void SetMouseCursor(int mode)
 {
+#if !defined(PLATFORM_MSDOS)
   static struct MouseCursorInfo *cursor_playfield = NULL;
 
   if (cursor_playfield == NULL)
@@ -955,6 +958,7 @@ void SetMouseCursor(int mode)
 #elif defined(TARGET_X11_NATIVE)
   X11SetMouseCursor(mode == CURSOR_PLAYFIELD ? cursor_playfield : NULL);
 #endif
+#endif
 }
 
 
index 38365464e3d8617bf4d7c512f84e25cc9f46a0a1..d7acc801be5ae6ced5087e396fa48f35ccce3bfb 100644 (file)
@@ -404,6 +404,7 @@ inline Pixel X11GetPixel(Bitmap *bitmap, int x, int y)
   return pixel_value;
 }
 
+#if defined(TARGET_X11_NATIVE)
 inline Pixel X11GetPixelFromRGB(unsigned int color_r, unsigned int color_g,
                                unsigned int color_b)
 {
@@ -420,6 +421,8 @@ inline Pixel X11GetPixelFromRGB(unsigned int color_r, unsigned int color_g,
 
   return pixel;
 }
+#endif /* TARGET_X11_NATIVE */
+
 
 /* ------------------------------------------------------------------------- */
 /* mouse pointer functions                                                   */