1 #pragma once 2 3 extern HBITMAP ghbmp1, ghbmp4, ghbmp8, ghbmp16, ghbmp24, ghbmp32; 4 extern HBITMAP ghbmpDIB1, ghbmpDIB4, ghbmpDIB8, ghbmpDIB16, ghbmpDIB24, ghbmpDIB32; 5 extern HDC ghdcDIB1, ghdcDIB4, ghdcDIB8, ghdcDIB16, ghdcDIB24, ghdcDIB32; 6 extern PVOID gpvDIB1, gpvDIB4, gpvDIB8, gpvDIB16, gpvDIB24, gpvDIB32; 7 8 extern HBITMAP ghbmpDIB32; 9 //extern PULONG pulDIB32Bits; 10 extern PULONG pulDIB4Bits; 11 extern HPALETTE ghpal; 12 typedef struct 13 { 14 WORD palVersion; 15 WORD palNumEntries; 16 PALETTEENTRY logpalettedata[8]; 17 } MYPAL; 18 19 extern ULONG (*gpDIB32)[8][8]; 20 21 extern MYPAL gpal; 22 23 BOOL InitStuff(void); 24 25