Graphics 2D Library (G2d)

[Function List]

Module-Related Dependency
Render-Related Module
The Animation Data Structure Related Module
Data Structures
NNS_G2dGetCellDataByIdx
NNS_G2dCellDataBankHasVramTransferData
NNS_G2dGetSizeRequiredVramTransferCellDataBank
NNS_G2dGetAnimSequenceByIdx
NNS_G2dCalcAnimSequenceTotalVideoFrames
NNS_G2dCellHasBR
NNS_G2dGetCellBoundingRect
NNS_G2dGetCellBoundingSphereR
NNS_G2dGetOAMSize*
NNS_G2dRepeatXinCellSpace / NNS_G2dRepeatYinCellSpace
NNS_G2dGetUserExCellAttrBankFromCellBank
NNS_G2dGetUserExCellAttr
NNS_G2dGetUserExCellAttrValue
NNS_G2dGetAnimSequenceIndex
NNS_G2dGetUserExAnimAttrBank
NNS_G2dGetUserExAnimSequenceAttr
NNS_G2dGetUserExAnimFrameAttr
NNS_G2dGetUserExAnimSeqAttrValue
NNS_G2dGetUserExAnimFrmAttrValue
Load Files (Overview)
NNS_G2dIsBinFileValid
NNS_G2dFindBinaryBlock
NNS_G2dPrint*
NNS_G2dUnPack*
NNS_G2dGetUnpacked*
Animation Controller (Overview)
Regarding animation types
Regarding the animation playback methods
NNS_G2dBindAnimCtrl
NNS_G2dGetAnimCtrlType
NNS_G2dGetAnimCtrlCurrentElement
NNS_G2dGetAnimCtrlNextElement
NNS_G2dGetAnimCtrlNormalizedTime
NNS_G2dInitAnimCtrl
NNS_G2dInitAnimCtrlCallBackFunctor
NNS_G2dInitAnimCallBackFunctor
NNS_G2dIsAnimCtrlActive
NNS_G2dSetAnimCtrlPlayModeOverridden
NNS_G2dResetAnimCtrlPlayModeOverridden
NNS_G2dStartAnimCtrl
NNS_G2dStopAnimCtrl
NNS_G2dSetAnimCtrlSpeed
NNS_G2dGetAnimCtrlSpeed
NNS_G2dResetAnimCtrlState
NNS_G2dSetAnimCtrlCurrentFrame
NNS_G2dGetAnimCtrlCurrentFrame
NNS_G2dSetAnimCtrlCurrentTime
NNS_G2dGetAnimCtrlCurrentTime
NNS_G2dSetAnimCtrlCurrentFrameNoResetCurrentTime
NNS_G2dSetAnimCtrlCallBackFunctor
NNS_G2dSetAnimCtrlCallBackFunctorAtAnimFrame
NNS_G2dTickAnimCtrl
NNS_G2dGetAnimCtrlCurrentAnimSequence
NNS_G2dGetAnimCtrlCurrentElemIdxVal
Cell (Overview)
NNS_G2dCopyCellAsOamAttr
NNS_G2dInitCellAnimation
NNS_G2dInitCellAnimationVramTransfered
NNS_G2dMakeCellToOams
NNS_G2dSetCellAnimationCurrentFrame
NNS_G2dSetCellAnimationSequence
NNS_G2dSetCellAnimationSequenceNoReset
NNS_G2dSetCellAnimationSpeed
NNS_G2dGetCellAnimationAnimCtrl
NNS_G2dGetCellAnimationCurrentCell
NNS_G2dTickCellAnimation
NNS_G2dRestartCellAnimation
MultiCell (Overview)
NNS_G2dGetMCWorkAreaSize
NNS_G2dInitMCAnimationInstance
NNS_G2dMakeSimpleMultiCellToOams
NNS_G2dSetAnimSequenceToMCAnimation
NNS_G2dGetMCAnimAnimCtrl
NNS_G2dSetMCAnimationCurrentFrame
NNS_G2dSetMCAnimationCellAnimFrame
NNS_G2dResetMCCellAnimationAll
NNS_G2dStartMCCellAnimationAll
NNS_G2dSetMCAnimationSpeed
NNS_G2dTickMCAnimation
NNS_G2dTickMCInstance
NNS_G2dRestartMCAnimation
NNS_G2dTraverseMCCellAnims
NNS_G2dTraverseMCNodes
OAM Manager (Overview)
NNS_G2dApplyOamManagerToHW
NNS_G2dApplyOamManagerToHWSprite
NNS_G2dEntryOamManagerOam
NNS_G2dEntryOamManagerAffine
NNS_G2dEntryOamManagerOamWithAffineIdx
NNS_G2dSetOamManagerAffine
NNS_G2dGetNewOamManagerInstance
NNS_G2dGetNewOamManagerInstanceAsFastTransferMode
NNS_G2dGetOamManagerAffineCapacity
NNS_G2dGetOamManagerOamCapacity
NNS_G2dInitOamManagerModule
NNS_G2dResetOamManagerBuffer
NNS_G2dSetOamManagerSpriteZoffsetStep
NNS_G2dGetOamBuffer
Expanded OAM Manager (Overview)
NNS_G2dApplyOamManExToBaseModule
NNS_G2dEntryOamManExAffine
NNS_G2dEntryOamManExOam
NNS_G2dEntryOamManExOamWithAffineIdx
NNS_G2dGetOamManExInstance
NNS_G2dResetOamManExBuffer
NNS_G2dSetOamManExEntryFunctions
NNSG2d_SetOamManExDrawOrderType
Software Sprite (Overview)
NNS_G2dSetupSoftwareSpriteCamera
NNS_G2dSetupSoftwareSpriteMaterial
NNS_G2dDrawSprite
NNS_G2dDrawSprite*
NNS_G2dDrawSprite*Fast
NNS_G2dGetSpriteDefaultAttr
NNS_G2dIsSpriteAttrEnable
NNS_G2dSetSpriteCurrentPolygonID
NNS_G2dSetSpriteDefaultAttr
NNS_G2dSetSpriteAttrEnable
Drawing OAM Software Sprites (Overview)
NNS_G2dDrawOneOam3DDirect
NNS_G2dDrawOneOam3DDirectWithPos
NNS_G2dDrawOneOam3DDirectWithPosAffine
NNS_G2dDrawOneOam3DDirect*Fast
NNS_G2dSetOamSoftEmuSpriteParamCache
NNS_G2dDrawOneOam3DDirectUsingParamCacheFast
NNS_G2dSetOamSoftEmuUVFlipCorrectFunc
NNS_G2dResetOamSoftEmuUVFlipCorrectFunc
Entity (Overview)
NNS_G2dInitEntity
NNS_G2dIsEntityValid
NNS_G2dIsEntityPaletteTblEnable
NNS_G2dResetEntityPaletteTable
NNS_G2dGetEntityAnimCtrl
NNS_G2dSetEntityCurrentAnimation
NNS_G2dSetEntityCurrentFrame
NNS_G2dSetEntitySpeed
NNS_G2dSetEntityPaletteTable
NNS_G2dTickEntity
Image Load-Related (Overview)
NNS_G2dInitImageProxy
NNS_G2dInitImagePaletteProxy
NNS_G2dLoadImage1DMapping
NNS_G2dLoadImage2DMapping
NNS_G2dLoadImageVramTransfer
NNS_G2dLoadPalette
NNS_G2dLoadPaletteEx
NNS_G2dIsImageReadyToUse
NNS_G2dIsImagePaletteReadyToUse
NNS_G2dSetImageExtPaletteFlag
NNS_G2dSetImageLocation
NNS_G2dGetImageLocation
NNS_G2dSetImagePaletteLocation
NNS_G2dGetImagePaletteLocation
Cell VRAM Transfer State Manager (Overview)
NNS_G2dInitCellTransferStateManager
NNS_G2dFreeCellTransferStateHandle
NNS_G2dGetNewCellTransferStateHandle
NNS_G2dSetCellTransferStateRequested
NNS_G2dUpdateCellTransferStateManager
Renderer (Overview)
NNS_G2dAddRendererTargetSurface
NNS_G2dBeginRendering
NNS_G2dBeginRenderingEx
NNS_G2dEndRendering
NNS_G2dDrawCell
NNS_G2dDrawCellAnimation
NNS_G2dDrawEntity
NNS_G2dDrawMultiCell
NNS_G2dDrawMultiCellAnimation
NNS_G2dGetRendererPaletteTbl
NNS_G2dInitRenderer
NNS_G2dInitRenderSurface
NNS_G2dOptimizeRenderer
NNS_G2dPopMtx
NNS_G2dPushMtx
NNS_G2dResetRendererPaletteTbl
NNS_G2dTranslate
NNS_G2dSetTrans
NNS_G2dRotZ
NNS_G2dScale
NNS_G2dSetRendererFlipMode
NNS_G2dSetRendererSurfaceActiveFlag
NNS_G2dGetRendererSurfaceActiveFlag
NNS_G2dSetRendererAffineOverwriteMode
NNS_G2dGetRendererAffineOverwriteMode
NNS_G2dSetRendererImageProxy
NNS_G2dSetRendererPaletteTbl
NNS_G2dSetRendererSpriteZoffset
NNS_G2dSetRendererOverwriteEnable / Disable
NNS_G2dSetRendererOverwrite*
NNS_G2dGetRendererOverwrite*
Renderer Core (Overview)
NNS_G2dInitRndCore
NNS_G2dInitRndCoreSurface
NNS_G2dInitRndCore2DMtxCache
NNS_G2dSetRndCore2DMtxCacheMtxParams
NNS_G2dSetRndCoreCurrentMtx2D
NNS_G2dSetRndCoreCurrentMtx3D
NNS_G2dIsRndCoreFlip*
NNS_G2dSetRndCoreFlipMode
NNS_G2dSetRndCoreImageProxy
NNS_G2dSetRndCoreOamRegisterFunc
NNS_G2dSetRndCoreSurface
NNS_G2dRndCoreBeginRendering
NNS_G2dRndCoreEndRendering
NNS_G2dRndCoreDrawCell
NNS_G2dSetRndCoreCellCloneSource3D
NNS_G2dRndCoreDrawCellClone3D
NNS_G2dRndCoreDrawCellFast2D
NNS_G2dRndCoreDrawCellVramTransfer
NNS_G2dSetRndCore3DSoftSpriteZvalue
NNS_G2dSetRndCoreAffineOverwriteMode
BG (Overview)
NNS_G2dBGSetup
NNS_G2dBGSetupEx
NNS_G2dBGLoadElements
NNS_G2dBGLoadElementsEx
NNS_G2dBGLoadScreenRect
NNS_G2dSetBGAreaOver
NNS_G2dGetBGAreaOver
Font (Overview)
NNS_G2dFontInitAuto
NNS_G2dFontInitUTF8
NNS_G2dFontInitUTF16
NNS_G2dFontInitShiftJIS
NNS_G2dFontInitCP1252
NNS_G2dFontGetType
NNS_G2dFontGetHeight
NNS_G2dFontGetCellHeight
NNS_G2dFontGetCellWidth
NNS_G2dFontGetBpp
NNS_G2dFontGetBaselinePos
NNS_G2dFontGetMaxCharWidth
NNS_G2dFontGetLineFeed
NNS_G2dFontSetLineFeed
NNS_G2dFontGetDefaultCharWidths
NNS_G2dFontSetDefaultCharWidths
NNS_G2dFontGetAlternateGlyphIndex
NNS_G2dFontSetAlternateGlyphIndex
NNS_G2dFontSetAlternateChar
NNS_G2dFontGetGlyph
NNS_G2dFontGetGlyphImage
NNS_G2dFontGetCharWidth
NNS_G2dFontGetCharWidths
NNS_G2dFontFindGlyphIndex
NNS_G2dFontGetGlyphIndex
NNS_G2dFontGetGlyphImageFromIndex
NNS_G2dFontGetGlyphFromIndex
NNS_G2dFontGetCharWidthFromIndex
NNS_G2dFontGetCharWidthsFromIndex
NNS_G2dFontGetStringWidth
NNS_G2dFontGetTextWidth
NNS_G2dFontGetTextHeight
NNS_G2dFontGetTextRect
NNSG2dCharWidths
NNSG2dGlyph
Text Character Drawing (Overview)
NNS_G2dCharCanvasInitForBG
NNS_G2dCharCanvasInitForOBJ1D
NNS_G2dCharCanvasInitForOBJ2DRect
NNS_G2dCharCanvasCalcCellDataSize1D
NNS_G2dCharCanvasCalcCellDataSize2DRect
NNS_G2dCharCanvasMakeCell1D
NNS_G2dCharCanvasMakeCell2DRect
NNS_G2dCharCanvasDrawChar
NNS_G2dCharCanvasDrawGlyph
NNS_G2dCharCanvasClear
NNS_G2dCharCanvasClearArea
NNS_G2dMapScrToCharText
NNS_G2dMapScrToCharAffine
NNS_G2dMapScrToChar256x16Pltt
NNS_G2dCalcRequireOBJ1D
NNS_G2dCalcRequireOBJ2DRect
NNS_G2dArrangeOBJ1D
NNS_G2dArrangeOBJ2DRect
NNS_G2dCalcRequireOBJ* Calculation Results Table
Text String Drawing (Overview)
NNS_G2dTextCanvasInit
NNS_G2dTextCanvasGetCharCanvas
NNS_G2dTextCanvasSetCharCanvas
NNS_G2dTextCanvasGetFont
NNS_G2dTextCanvasSetFont
NNS_G2dTextCanvasGetHSpace
NNS_G2dTextCanvasSetHSpace
NNS_G2dTextCanvasGetVSpace
NNS_G2dTextCanvasSetVSpace
NNS_G2dTextCanvasGetStringWidth
NNS_G2dTextCanvasGetTextWidth
NNS_G2dTextCanvasGetTextHeight
NNS_G2dTextCanvasGetTextRect
NNS_G2dTextCanvasDrawString
NNS_G2dTextCanvasDrawText
NNS_G2dTextCanvasDrawTextRect
NNS_G2dTextCanvasDrawTaggedText
NNSG2dTagCallback
NNSG2dTagCallbackInfo
NNS_G2D_UNICODE

CONFIDENTIAL