THPPlayerDrawCurrentFrame

Syntax

#include "THPPlayer.h"

s32 THPPlayerDrawCurrentFrame(GXRenderModeObj *rmode,
                              u32              x,
                              u32              y,
                              u32              polygonW,
                              u32              polygonH);

Arguments

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.

Return Values

Returns the frame numbers rendered if successful, -1 otherwise.

Description

The THPPlayerDrawCurrentFrame function draws the current frame of the THP movie data by pasting it on the polygon.

See Also

None.

Revision History

2006/03/01 Initial version.


CONFIDENTIAL