#include "THPPlayer.h"
s32 THPPlayerDrawCurrentFrame(GXRenderModeObj *rmode,
u32 x,
u32 y,
u32 polygonW,
u32 polygonH);
| rmode | Pointer to the GXRenderModeObj that is currently set. |
|---|---|
x |
x coordinate of the upper left of the polygon that displays the movie data on the TV screen. |
| y | y coordinate of the upper left of the polygon that displays the movie data on the TV screen. |
| polygonW | Width of the polygon that displays the movie. |
| polygonH | Height of the polygon that displays the movie. |
Returns the frame numbers rendered if successful, -1 otherwise.
The THPPlayerDrawCurrentFrame function draws the current frame of the THP movie data by pasting it on the polygon.
None.
2006/03/01 Initial version.
CONFIDENTIAL