projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20020315-2-src
[rocksndiamonds.git]
/
src
/
libgame
/
image.h
diff --git
a/src/libgame/image.h
b/src/libgame/image.h
index 1257dda1ca2750eb7ec218aa44656efd9656e870..1e1b6cb5d50fc2672c6a313f6acf9bf0e00d9f9a 100644
(file)
--- a/
src/libgame/image.h
+++ b/
src/libgame/image.h
@@
-1,30
+1,23
@@
/***********************************************************
/***********************************************************
-*
Rocks'n'Diamonds -- McDuffin Strikes Back!
*
+*
Artsoft Retro-Game Library
*
*----------------------------------------------------------*
*----------------------------------------------------------*
-*
(c) 1995-98 Artsoft Entertainment
*
-*
Holger Schemel
*
-*
Oststrasse 11a
*
-*
33604 Bielefeld
*
-*
phone: ++49 +521 290471
*
-*
email: aeglos@valinor.owl.de
*
+*
(c) 1994-2001 Artsoft Entertainment
*
+*
Holger Schemel
*
+*
Detmolder Strasse 189
*
+*
33604 Bielefeld
*
+*
Germany
*
+*
e-mail: info@artsoft.org
*
*----------------------------------------------------------*
*----------------------------------------------------------*
-*
image.h
*
+*
image.h
*
***********************************************************/
#ifndef IMAGE_H
#define IMAGE_H
***********************************************************/
#ifndef IMAGE_H
#define IMAGE_H
-#include "platform.h"
-
-#ifndef TARGET_SDL
-
-#include "types.h"
#include "system.h"
#include "system.h"
-/*
-#include "types.h"
-#include "x11.h"
-*/
+
+#if defined(TARGET_X11)
#define MAX_COLORS 256 /* maximal number of colors for each image */
#define MAX_COLORS 256 /* maximal number of colors for each image */
@@
-64,5
+57,6
@@
void freeImage(Image *);
void freeXImage(Image *, XImageInfo *);
int Read_PCX_to_Pixmap(Display *, Window, GC, char *, Pixmap *, Pixmap *);
void freeXImage(Image *, XImageInfo *);
int Read_PCX_to_Pixmap(Display *, Window, GC, char *, Pixmap *, Pixmap *);
-#endif /* !TARGET_SDL */
+#endif /* TARGET_X11 */
+
#endif /* IMAGE_H */
#endif /* IMAGE_H */