12754ea9f2f9468fe3d5fa4727caa503d2fa4de5
[rocksndiamonds.git] / src / libgame / image.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 * image.h                                                  *
12 ***********************************************************/
13
14 #ifndef IMAGE_H
15 #define IMAGE_H
16
17 #include "system.h"
18
19
20 int getImageListSize();
21 struct FileInfo *getImageListEntryFromImageID(int);
22 Bitmap *getBitmapFromImageID(int);
23 int getOriginalImageWidthFromImageID(int);
24 int getOriginalImageHeightFromImageID(int);
25 char *getTokenFromImageID(int);
26 int getImageIDFromToken(char *);
27 char *getImageConfigFilename();
28 int getImageListPropertyMappingSize();
29 struct PropertyMapping *getImageListPropertyMapping();
30 void InitImageList(struct ConfigInfo *, int, struct ConfigTypeInfo *,
31                    char **, char **, char **, char **, char **);
32
33 void ReloadCustomImages();
34 void CreateImageWithSmallImages(int, int, int);
35 void ScaleImage(int, int);
36
37 void FreeAllImages();
38
39 #endif  /* IMAGE_H */