|
AnimaEngine
1.0.0
Nintendo DS Pokemon Black, White, Black 2, and White 2 sprite extraction and preview toolchain
|
Functions | |
| static void | NanrFrame_SetIdentityTransform (NanrFrame *frame) |
| static void | Nanr_ReadFrameElement (const u8 *element, int frame_type, NanrFrame *frame) |
| static u32 | Nanr_FrameElementSizeForType (int frame_type) |
| static int | CompareU32 (const void *a, const void *b) |
| static int | Nanr_FrameDuration (const NanrFrame *frame) |
| static int | Nanr_FrameDurationRange (const NanrAnimation *animation, int start_frame, int end_frame, int step) |
| static int | Nanr_SelectFrameInRange (const NanrAnimation *animation, int start_frame, int end_frame, int step, int tick) |
| static int | Nanr_SelectFrameForward (const NanrAnimation *animation, int tick, int loop) |
| static int | Nanr_SelectFramePingPong (const NanrAnimation *animation, int tick, int loop) |
| int | Nanr_Parse (const u8 *data, size_t size, NanrFile *out_nanr) |
| Parses an unpacked .NANR resource block from raw bytes. More... | |
| void | Nanr_Free (NanrFile *nanr) |
| Deallocates all resources held inside a NanrFile structure. More... | |
| int | Nanr_GetResolvedCellId (const NanrFile *nanr, int animation_index, int frame_index, NanrFrame *out_frame) |
| Retrieves information for a specific keyframe in a timeline sequence. More... | |
| int | Nanr_GetResolvedCellIdAtTick (const NanrFile *nanr, int animation_index, int tick, NanrFrame *out_frame) |
| Resolves keyframe attributes at a specific tick timing step. More... | |
| void | Nanr_PrintInfo (const NanrFile *nanr) |
| Debug printing routine to write parsed .NANR layout contents to stdout. More... | |
|
static |
|
static |
|
static |
|
static |
| void Nanr_Free | ( | NanrFile * | nanr | ) |
Deallocates all resources held inside a NanrFile structure.
| nanr | Pointer to structure to clear. |
| int Nanr_GetResolvedCellId | ( | const NanrFile * | nanr, |
| int | animation_index, | ||
| int | frame_index, | ||
| NanrFrame * | out_frame | ||
| ) |
Retrieves information for a specific keyframe in a timeline sequence.
| nanr | Pointer to parsed .NANR resource structure. |
| animation_index | Target animation sequence index. |
| frame_index | Frame index inside animation sequence. |
| out_frame | Destination NanrFrame container to write results. |
| int Nanr_GetResolvedCellIdAtTick | ( | const NanrFile * | nanr, |
| int | animation_index, | ||
| int | tick, | ||
| NanrFrame * | out_frame | ||
| ) |
Resolves keyframe attributes at a specific tick timing step.
| nanr | Pointer to parsed .NANR resource structure. |
| animation_index | Target animation sequence index. |
| tick | Timing offset tick inside the timeline loop. |
| out_frame | Destination NanrFrame container to write results. |
Parses an unpacked .NANR resource block from raw bytes.
| data | Pointer to binary file data buffer. |
| size | Buffer size in bytes. |
| out_nanr | Destination NanrFile structure. |
| void Nanr_PrintInfo | ( | const NanrFile * | nanr | ) |
Debug printing routine to write parsed .NANR layout contents to stdout.
| nanr | Pointer to parsed .NANR resource. |
|
static |
|
static |
|
static |
|
static |