This commit is contained in:
parent
a5eda11791
commit
0b9bbdafad
3 changed files with 6 additions and 1 deletions
|
@ -762,7 +762,10 @@ vector<sSpriteFrameGfx> Hdrs;
|
||||||
|
|
||||||
Hdrs[i].AspectX0=X0;
|
Hdrs[i].AspectX0=X0;
|
||||||
Hdrs[i].AspectX1=X1;
|
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);
|
// printf("%i %i %i\n",Hdrs[i].W,X0,X1);
|
||||||
fwrite(ThisBmp.Pak,1,ThisBmp.PakSize,File);
|
fwrite(ThisBmp.Pak,1,ThisBmp.PakSize,File);
|
||||||
|
|
Binary file not shown.
|
@ -272,6 +272,8 @@ struct sSpriteFrameGfx
|
||||||
u8 *PAKSpr; // 4 Needs to be u32, so might as well make it a ptr
|
u8 *PAKSpr; // 4 Needs to be u32, so might as well make it a ptr
|
||||||
s8 AspectX0,AspectX1; // 2 Aspect correction value
|
s8 AspectX0,AspectX1; // 2 Aspect correction value
|
||||||
u8 W,H; // 2
|
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
|
struct sSpriteFrame
|
||||||
|
|
Loading…
Add table
Reference in a new issue