Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-2) was last changed on 13-Nov-2024 22:21 by Garhoogin

This page was created on 01-May-2024 20:02 by Garhoogin

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 14 changed one line
| 0x14 | void *| Pointer to extra cell data (fixed up at load time). This can be {{NULL}}.
| 0x14 | void *| Pointer to user extended cell attribute data (fixed up at load time). This can be {{NULL}}.
At line 29 added 2 lines
The cell attributes is a bit field. The lowest 6 bits of these attributes represent the size of the circle of minimal radius centered at the center of this cell's bounding box that contains every OBJ (or opaque pixel) in the cell. This is divided by 4 and rounded up, with a maximum value representing a radius of 252 pixels. Bit 8 indicates if the cell uses H flip, bit 9 indicates if the cell uses V flip, bit 10 indicates if the cell uses both H and V flip, and bit 11 indicates if the cell has bounding box information.
At line 42 added 9 lines
A cell bank may wish to store additional data. This can be placed inside a user extended attributes block in the {{{CEBK}}} block. When present, it takes the form of a sequence of blocks (fully contained within the {{{CEBK}}} block) that take on the same structure as the containing blocks. There is no field indicating the number of blocks, however. The NCER format defines the following block here:
||Offset||Type||Meaning
| 0x00 | u16 | Number of cells
| 0x02 | u16 | Number of attributes per cell (always 1)
| 0x04 | void* | Offset to attribute array relative to this struct
The attribute array consists of one pointer per each cell in the bank. These point to the extended attribute data, which is a single u32 per each cell.
Version Date Modified Size Author Changes ... Change note
2 13-Nov-2024 22:21 3.706 kB Garhoogin to previous Added some missing details to the format page
1 01-May-2024 20:02 2.412 kB Garhoogin to last
« This page (revision-2) was last changed on 13-Nov-2024 22:21 by Garhoogin