GFXCropRect structure

This forum is for discussions on how to edit what can not be edited through the txt files, needless to say this isn't about battle net hacking.

Moderators: Nefarius, Havvoric

Post Reply
P.J.
Posts: 65
Joined: Wed Jan 13, 2010 7:47 pm
Russia

GFXCropRect structure

Post by P.J. » Sat Aug 25, 2018 7:30 pm

Hello

Want to draw a part of image, found in this topic following func:

Code: Select all

#10077 void __stdcall DrawClippedImage(D2GFXDataStrc* pData, int nXpos, int nYpos, GFXCropRect* pCropRect, int nDrawMode)
Anyone know a GFXCropRect structure?

Many thanks

User avatar
Necrolis
Site Admin
Throne
Posts: 8918
Joined: Sat Mar 25, 2006 1:22 pm
Location: The Land of the Dead
Contact:
South Africa

Hand-picked

Re: GFXCropRect structure

Post by Necrolis » Sun Aug 26, 2018 4:32 pm

Code: Select all

struct GFXCropRect //sizeof 0x10
{
   int nXpos;            // +00
   int nWidth;           // +04
   int nYpos;            // +08
   int nHeight;          // +0C
};
Image
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal

Post Reply

Return to “Code Editing”