diff --git a/Utils/MkActor/MkActor.cpp b/Utils/MkActor/MkActor.cpp index 471df4e9b..53861356d 100644 --- a/Utils/MkActor/MkActor.cpp +++ b/Utils/MkActor/MkActor.cpp @@ -762,7 +762,10 @@ vector Hdrs; Hdrs[i].AspectX0=X0; Hdrs[i].AspectX1=X1; - + Hdrs[i].OW=ThisBmp.OrigW; + Hdrs[i].OH=ThisBmp.OrigH; + Hdrs[i].W0=W0; + Hdrs[i].W1=W1; // printf("%i %i %i\n",Hdrs[i].W,X0,X1); fwrite(ThisBmp.Pak,1,ThisBmp.PakSize,File); diff --git a/tools/Data/bin/MkActor.exe b/tools/Data/bin/MkActor.exe index b28cc698d..6fef49beb 100644 Binary files a/tools/Data/bin/MkActor.exe and b/tools/Data/bin/MkActor.exe differ diff --git a/tools/Data/include/dstructs.h b/tools/Data/include/dstructs.h index e29605cf3..2d60f71e0 100644 --- a/tools/Data/include/dstructs.h +++ b/tools/Data/include/dstructs.h @@ -272,6 +272,8 @@ struct sSpriteFrameGfx u8 *PAKSpr; // 4 Needs to be u32, so might as well make it a ptr s8 AspectX0,AspectX1; // 2 Aspect correction value u8 W,H; // 2 + u8 W0,W1; // 2 Need these for rotating :o( + u8 OW,OH; // 2 So might as well pad with these :o( }; struct sSpriteFrame