From: ShadowFlare Date: Wed, 6 Sep 2006 20:37:07 +0000 (+0000) Subject: (no commit message) X-Git-Url: https://sfsrealm.hopto.org/projects/gitweb.cgi?a=commitdiff_plain;h=ca356bb15e8bce53881ea299626c01d73ab23907;p=grpapi.git --- diff --git a/drawgrp/drawgrp.cpp b/drawgrp/drawgrp.cpp index 630fcf1..4de2c4c 100644 --- a/drawgrp/drawgrp.cpp +++ b/drawgrp/drawgrp.cpp @@ -57,7 +57,7 @@ int main(int argc, char* argv[]) if (argc>1) hGrp = LoadGrp(argv[1]); else - hGrp = LoadGrp("game\\icons.grp"); + hGrp = LoadGrp("unit\\zerg\\ultra.grp"); HDC hDC = GetDC(0); GRPHEADER GrpInfo; if (GetGrpInfo(hGrp,&GrpInfo)==0) {GrpInfo.nFrames=0;GrpInfo.wMaxWidth=0;GrpInfo.wMaxHeight=0;} @@ -74,7 +74,7 @@ int main(int argc, char* argv[]) }*/ COLORREF clrPixel; RECT rect; - for (i=0;i<400;i+=1) { + for (i=13;i<400;i+=17) { rect.left = rect.top = i; rect.right = rect.left + BI.nWidth; rect.bottom = rect.top + BI.nHeight; @@ -91,7 +91,7 @@ int main(int argc, char* argv[]) } FillRect(hDC, &rect, (HBRUSH) (COLOR_WINDOW+1)); } - for (i=0;i<400;i+=1) { + for (i=4;i<400;i+=17) { rect.left = rect.top = 400-i; rect.right = rect.left + BI.nWidth; rect.bottom = rect.top + BI.nHeight;