|
Digimon World 3 decomp
The European version, SLES_039.36
|
The graphics state: double-buffered display, the GPU packet buffers that primitives are written to (getPrim/setPrim), and up to LAYER_COUNT drawing layers, each with its own ordering table, drawn in order by drawFrame. More...
#include <engine/gfx.h>
Data Fields | |
| void(* | vsyncFunc )(s32 arg) |
| s32 | vsyncArg |
| s32 | frameCount |
| s32 | frameCounter |
| s32 | time |
| vsyncs since boot | |
| s32 | timeCounter |
| s32 | frameTime |
| vsyncs that the last frame took | |
| s32 | frameTimeCounter |
| void * | prim |
| next free byte of the packet buffer | |
| void * | primBufs [2] |
| s32 | primBufSize |
| s32 | dispBuffer |
| s32 | buffer |
| the one being drawn | |
| DISPENV | disp [2] |
| struct Layer * | layers [30] |
| s32 | layerIds [30] |
| GfxFuncs | funcs |
The graphics state: double-buffered display, the GPU packet buffers that primitives are written to (getPrim/setPrim), and up to LAYER_COUNT drawing layers, each with its own ordering table, drawn in order by drawFrame.
Times are in vsyncs; the counters keep 8 fractional bits.
| void(* GfxState::vsyncFunc) (s32 arg) |
Definition at line 61 of file gfx.h.
Referenced by FIGHTSTG_updateCursor(), and vsyncCallback().
| s32 GfxState::vsyncArg |
Definition at line 62 of file gfx.h.
Referenced by FIGHTSTG_updateCursor(), and vsyncCallback().
| s32 GfxState::frameCount |
Definition at line 63 of file gfx.h.
Referenced by drawFrame(), and getFrameCount().
| s32 GfxState::frameCounter |
Definition at line 64 of file gfx.h.
Referenced by drawFrame().
| s32 GfxState::time |
| s32 GfxState::timeCounter |
Definition at line 66 of file gfx.h.
Referenced by drawFrame(), and vsyncCallback().
| s32 GfxState::frameTime |
vsyncs that the last frame took
Definition at line 67 of file gfx.h.
Referenced by drawFrame(), getFrameTime(), and WFIGHTMN_updateMenu().
| s32 GfxState::frameTimeCounter |
Definition at line 68 of file gfx.h.
Referenced by drawFrame(), and vsyncCallback().
| void* GfxState::prim |
next free byte of the packet buffer
Definition at line 69 of file gfx.h.
Referenced by allocPrimBuffers(), drawFrame(), getPrim(), layerDraw(), resetGraphics(), and setPrim().
| void* GfxState::primBufs[2] |
Definition at line 70 of file gfx.h.
Referenced by allocPrimBuffers(), drawFrame(), and freePrimBuffers().
| s32 GfxState::primBufSize |
Definition at line 71 of file gfx.h.
Referenced by allocPrimBuffers().
| s32 GfxState::dispBuffer |
Definition at line 72 of file gfx.h.
Referenced by resetGraphics(), and vsyncCallback().
| s32 GfxState::buffer |
the one being drawn
Definition at line 73 of file gfx.h.
Referenced by allocPrimBuffers(), drawFrame(), layerClearOt(), layerDraw(), layerGetOt(), layerGetOtEntry(), layerGetOtEntryZ(), layerLoadLightMatrix(), layerLoadView(), layerSetKeepLightMatrix(), layerSetKeepView(), layerSkipEmptyOt(), moveTransitionTile(), resetGraphics(), and STDWTITL_initDecEnv().
| DISPENV GfxState::disp[2] |
Definition at line 74 of file gfx.h.
Referenced by main(), setDisplayArea(), setDisplayMode(), and vsyncCallback().
| struct Layer* GfxState::layers[30] |
Definition at line 75 of file gfx.h.
Referenced by createLayer(), destroyLayer(), drawFrame(), findLayerSlot(), getLayer(), insertLayerSlot(), moveLayer(), removeLayerSlot(), and resetGraphics().
| s32 GfxState::layerIds[30] |
Definition at line 76 of file gfx.h.
Referenced by createLayer(), findLayerSlot(), getLayer(), insertLayerSlot(), moveLayer(), removeLayerSlot(), and resetGraphics().
| GfxFuncs GfxState::funcs |
Definition at line 77 of file gfx.h.
Referenced by addNewDigimon(), advanceStageFade(), cardDrawerDraw(), cardDrawerSetLayer(), CARDGAME_animateSprite(), CARDGAME_chooseDeck(), CARDGAME_countDown(), CARDGAME_discardHand(), CARDGAME_discardPickedCard(), CARDGAME_discardPrevCard(), CARDGAME_drawBackground(), CARDGAME_drawDeckWindow(), CARDGAME_drawFader(), CARDGAME_drawFirstPlayer(), CARDGAME_drawFromDeck(), CARDGAME_drawMarker(), CARDGAME_drawNewCards(), CARDGAME_drawPanel(), CARDGAME_drawSpriteEffect(), CARDGAME_flipSlotCard(), CARDGAME_flipSprite(), CARDGAME_flySprite(), CARDGAME_holdSprite(), CARDGAME_holdSpriteThenBlink(), CARDGAME_jitterSprite(), CARDGAME_moveBlinker(), CARDGAME_moveSprite(), CARDGAME_removeMarkedSlots(), CARDGAME_returnUsedCards(), CARDGAME_shakeSprite(), CARDGAME_showPlayedCard(), CARDGAME_slidePanel(), CARDGAME_stepChooseCards(), CARDGAME_stepFader(), CARDGAME_stepPlayCard(), CARDGAME_stepPulseCard(), CARDGAME_stepRoundEnd(), CARDGAME_stepSlotTotal(), CARDGAME_stepStart(), CARDGAME_stepSwap(), CARDGAME_stepTally(), CARDGAME_stepTotals(), CARDGAME_stepYesNo(), CARDGAME_updateDeckWindow(), CARDGAME_updateGauge(), CARDGAME_updateMarker(), CARDGAME_updateMenuWindow(), CARDGAME_updateMessageWindow(), CARDGAME_updatePanelIcon(), CARDGAME_updateScene(), CARDGAME_updateScreen(), CARDGAME_updateWindow(), CARDGAME_waitFor(), CNTY_SEL_drawFade(), CNTY_SEL_stepAnimation(), CNTY_SEL_tickScreen(), countRoundWin(), drawBackground(), drawByteAnims(), drawEffectNames(), drawEntryPanel(), drawFader(), drawFlyerGate(), drawGauge(), drawKeyboard(), drawMessageBoxArrow(), drawScreenFade(), drawTalkBoxArrow(), drawTalkBoxFrame(), drawTimer(), drawZoomBox(), endBattleOnKnockOut(), FIELDSTG_animateActor(), FIELDSTG_closeField(), FIELDSTG_drawActor(), FIELDSTG_drawBannerBox(), FIELDSTG_drawCover(), FIELDSTG_drawCoverBlock(), FIELDSTG_drawMapTiles(), FIELDSTG_drawStream(), FIELDSTG_findOldestStream(), FIELDSTG_isTileFree(), FIELDSTG_playBattleTransition(), FIELDSTG_playCutsceneAnim(), FIELDSTG_runGauge(), FIELDSTG_runMapStreamer(), FIELDSTG_scrollCamera(), FIELDSTG_showSpotHint(), FIELDSTG_stepBalloonAnim(), FIELDSTG_stepEffectAnim(), FIELDSTG_toScreenPos(), FIELDSTG_touchStream(), FIELDSTG_updateActor(), FIELDSTG_updateActorIcon(), FIELDSTG_updateBalloon(), FIELDSTG_updateBanner(), FIELDSTG_updateEffect(), FIELDSTG_updateField(), FIELDSTG_updateHiddenSpots(), FIELDSTG_updateLift(), FIELDSTG_updateMapObjects(), FIELDSTG_updateSpotEffect(), FIELDSTG_updateStream(), FIELDSTG_waitScriptTime(), FIGHTSTG_applyCamera(), FIGHTSTG_countFrames(), FIGHTSTG_drawConfusedMessageBox(), FIGHTSTG_drawCursorSprites(), FIGHTSTG_drawHud(), FIGHTSTG_drawItemMenu(), FIGHTSTG_drawMesh(), FIGHTSTG_drawMeshWireframe(), FIGHTSTG_drawMessageBox(), FIGHTSTG_drawPageArrows(), FIGHTSTG_drawShadedQuad(), FIGHTSTG_drawTechMenu(), FIGHTSTG_drawWhiteFlash(), FIGHTSTG_fadeLights(), FIGHTSTG_fadeStage(), FIGHTSTG_finishMessage(), FIGHTSTG_queueMeshDraw(), FIGHTSTG_queueMeshWireframe(), FIGHTSTG_runScriptWait(), FIGHTSTG_stepConfusedMessage(), FIGHTSTG_stepHpTween(), FIGHTSTG_stepMessage(), FIGHTSTG_updateBattleCamera(), FIGHTSTG_updateCamera(), FIGHTSTG_updateCameraShots(), FIGHTSTG_updateCameraTurn(), FIGHTSTG_updateDigimonChange(), FIGHTSTG_updateEntrance(), FIGHTSTG_updateFace(), FIGHTSTG_updateHitEffect(), FIGHTSTG_updateHpTweens(), FIGHTSTG_updateLights(), FIGHTSTG_updatePartnerView(), FIGHTSTG_updateShotCamera(), FIGHTSTG_updateSpriteAnim(), FIGHTSTG_updateSwitchMenu(), FIGHTSTG_updateWhiteFlash(), findOldestFile(), flyToDest(), hidePile(), hidePlays(), hideSlots(), isFileLoading(), isOnScreen(), isOnScreen2(), loadFile(), main(), moveDisplay(), moveWanderer(), moveWanderPair(), prepareStageModel(), readPadButtons(), requestFile(), resetGraphics(), returnToBattle(), runGauge(), runStopSlide(), runUsed(), setChangeClips(), setUpFieldScreen(), showPile(), showPlays(), showSlots(), slidePanelIn(), slidePanelOut(), SOUNDTST_updateSoundTest(), spinView(), spinViewBack(), spriteDrawerDraw(), spriteDrawerSetLayerId(), STAGSLCT_startStageSelect(), STCRDABM_drawAlbum(), STCRDABM_updateGrid(), STCRDDEK_drawEditor(), STCRDDEK_drawScreen(), STCRDDEK_stepEditor(), STCRDSHP_drawBuy(), STCRDSHP_drawPackOpen(), STCRDSHP_updateGrid(), STDGNAME_drawMenu(), STDGNAME_updateScene(), STDWTITL_drawEdgeFade(), STDWTITL_stepTitle(), STDWTITL_tickMovie(), STDWTITL_tickMoviePlayer(), STDWTITL_tickScreen(), STDWTITL_tickSplash(), STDWTITL_tickSplashLoader(), stepAnimation(), stepAnimation2(), stepAnimationOnce(), stepAnimationOnce(), stepFallBody(), stepFieldMenuFade(), stepFloaterPart(), stepHeldAnimation(), stepLoopingAnimation(), stepMoverBody(), stepRiser(), stepTileAnimation(), stepTileAnimation(), stepTileAnimation(), stepTileAnimation2(), stepTileAnimation2(), stepTileAnimation3(), stepTileAnimation4(), stepTileLoop(), stepTileLoopAnimation(), stepTileSequences(), STFGTREP_drawPartner(), STFGTREP_drawReport(), STFGTREP_updateScene(), STGDGLAB_drawEntryList(), STGDGLAB_drawMenu(), STGDGLAB_drawPartyScreen(), STGDGLAB_drawRecipeScreen(), STGMCARD_drawSaves(), STGMCARD_updateInfo(), STGMCARD_updateMenu(), STGMCARD_updatePanel(), STGTRAIN_animatePartner(), STGTRAIN_drawMenu(), STGTRAIN_drawResult(), STGTRAIN_drawScreen(), STGTRAIN_drawSession(), STGTRAIN_updateRoot(), STGTRAIN_updateSprite(), STITSHOP_drawBuy(), STITSHOP_drawItemList(), STITSHOP_drawSell(), STPLNMET_drawChoice(), STPLNMET_drawConfirm(), STPLNMET_updateScene(), STPLNMET_updateScroll(), STPLNMET_updateShine(), STPLNMET_updateSparkles(), STPLNMET_updateWelcome(), STSTATUS_animateItemPortraits(), STSTATUS_animateSortPortraits(), STSTATUS_animateTechPortraits(), STSTATUS_drawCardScreen(), STSTATUS_drawDemoScreen(), STSTATUS_drawDigivolvePanel(), STSTATUS_drawEquipPanel(), STSTATUS_drawItemList(), STSTATUS_drawItemScreen(), STSTATUS_drawMapScreen(), STSTATUS_drawStatusScreen(), STSTATUS_drawTechScreen(), STSTATUS_stepItemCursor(), STSTATUS_stepSortArrow(), STSTATUS_stepSortCursor(), STSTATUS_stepStatusCursor(), STSTATUS_stepTechCursor(), textWindowDraw(), touchMarkedFiles(), turnAroundFighters(), turnInFlight(), updateActorMark(), updateByteAnims(), updateCursor(), updateDarkness(), updateEffect(), updateEvent1602(), updateEvent1604(), updateEvent1616(), updateEvent1618(), updateEvent9015(), updateFaller(), updateFarSprites(), updateFieldMenu(), updateFileCache(), updateFloater(), updateFloaterChain(), updateFlyer(), updateFlyerGate(), updateGlow(), updateHiding(), updateInnMenu(), updateListMenu(), updateMessageBoxFrame(), updateMover(), updateRisers(), updateScene(), updateScrollBar(), updateSpriteField(), updateSpritePair(), updateStageEffect(), updateTileLift(), updateTimer(), updateVibration(), waitPhaseStep(), warpAway(), WFIGHTMN_endBattle(), WFIGHTMN_showWon(), WFIGHTTS_cameraList(), WFIGHTTS_fighterList(), WFIGHTTS_motionList(), WFIGHTTS_stageList(), wipeFromWireframe(), and wipeToWireframe().