Current News
Archived News
Search News
Discussion Forum


Old Forum
Install Programs More Downloads...
Troubleshooting
Source Code
Format Specs.
Misc. Information
Non-SF Stuff
Links




ShadowFlare [Tue, 28 Nov 2006 01:17:30 +0000 (01:17 +0000)]
grpapi/grpapi_no-lib.cpp
grpapi/grpapi_no-lib.h

index 0b056ce..9a63fa8 100644 (file)
@@ -12,6 +12,7 @@ funcLoadGrp LoadGrp = 0;
 funcDestroyGrp DestroyGrp = 0;\r
 funcDrawGrp DrawGrp = 0;\r
 funcGetGrpInfo GetGrpInfo = 0;\r
+funcGetGrpFrameInfo GetGrpFrameInfo = 0;\r
 funcCreateGrp CreateGrp = 0;\r
 funcSetFunctionGetPixel SetFunctionGetPixel = 0;\r
 funcSetFunctionSetPixel SetFunctionSetPixel = 0;\r
@@ -30,6 +31,7 @@ GRPAPIMODULE::GRPAPIMODULE()
                DestroyGrp = (funcDestroyGrp)GetProcAddress(hGrpApi,"DestroyGrp");\r
                DrawGrp = (funcDrawGrp)GetProcAddress(hGrpApi,"DrawGrp");\r
                GetGrpInfo = (funcGetGrpInfo)GetProcAddress(hGrpApi,"GetGrpInfo");\r
+               GetGrpFrameInfo = (funcGetGrpFrameInfo)GetProcAddress(hGrpApi,"GetGrpFrameInfo");\r
                CreateGrp = (funcCreateGrp)GetProcAddress(hGrpApi,"CreateGrp");\r
                SetFunctionGetPixel = (funcSetFunctionGetPixel)GetProcAddress(hGrpApi,"SetFunctionGetPixel");\r
                SetFunctionSetPixel = (funcSetFunctionSetPixel)GetProcAddress(hGrpApi,"SetFunctionSetPixel");\r
@@ -46,6 +48,7 @@ GRPAPIMODULE::~GRPAPIMODULE()
        DestroyGrp = 0;\r
        DrawGrp = 0;\r
        GetGrpInfo = 0;\r
+       GetGrpFrameInfo = 0;\r
        CreateGrp = 0;\r
        SetFunctionGetPixel = 0;\r
        SetFunctionSetPixel = 0;\r
index a31b369..9dc9baa 100644 (file)
@@ -60,11 +60,13 @@ typedef HANDLE (WINAPI* funcLoadGrp)(LPCSTR lpFileName);
 typedef BOOL   (WINAPI* funcDestroyGrp)(HANDLE hGrp);\r
 typedef BOOL   (WINAPI* funcDrawGrp)(HANDLE hGrp, HDC hdcDest, int nXDest, int nYDest, WORD nFrame, DWORD *dwPalette, DWORD dwFlags, DWORD dwAlpha);\r
 typedef BOOL   (WINAPI* funcGetGrpInfo)(HANDLE hGrp, GRPHEADER *GrpInfo);\r
+typedef BOOL   (WINAPI* funcGetGrpFrameInfo)(HANDLE hGrp, WORD nFrame, DWORD *nLeft, DWORD *nTop, DWORD *nWidth, DWORD *nHeight);\r
 extern funcLoadPalette LoadPalette;\r
 extern funcLoadGrp LoadGrp;\r
 extern funcDestroyGrp DestroyGrp;\r
 extern funcDrawGrp DrawGrp;\r
 extern funcGetGrpInfo GetGrpInfo;\r
+extern funcGetGrpFrameInfo GetGrpFrameInfo;\r
 \r
 // A pointer to the raw image data to encode should be passed to lpImageData.  The size of\r
 // the buffer containing the data should be nFrames * wMaxWidth * wMaxHeight * sizeof(short)\r