changed name of preprocessor constant to improve readability
[rocksndiamonds.git] / src / libgame / image.h
index 25b83ce5c551d1b162a39f8bf6b5378d48ffb14b..3d2421934465f4e1790628538607925667b65add 100644 (file)
@@ -4,7 +4,7 @@
 // (c) 1995-2014 by Artsoft Entertainment
 //                         Holger Schemel
 //                 info@artsoft.org
-//                 http://www.artsoft.org/
+//                 https://www.artsoft.org/
 // ----------------------------------------------------------------------------
 // image.h
 // ============================================================================
@@ -27,7 +27,7 @@
 #define NUM_IMG_BITMAPS                7
 
 // this bitmap pointer points to one of the above bitmaps (do not free it)
-#define IMG_BITMAP_GAME                7
+#define IMG_BITMAP_PTR_GAME    7
 
 #define NUM_IMG_BITMAP_POINTERS        8
 
@@ -52,7 +52,7 @@
                                         0)
 
 
-int getImageListSize();
+int getImageListSize(void);
 struct FileInfo *getImageListEntryFromImageID(int);
 Bitmap **getBitmapsFromImageID(int);
 int getOriginalImageWidthFromImageID(int);
@@ -60,18 +60,18 @@ int getOriginalImageHeightFromImageID(int);
 char *getTokenFromImageID(int);
 char *getFilenameFromImageID(int);
 int getImageIDFromToken(char *);
-char *getImageConfigFilename();
-int getImageListPropertyMappingSize();
-struct PropertyMapping *getImageListPropertyMapping();
+char *getImageConfigFilename(void);
+int getImageListPropertyMappingSize(void);
+struct PropertyMapping *getImageListPropertyMapping(void);
 void InitImageList(struct ConfigInfo *, int, struct ConfigTypeInfo *,
                   char **, char **, char **, char **, char **);
 
-void ReloadCustomImages();
+void ReloadCustomImages(void);
 void CreateImageWithSmallImages(int, int, int);
 void CreateImageTextures(int);
-void FreeAllImageTextures();
+void FreeAllImageTextures(void);
 void ScaleImage(int, int);
 
-void FreeAllImages();
+void FreeAllImages(void);
 
-#endif /* IMAGE_H */
+#endif // IMAGE_H