Open source remastering of the Freespace 2 engine
Go to the documentation of this file.
4 #include <wx/mstream.h>
5 #include <wx/image.h>
6 #include <wx/bitmap.h>
8 static const unsigned char wingdisband_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, 0x91, 0x49, 0x44,
25  0x41, 0x54, 0x38, 0x4F, 0xC5, 0x53, 0x5B, 0x0E, 0xC0, 0x20,
26  0x08, 0xDB, 0xEE, 0x7F, 0x29, 0x8F, 0xB6, 0x11, 0x0D, 0x32,
27  0x2C, 0xAF, 0xCC, 0x44, 0x3F, 0xA1, 0x96, 0xB6, 0xCA, 0xDD,
28  0x5A, 0xBB, 0xFE, 0x1F, 0x8B, 0xE5, 0xAD, 0xAF, 0x07, 0x8E,
29  0x23, 0x86, 0x6D, 0x2C, 0x2B, 0x11, 0x14, 0xD2, 0x8B, 0x4A,
30  0xCE, 0x28, 0x3A, 0xBD, 0x8C, 0xA9, 0x0F, 0x8B, 0x1C, 0xE2,
31  0x08, 0x51, 0x23, 0x19, 0x49, 0xB9, 0xC0, 0x5E, 0x57, 0xAE,
32  0xBA, 0x31, 0x4B, 0x97, 0x03, 0xAF, 0xB1, 0x52, 0xD9, 0x95,
33  0x92, 0xE7, 0x35, 0x2B, 0x05, 0xC5, 0x8E, 0x61, 0x99, 0x14,
34  0x62, 0x4C, 0x8C, 0x10, 0x36, 0x2D, 0x70, 0xEC, 0x48, 0xC5,
35  0x7C, 0xD4, 0x51, 0x68, 0x99, 0xE2, 0x37, 0xAD, 0xA2, 0xCD,
36  0x2B, 0xE7, 0x62, 0xAD, 0x6F, 0x39, 0x17, 0xB8, 0x78, 0x87,
37  0x58, 0xF8, 0xE3, 0xCB, 0xCD, 0x28, 0x6B, 0xD9, 0xC6, 0x92,
38  0x59, 0x22, 0xEF, 0xA5, 0x33, 0xDF, 0x64, 0xAE, 0x78, 0x09,
39  0x6D, 0x81, 0x1F, 0x9C, 0x10, 0x7F, 0xAF, 0xBB, 0x4C, 0xFA,
40  0x2E, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4E, 0x44, 0xAE,
41  0x42, 0x60, 0x82,
42 };
45 {
46  static wxMemoryInputStream memIStream( wingdisband_png, sizeof( wingdisband_png ) );
47  static wxImage image( memIStream, wxBITMAP_TYPE_PNG );
48  static wxBitmap bmp( image );
49  return bmp;
50 };
GLenum GLsizei GLenum GLenum const GLvoid * image
Definition: Glext.h:5230
wxBitmap & wingdisband_png_to_wx_bitmap()