0
|
1 /*
|
|
2 * DMLib
|
|
3 * -- Bitmap image conversion and loading
|
|
4 * Programmed and designed by Matti 'ccr' Hamalainen
|
1270
|
5 * (C) Copyright 2012-2015 Tecnic Software productions (TNSP)
|
0
|
6 */
|
|
7 #ifndef DMIMAGE_H
|
|
8 #define DMIMAGE_H
|
|
9
|
|
10 #include "dmlib.h"
|
|
11 #include "dmres.h"
|
|
12
|
|
13 #ifdef __cplusplus
|
|
14 extern "C" {
|
|
15 #endif
|
|
16
|
|
17
|
|
18 SDL_Surface *dmCreateRGBSurfaceFrom(void *data, const int width, const int height, const int depth, const int pitch, const int rmask, const int gmask, const int bmask, const int amask);
|
|
19 SDL_Surface *dmCreatePaletteSurfaceFrom(void *data, const int width, const int height, const int pitch);
|
|
20 SDL_Surface *dmLoadImage(DMResource *file);
|
|
21
|
|
22
|
|
23 #ifdef __cplusplus
|
|
24 }
|
|
25 #endif
|
|
26
|
|
27 #endif // DMIMAGE_H
|