#include "THPSimple.h"
s32 THPSimpleDrawCurrentFrame(GXRenderModeObj *rmode,
u32 x,
u32 y,
u32 polygonW,
u32 polygonH);
rmode |
Pointer to currently set GXRenderModeObj. |
x |
The x coordinate of the upper left of the polygon that displays the movie, corresponding to the TV screen. |
y |
The y coordinate of the upper left of the polygon that displays the movie, corresponding to the TV screen. |
polygonW |
The width of the polygon displaying the movie. |
polygonH |
The height of the polygon displaying the movie. |
Returns the frame number drawn if successful; -1 otherwise.
This function draws the THP video data that was extracted by the previous THPSimpleDecode function by applying it on a polygon.
03/01/2006 Initial version.