Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | daniel-mar | 1 | /** |
2 | * Bitmap Import for Imagination Pilots Entertainment 16-bit games (IPE16) |
||
3 | * - Blown Away - The Interactive Game by Imagination Pilots (BA) |
||
4 | * - Panic in the Park - The Interactive Game by Imagination Pilots (PiP) |
||
5 | * - Where's Waldo? At the Circus (Waldo1) |
||
6 | * ART file packer and unpacker by Daniel Marschall, ViaThinkSoft (C) 2014-2018 |
||
7 | * Revision: 2018-02-15 |
||
8 | **/ |
||
9 | |||
10 | #ifndef __inc__ipe16_bmpimport |
||
11 | #define __inc__ipe16_bmpimport |
||
12 | |||
13 | #include <stdio.h> |
||
14 | #include <stdint.h> |
||
15 | #include <stdbool.h> |
||
16 | #include <stdlib.h> |
||
17 | |||
18 | #include "bitmap.h" |
||
19 | #include "ipe16_artfile.h" |
||
20 | |||
21 | typedef struct tagIpe16BmpImportData { |
||
22 | Ipe16ColorTable* colorTable; |
||
23 | unsigned char* bmpData; |
||
24 | size_t bmpDataSize; |
||
25 | unsigned int width; |
||
26 | unsigned int height; |
||
27 | char error[255]; |
||
28 | } Ipe16BmpImportData; |
||
29 | |||
30 | bool ipe16_bmp_import(FILE* fibBitmap, Ipe16BmpImportData* result); |
||
31 | void ipe16_free_bmpimport_result(Ipe16BmpImportData *res); |
||
32 | |||
33 | #endif // #ifndef __inc__ipe16_bmpimport |
||
34 |