NNS_G2dInitEntity

C Specification

#include <nnsys/g2d/g2d_Entity.h>
void NNS_G2dInitEntity( 
                        NNSG2dEntity*               pEntity, 
                        void*                       pDrawStuff, 
                        const NNSG2dEntityData*     pEntityData, 
                        const NNSG2dAnimBankData*   pAnimDataBank );
  

Arguments

pEntity [OUT] Entity
pDrawStuff [IN] Data for rendering (NNSG2dCellAnimation or NNSG2dMultiCellAnimation)
pEntityData [IN] Entity definition data
pAnimDataBank [IN] Animation data bank

Return Values

None.

Description

Initializes the entity. pDrawStuff and pAnimDataBank must pass values that are appropriate to the Entity type. This function will fail in the assert if there is any input that does not fit these conditions. This function has a new name, and was renamed from NNS_G2dInitializeEntity. The previous function will remain to maintain compatibility.

See Also

NNS_G2dSetCurrentAnimation, NNS_G2dInitializeEntity

Revision History

2004/08/02 Renamed function

2004/05/28 Initial version.


CONFIDENTIAL