Open source remastering of the Freespace 2 engine
Go to the documentation of this file.
1 #ifndef CONSTYZ_PNG_H
2 #define CONSTYZ_PNG_H
4 #include <wx/mstream.h>
5 #include <wx/image.h>
6 #include <wx/bitmap.h>
8 static const unsigned char constyz_png[] =
9 {
10  0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A, 0x00, 0x00,
11  0x00, 0x0D, 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x17,
12  0x00, 0x00, 0x00, 0x17, 0x08, 0x02, 0x00, 0x00, 0x00, 0x6F,
13  0x48, 0x43, 0xF7, 0x00, 0x00, 0x00, 0x01, 0x73, 0x52, 0x47,
14  0x42, 0x00, 0xAE, 0xCE, 0x1C, 0xE9, 0x00, 0x00, 0x00, 0x04,
15  0x67, 0x41, 0x4D, 0x41, 0x00, 0x00, 0xB1, 0x8F, 0x0B, 0xFC,
16  0x61, 0x05, 0x00, 0x00, 0x00, 0x20, 0x63, 0x48, 0x52, 0x4D,
17  0x00, 0x00, 0x7A, 0x26, 0x00, 0x00, 0x80, 0x84, 0x00, 0x00,
18  0xFA, 0x00, 0x00, 0x00, 0x80, 0xE8, 0x00, 0x00, 0x75, 0x30,
19  0x00, 0x00, 0xEA, 0x60, 0x00, 0x00, 0x3A, 0x98, 0x00, 0x00,
20  0x17, 0x70, 0x9C, 0xBA, 0x51, 0x3C, 0x00, 0x00, 0x00, 0x1A,
21  0x74, 0x45, 0x58, 0x74, 0x53, 0x6F, 0x66, 0x74, 0x77, 0x61,
22  0x72, 0x65, 0x00, 0x50, 0x61, 0x69, 0x6E, 0x74, 0x2E, 0x4E,
23  0x45, 0x54, 0x20, 0x76, 0x33, 0x2E, 0x35, 0x2E, 0x31, 0x30,
24  0x30, 0xF4, 0x72, 0xA1, 0x00, 0x00, 0x00, 0x8A, 0x49, 0x44,
25  0x41, 0x54, 0x38, 0x4F, 0xED, 0x92, 0x4B, 0x0E, 0xC0, 0x20,
26  0x08, 0x44, 0xED, 0xCD, 0x39, 0x9A, 0x47, 0x2B, 0x86, 0x86,
27  0xF0, 0x19, 0xB4, 0x8D, 0x5D, 0xEA, 0xA2, 0x49, 0x65, 0x1C,
28  0x87, 0x27, 0x57, 0xEF, 0xBD, 0xED, 0x2F, 0x76, 0xD9, 0x5F,
29  0x6D, 0xDF, 0x62, 0x74, 0x73, 0x5C, 0x20, 0x01, 0xC7, 0x45,
30  0x5E, 0xDC, 0xEA, 0x74, 0x07, 0x0E, 0x83, 0x2A, 0xDD, 0x19,
31  0x22, 0x62, 0x35, 0x7F, 0xA5, 0x1C, 0x7E, 0xAD, 0xBB, 0x94,
32  0xB0, 0x8B, 0x4E, 0xA0, 0x94, 0x73, 0x34, 0xEB, 0xEE, 0x22,
33  0xE7, 0x3E, 0x6D, 0xF8, 0x5C, 0x0D, 0x29, 0x9E, 0xFB, 0x2A,
34  0x9D, 0x6D, 0x2D, 0x90, 0x02, 0x17, 0x63, 0xE6, 0x09, 0xF3,
35  0xBC, 0x47, 0x3C, 0xBB, 0x90, 0x48, 0x85, 0x69, 0x10, 0x7C,
36  0x99, 0x65, 0x62, 0xF1, 0xD9, 0x25, 0x4C, 0x4D, 0xF9, 0xD2,
37  0x30, 0xDA, 0x72, 0x13, 0x77, 0xB4, 0x3C, 0x16, 0x04, 0xC7,
38  0x05, 0x13, 0xFB, 0x87, 0xCB, 0x0D, 0xAC, 0xB6, 0x02, 0x3E,
39  0x29, 0xD8, 0xF7, 0x93, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45,
40  0x4E, 0x44, 0xAE, 0x42, 0x60, 0x82,
41 };
44 {
45  static wxMemoryInputStream memIStream( constyz_png, sizeof( constyz_png ) );
46  static wxImage image( memIStream, wxBITMAP_TYPE_PNG );
47  static wxBitmap bmp( image );
48  return bmp;
49 };
52 #endif //CONSTYZ_PNG_H
GLenum GLsizei GLenum GLenum const GLvoid * image
Definition: Glext.h:5230
wxBitmap & constyz_png_to_wx_bitmap()
Definition: constyz.png.h:43