X-Git-Url: https://sfsrealm.hopto.org/projects/gitweb.cgi?a=blobdiff_plain;f=grpapi%2Fgrpapi_no-lib.h;h=2af7eecf6e9dbcff3847c41ff17fcd6aa307b07a;hb=4cc1708910ec3c16736da27b85a67f2359f00742;hp=8ce97724ea5e859195e4aa3f4d78d7ba95b3f826;hpb=8531f378333f02b781a0dc8d28014b89729e100a;p=grpapi.git diff --git a/grpapi/grpapi_no-lib.h b/grpapi/grpapi_no-lib.h index 8ce9772..2af7eec 100644 --- a/grpapi/grpapi_no-lib.h +++ b/grpapi/grpapi_no-lib.h @@ -66,6 +66,9 @@ extern funcDestroyGrp DestroyGrp; extern funcDrawGrp DrawGrp; extern funcGetGrpInfo GetGrpInfo; +typedef HANDLE (WINAPI* funcCreateGrp)(signed short *lpImageData, WORD nFrames, WORD wMaxWidth, WORD wMaxHeight, BOOL bNoCompress, DWORD *nGrpSize); +extern funcCreateGrp CreateGrp; + typedef COLORREF (WINAPI* GETPIXELPROC)( HDC hDC, // same value as hdcDest from DrawGrp, // does not need to be used as an HDC, @@ -86,7 +89,7 @@ typedef void (WINAPI* SETPIXELPROC)( // so that you can have it read from and write to a buffer, for example. typedef void (WINAPI* funcSetFunctionGetPixel)(GETPIXELPROC lpGetPixelProc); typedef void (WINAPI* funcSetFunctionSetPixel)(SETPIXELPROC lpSetPixelProc); -extern funcSetFunctionGetPixel SetFunctionGetPixel; +extern funcSetFunctionGetPixel SetFunctionGetPixel; // Only used with ALPHA_BLEND extern funcSetFunctionSetPixel SetFunctionSetPixel; // Call this to make a different Storm.dll-compatible MPQ library be used (like SFMPQ).