Anonymous

Changes

From Final Fantasy Inside

FF7/Field Module/DAT/Tile Map

136 bytes added, 19:23, 22 November 2011
Some mistakes
A list of UINT16, bit fields, because the ordering of fields within such an object are unspecifiable in the C and C++ standards (IE the compilor can choose any way which it may be done the standard doesn't care), this structure will be shown (a BIT?) differently.
{
unsigned ZZ:117; // 11 7 MSB unsigned deph:2; unsigned blending_mode:2; unsigned page_y:1; //
unsigned page_x:4; // 4 LSB
}SpriteTP_Blend;
===Section 4===
Sprite Texture Page and Blending Mode data
{
unsigned ZZ:7;// 7 MSB
unsigned deph:2;
unsigned blending_mode:2;
unsigned page_y:1;
unsigned page_x:4;// 4 LSB
} SpriteTP_Blend;
===Section 5===
This section looks like section 4, it is used for additional layers. For SpriteTP_Blend infos, you must use section 3.
struct {
INT16 DestinationX;
UINT8 TexPageSourceY;
UINT16 TileClutData;
UINT16 SpriteTP_BlendUINT8 Parameter; UINT8 State;
} SpriteTile2;
Anonymous user