X-Git-Url: https://sfsrealm.hopto.org/projects/gitweb.cgi?a=blobdiff_plain;f=drawgrp%2Fdrawgrp.cpp;h=f4467934718743d7cb4ffe3b311ce579ce00c99e;hb=0df810495ce1e922f22278469a15014e9b5de5aa;hp=9b5e286f6e4556791e0120ac936517e2fc9dcac3;hpb=c483a082ba5c516a59a3ae91e3efee095f0f59a3;p=grpapi.git diff --git a/drawgrp/drawgrp.cpp b/drawgrp/drawgrp.cpp index 9b5e286..f446793 100644 --- a/drawgrp/drawgrp.cpp +++ b/drawgrp/drawgrp.cpp @@ -3,6 +3,7 @@ #define _CRT_RAND_S #include +#include #include "stdafx.h" @@ -99,28 +100,35 @@ int main(int argc, char* argv[]) } hGrp2 = hGrp; hGrp = CreateGrp(BI.pBuffer, GrpInfo.nFrames, GrpInfo.wMaxWidth, GrpInfo.wMaxHeight, &nGrpSize); + /*HANDLE hFile; + hFile = CreateFile("generated ultralisk.grp", GENERIC_WRITE, 0, 0, CREATE_ALWAYS, 0, 0); + if (hFile != INVALID_HANDLE_VALUE) { + WriteFile(hFile, hGrp, nGrpSize, &j, 0); + CloseHandle(hFile); + }*/ BI.nFrame = 0xFFFF; - for (i=13;i<14;i+=17) { - rect.left = rect.top = i; + j=0; + for (i=0;i